Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Walletd doesn't automatically retry broadcasting transactions #12

Open
jojkaart opened this issue Oct 26, 2016 · 1 comment
Open

Walletd doesn't automatically retry broadcasting transactions #12

jojkaart opened this issue Oct 26, 2016 · 1 comment

Comments

@jojkaart
Copy link
Contributor

It appears Bitcoinj's walletkit doesn't contain a feature to automatically rebroadcast transactions that don't confirm. This needs to be added.

For the time being, there's an RPC call getrawtransaction that you can use to get the transaction for manual broadcast.

You'll first need the txid for the transaction that didn't broadcast properly.
bitcoin-cli getrawtransaction <txid>
This will return you a long hex-string that is the transaction. If you're running bitcoind somewhere you can use bitcoin-cli sendrawtransaction <hex-encoded-tx> to broadcast it. Walletd itself doesn't support this RPC at the time of this writing though.

If you don't have access to bitcoind, many block explorers, like blockchain.info or insight.bitpay.com also allow you to feed them a raw transaction to broadcast for you, so that's another option.

@kangasbros
Copy link

Having the same issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants