Skip to content

Instantly share code, notes, and snippets.

@amiller
Created September 3, 2015 20:39
Show Gist options
  • Save amiller/e86fa22502e54c10678d to your computer and use it in GitHub Desktop.
Save amiller/e86fa22502e54c10678d to your computer and use it in GitHub Desktop.
(badger)amiller@robert2-HPE-490t:~/installing/elements$ ./contrib/sidechain-manipulation.py claim-on-sidechain 2NBv8oAPWByz3zwgg1YoRNnSdkZDVW5U6si 9e22d7add03d6d5cc74677af3e47d269 4128c59edb49da6e3063dcff7a6b08bf8a5cb4953dabfa1540d3a46792c633f8
Redeeming from utxo bbcb5fc6e3c276409a6134fff59866db59f5b43b56601243b265d3dafc647a67:1 (value 20994185.69597788, refund 20994184.69597788)
/home/amiller/installing/elements/contrib/../../alpha-tx -create 'set=withdrawkeys:{"contract": "503253489e22d7add03d6d5cc74677af3e47d269ccce271bb2a68dff62f66eccec3a3b543e62d39f", "txoutproof": "03000000a45fbd45b8a9c86c016e1bef18ec96176499e009743f044da02e020000000000fe4fff54c2f911e012a269c112417eba7ed44a113d45f021bfc8bead12ef10c696d7e755a00a031bd1c47a0008000000040d48c7958edc580f5185d32539ce371e3ba16a8b18802f5da31133187c98d404f833c69267a4d34015faab3d95b45c8abf086b7affdc63306eda49db9ec52841fc9c218cc3bbf8192e768c29800e845650ab1cbc5b44f7b9e80ad54c98601f8280cd4c385bffcee6aaa4b8bd0154cc9ac044ecfa600d1a43ec3227f3baa42d4e011f", "tx": "010000000187d14f0da0327b35e79c0e10d4806a4aca72453ca63eb1476a5476653f342896000000006a473044022071e4935955e1057ecf16a3c9592ccb71a663f562f3385dcd8134585cf026ddf802200d17721f2e3da8a33d00ff87aa9dbb917e79020d19884c288b84329152da86f7012103e7941ad45b4f66db3319ceb321441a20c00863a7b6b1b5e05ab6a15f944f49c6feffffff0200e1f5050000000017a914d838883bccc8931423f3f876087f349e4b05b6b1872083d717000000001976a91484a197b33b7297c61a6083ca648ff90356f34bbf88ac00000000", "nout": 0, "secondScriptPubKey": "OP_DROP 144 OP_LESSTHANOREQUAL", "secondScriptSig": "1", "coinbase": "01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff2703fd64081a4d696e656420627920416e74506f6f6c200065b9cd2055e7d79600000000ed030100ffffffff01e622824a000000001976a9144c5220c58749e5474ec4e5bbb0c2cc0342c6f44488ac00000000"}' in=bbcb5fc6e3c276409a6134fff59866db59f5b43b56601243b265d3dafc647a67:1:20994185.69597788:-1 outscript=1.00000000:"OP_IF 550141 0x204128c59edb49da6e3063dcff7a6b08bf8a5cb4953dabfa1540d3a46792c633f8 0 0 0x149eac001049d5c38ece8996485418421f4a01e2d7 0x2043497fd7f826957108f4a30fd9cec3aeba79972084e90ead01ea330900000000 OP_REORGPROOFVERIFY OP_ELSE 144 OP_NOP3 OP_DROP OP_HASH160 0x14ccce271bb2a68dff62f66eccec3a3b543e62d39f OP_EQUAL OP_ENDIF" outscript=20994184.69597788:"0x2043497fd7f826957108f4a30fd9cec3aeba79972084e90ead01ea330900000000 0x149eac001049d5c38ece8996485418421f4a01e2d7 OP_WITHDRAWPROOFVERIFY" withdrawsign
Traceback (most recent call last):
File "./contrib/sidechain-manipulation.py", line 196, in <module>
txid = sidechain.sendrawtransaction(res_tx)
File "/home/amiller/sandboxes/badger/local/lib/python2.7/site-packages/bitcoinrpc/authproxy.py", line 138, in __call__
raise JSONRPCException(response['error'])
JSONRPCException: -26: 66: insufficient priority
Got the following error from an RPC Call:
{u'message': u'66: insufficient priority', u'code': -26}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment