Skip to content

Instantly share code, notes, and snippets.

@priestc
Created August 8, 2017 08:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save priestc/09c945cad4ebeaa3f8a35deed1f5a4af to your computer and use it in GitHub Desktop.
Save priestc/09c945cad4ebeaa3f8a35deed1f5a4af to your computer and use it in GitHub Desktop.
$ moneywagon network-replay btc bch latest --verbose
Getting latest BTC block
* Trying: <Service: BitpayInsight (0 in cache)> btc
Got Response: https://insight.bitpay.com/api/status?q=getLastBlockHash
Got Response: https://insight.bitpay.com/api/block/000000000000000000e3e8cb2e4d6f8a1dc9f777c5502e0161440710adfb7c67
Latest BTC block is #479634
Using BlockDozer for pushing to BCH
Using LocalBitcoinsChain (Insight) for getting BTC transactions
Finished getting block header, 844 transactions in block, will replay 5
Got Response: https://localbitcoinschain.com/api/tx/d52024681d7837b9d22719982dc3ea542638f29cf468536339c12e6f29f51bf5
Got Response: https://localbitcoinschain.com/api/tx/cf7e2879d7cb36c08b3f5e46d09d5c8eef2ad70ab5a5241b5308425960d202e6
got tx 1 of 844
Got Response: http://blockdozer.com/insight-api/tx/send
Result of push: failure 64: non-mandatory-script-verify-flag (Signature must use SIGHASH_FORKID). Code:-26
Got Response: https://localbitcoinschain.com/api/tx/428d0267d90699fa26c8d4ac42658acaafbaea2992623fe03696682b8454d637
got tx 2 of 844
Got Response: http://blockdozer.com/insight-api/tx/send
Result of push: failure 64: bad-txns-nonfinal. Code:-26
Got Response: https://localbitcoinschain.com/api/tx/af346732b20d781a8fbf97eaeced948772bbcf763e4f55390b6db2069f4b04cd
got tx 3 of 844
Got Response: http://blockdozer.com/insight-api/tx/send
Result of push: failure Missing inputs. Code:-25
Got Response: https://localbitcoinschain.com/api/tx/425d13673c0f750d52441b64bbe5ce22fb59351e6c8773625ed2840e5dc99cd1
got tx 4 of 844
Got Response: http://blockdozer.com/insight-api/tx/send
Result of push: failure Missing inputs. Code:-25
All 4 replay attempts failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment