jooize
November 22, 2015, 11:41pm
#173
Should my_id
in main.py
be changed? Update: Appears so.
python main.py --recipient BXKidrUiYNgRmDeDX61k6CASEJ2HjM8pUF --amount 0.1
Updating address snapshot...
[master 42b9c9a] 1448235967.94
1 file changed, 1 insertion(+), 1 deletion(-)
Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 349 bytes | 0 bytes/s, done.
Total 4 (delta 1), reused 0 (delta 0)
To git@github.com:jooize/flot-operations.git
459d2da..42b9c9a master -> master
Done.
This is your transaction hex:
01000000c0535256011266afa53b463bbd05b71433014115d3e90cc638774189db05a30d8eaf2f77e50100000000ffffffff02e80300000000000017a91426c6f88ca8a0a47b6a015eac69c442b12f715e9f873c0f00000000000017a914f35b24f264597d66ba8c366a5005824bb6a06138870000000042
```
Like this?
Yes. Glad to see it working. “my_id” in main.py isn’t used yet - all settings are in config.py . I’d be surprised if the script couldn’t run without it being changed.
The transaction hex looks right. I haven’t added signing yet; depending on the workflow maybe I should. I’ve signed it:

{
“hex” : “01000000c0535256011266afa53b463bbd05b71433014115d3e90cc638774189db05a30d8eaf2f77e501000000fa00493046022100909aa3b88a39997e621fa760ab54865777c66a1bd7b8b4642de703c5a76ed704022100de44517cbe293fe411aff5ceb72eb55f843e48feb10a190bbe131b9a2a9a6015014cad5321034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff2102a144af74d018501f03d76ead130433335f969772792ec39ce389c8a2341552592103661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c072102547427fc2ea3a0ab9ef70f5e1640ff5112b113f65696948f992bd0770b94257155aeffffffff02e80300000000000017a91426c6f88ca8a0a47b6a015eac69c442b12f715e9f873c0f00000000000017a914f35b24f264597d66ba8c366a5005824bb6a06138870000000042”,
“complete” : false
}
Try to add your signature to my hex. I’m not sure whether you need to also do addmultisignature before signing the transaction.
jooize
November 23, 2015, 12:18am
#175
Alright, I must have changed two things at once.
signrawtransaction 01000000c0535256011266afa53b463bbd05b71433014115d3e90cc638774189db05a30d8eaf2f77e501000000fa00493046022100909aa3b88a39997e621fa760ab54865777c66a1bd7b8b4642de703c5a76ed704022100de44517cbe293fe411aff5ceb72eb55f843e48feb10a190bbe131b9a2a9a6015014cad5321034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff2102a144af74d018501f03d76ead130433335f969772792ec39ce389c8a2341552592103661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c072102547427fc2ea3a0ab9ef70f5e1640ff5112b113f65696948f992bd0770b94257155aeffffffff02e80300000000000017a91426c6f88ca8a0a47b6a015eac69c442b12f715e9f873c0f00000000000017a914f35b24f264597d66ba8c366a5005824bb6a06138870000000042
{
"hex" : "01000000c0535256011266afa53b463bbd05b71433014115d3e90cc638774189db05a30d8eaf2f77e501000000fa00493046022100909aa3b88a39997e621fa760ab54865777c66a1bd7b8b4642de703c5a76ed704022100de44517cbe293fe411aff5ceb72eb55f843e48feb10a190bbe131b9a2a9a6015014cad5321034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff2102a144af74d018501f03d76ead130433335f969772792ec39ce389c8a2341552592103661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c072102547427fc2ea3a0ab9ef70f5e1640ff5112b113f65696948f992bd0770b94257155aeffffffff02e80300000000000017a91426c6f88ca8a0a47b6a015eac69c442b12f715e9f873c0f00000000000017a914f35b24f264597d66ba8c366a5005824bb6a06138870000000042",
"complete" : false
}
addmultisigaddress 3 '["034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff",
"02a144af74d018501f03d76ead130433335f969772792ec39ce389c8a234155259",
"03661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc",
"0234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c07",
"02547427fc2ea3a0ab9ef70f5e1640ff5112b113f65696948f992bd0770b942571"]'
BqyRzFtWXDmjxrYpyJD42MLE5xc8FrB4js
signrawtransaction 01000000c0535256011266afa53b463bbd05b71433014115d3e90cc638774189db05a30d8eaf2f77e501000000fa00493046022100909aa3b88a39997e621fa760ab54865777c66a1bd7b8b4642de703c5a76ed704022100de44517cbe293fe411aff5ceb72eb55f843e48feb10a190bbe131b9a2a9a6015014cad5321034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff2102a144af74d018501f03d76ead130433335f969772792ec39ce389c8a2341552592103661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c072102547427fc2ea3a0ab9ef70f5e1640ff5112b113f65696948f992bd0770b94257155aeffffffff02e80300000000000017a91426c6f88ca8a0a47b6a015eac69c442b12f715e9f873c0f00000000000017a914f35b24f264597d66ba8c366a5005824bb6a06138870000000042
{
"hex" : "01000000c0535256011266afa53b463bbd05b71433014115d3e90cc638774189db05a30d8eaf2f77e501000000fd450100493046022100909aa3b88a39997e621fa760ab54865777c66a1bd7b8b4642de703c5a76ed704022100de44517cbe293fe411aff5ceb72eb55f843e48feb10a190bbe131b9a2a9a60150149304602210095fd894c2b3ab1919b565cdc39325e92953908604ef031490c539031dc9baa2f022100cb1e4da9db1a0b0ce639f84e24dd1b3530c6ddbc3c4ceaea36e271f1fa66da2f01004cad5321034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff2102a144af74d018501f03d76ead130433335f969772792ec39ce389c8a2341552592103661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c072102547427fc2ea3a0ab9ef70f5e1640ff5112b113f65696948f992bd0770b94257155aeffffffff02e80300000000000017a91426c6f88ca8a0a47b6a015eac69c442b12f715e9f873c0f00000000000017a914f35b24f264597d66ba8c366a5005824bb6a06138870000000042",
"complete" : false
}
signrawtransaction 01000000c0535256011266afa53b463bbd05b71433014115d3e90cc638774189db05a30d8eaf2f77e501000000fd450100493046022100909aa3b88a39997e621fa760ab54865777c66a1bd7b8b4642de703c5a76ed704022100de44517cbe293fe411aff5ceb72eb55f843e48feb10a190bbe131b9a2a9a60150149304602210095fd894c2b3ab1919b565cdc39325e92953908604ef031490c539031dc9baa2f022100cb1e4da9db1a0b0ce639f84e24dd1b3530c6ddbc3c4ceaea36e271f1fa66da2f01004cad5321034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff2102a144af74d018501f03d76ead130433335f969772792ec39ce389c8a2341552592103661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c072102547427fc2ea3a0ab9ef70f5e1640ff5112b113f65696948f992bd0770b94257155aeffffffff02e80300000000000017a91426c6f88ca8a0a47b6a015eac69c442b12f715e9f873c0f00000000000017a914f35b24f264597d66ba8c366a5005824bb6a06138870000000042
{
“hex” : “01000000c0535256011266afa53b463bbd05b71433014115d3e90cc638774189db05a30d8eaf2f77e501000000fd8c0100493046022100909aa3b88a39997e621fa760ab54865777c66a1bd7b8b4642de703c5a76ed704022100de44517cbe293fe411aff5ceb72eb55f843e48feb10a190bbe131b9a2a9a60150149304602210095fd894c2b3ab1919b565cdc39325e92953908604ef031490c539031dc9baa2f022100cb1e4da9db1a0b0ce639f84e24dd1b3530c6ddbc3c4ceaea36e271f1fa66da2f014730440220580b8b35332a3ae1b3d6505fbb116fa28afa6937c55384dea8871c43cab65cbd02202d00ab9fc813c5884386d9a11147e29ae6c58d1192a56bdf5fff1acfdba7bba0014cad5321034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff2102a144af74d018501f03d76ead130433335f969772792ec39ce389c8a2341552592103661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c072102547427fc2ea3a0ab9ef70f5e1640ff5112b113f65696948f992bd0770b94257155aeffffffff02e80300000000000017a91426c6f88ca8a0a47b6a015eac69c442b12f715e9f873c0f00000000000017a914f35b24f264597d66ba8c366a5005824bb6a06138870000000042”,
“complete” : true
}
Looks like the first hex is not signed at all. So one needs to addmultisigaddress before using nu/nud to sign the transaction. Thanks for testing.
I’ve updated the scripts. Basically it automatically runs addmultisigaddres at start, so there’s no need to do it manually. Note that I have also split the config file - now only your personal configuration goes into config.py . There’s another file pubconfig.py that contains “shared” configuration is actually published to the git repository.
I just received the 0.1 NBT at BXKidrUiYNgRmDeDX61k6CASEJ2HjM8pUF. Hurrah!
jooize
November 23, 2015, 12:53am
#178
sendrawtransaction 01000000c0535256011266afa53b463bbd05b71433014115d3e90cc638774189db05a30d8eaf2f77e501000000fd8c0100493046022100909aa3b88a39997e621fa760ab54865777c66a1bd7b8b4642de703c5a76ed704022100de44517cbe293fe411aff5ceb72eb55f843e48feb10a190bbe131b9a2a9a60150149304602210095fd894c2b3ab1919b565cdc39325e92953908604ef031490c539031dc9baa2f022100cb1e4da9db1a0b0ce639f84e24dd1b3530c6ddbc3c4ceaea36e271f1fa66da2f014730440220580b8b35332a3ae1b3d6505fbb116fa28afa6937c55384dea8871c43cab65cbd02202d00ab9fc813c5884386d9a11147e29ae6c58d1192a56bdf5fff1acfdba7bba0014cad5321034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff2102a144af74d018501f03d76ead130433335f969772792ec39ce389c8a2341552592103661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c072102547427fc2ea3a0ab9ef70f5e1640ff5112b113f65696948f992bd0770b94257155aeffffffff02e80300000000000017a91426c6f88ca8a0a47b6a015eac69c442b12f715e9f873c0f00000000000017a914f35b24f264597d66ba8c366a5005824bb6a06138870000000042
addab8120e5bebf93f6f5abb8469c255d39ce539a15ae52343a85d813379d4fd
https://svr1.nubitsexplorer.nu/chain/Nubits doesn’t work for me. How do I confirm? Sounds like it worked from somewhere.
Okay, I’ll check it out.
I’ve sent back the 0.1NBT and synced running main.py . The unspent output of the address stored in flot-operations is as expected:
addab8120e5bebf93f6f5abb8469c255d39ce539a15ae52343a85d813379d4fd
0.39
1
61df6e0e5cf8f146caf3f00138f92a576567b2ae6ba6685d841fc44498532abb
0.1
0
The script works! I hope it can also work smoothly for other people. I encourage everyone to try to create a transaction using git-multisig
1 Like
cryptog
November 23, 2015, 1:12am
#181
I ll take a look at git-multisig later on.
Very sorry for the delay.
Below are the details for my pubkey:
“isvalid” : true,
“address” : “BTHxEUf1NKPjsZ7xZEEYySjWs2WAtFfU9u”,
“ismine” : true,
“isscript” : false,
“pubkey” : “03d4580c1bfa5fd3526e03434983e53b35dd6ea2e2fd337e33976245fc09a8f897”,
“iscompressed” : true,
“account” : “”
}
1 Like
Given the current situation it may be better that we use the current address and the 5 signers of that address for the NBT group. You can be in the NSR group; I think you can use this public key for an NSR address or you can create an other NSR address and post the public key. I haven’t yet allowed the script to handle both NSR and NBT at the same time though. Balancing response rates and general availability the NSR group should now be: @dysconnect , @masterofdisaster , @mhps , @cryptog , @Dhume
1 Like
ttutdxh
November 23, 2015, 1:18am
#183
Why bitcoin accepts up to 15 of 15 multisig and NBT only 5? Is there anything in the code I am not aware of?
jooize
November 23, 2015, 1:27am
#185
Are we ready to handle the CCEDK repayments?
We can do that, but let’s wait until the other 3 people each feel comfortable with the whole process.
1 Like
I’m in (3 of 5) … so we have @dysconnect , @woodstockmerkle , and @joozie so far … @ttutdxh and @masterOfDisaster from the provisional FLOT on the BqyRzFtWXDmjxrYpyJD42MLE5xc8FrB4js multisig would need to accept this, right?
Sure. Wait for them to say they’re comfortable with the current tools and arrangments. Also, did you try out git-multisig?
Yes; very neat stuff. Thanks for putting that together – it is going to be a big help for us for sure. I am running it under cygwin64 (python 2.7.10) with good results, including the git pull
1 Like
This is really exciting stuff! I figure that something like blockchaininfo for Nu will really help with adoption. This is one of those things.
ttutdxh
November 23, 2015, 4:10am
#191
mhps
November 23, 2015, 4:12am
#192
I use windows 32 bit for now. Do I need to change the above in pubconfig.py to my addr and pubkey (mine is 020d369ec7d2d055ea2a98087b3fc100847baab8e14fe1c933981805fb570fffb6 ) ?