Pushing a large signed transaction (testnet) using Python

2

I have been trying to send a signed transaction using pybitcointools (Python) using the blockr_pushtx function, however it consistently returns Exception: {"status":"fail","data":"Could not push your transaction!","code":500,"message":"Did you sign your transaction?"}. The signature isn't the issue. It is likely to be an issue with the size of the transaction.

How does one go about pushing a sizable raw transaction (Testnet, in this case, but both mainnet/testnet answers appreciated) without needing to use Bitcoin Core?

Wizard Of Ozzie

Posted 2015-06-10T06:09:22.567

Reputation: 4 535

Answers

1

Isn't it possible to switch pybitcointools to another service?

Try http://webbtc.com/api/relay The API should be similar (I haven't tested both)

It is also possible to check tx for validity (by send attempt) here: http://webbtc.com/relay_tx

(There are testnet API there, my links are for mainnet)

amaclin

Posted 2015-06-10T06:09:22.567

Reputation: 5 763

Ah, I'd forgotten about webbtc! I'll try it out! It's not pybitcointools causing the issue: I've tried using the blockr pushtx web page with similar results. So it may be a blockr issue.Wizard Of Ozzie 2015-06-10T07:36:13.310

This works FWIWWizard Of Ozzie 2015-06-11T03:32:40.477