Author

Topic: version 90200 problems with generation of Multi-Sig (Read 664 times)

newbie
Activity: 14
Merit: 0
Thank you - it is set for the test net - WoW I freaked out.
sr. member
Activity: 318
Merit: 251
The install that's giving you an address with a "2" at the beginning is in testnet mode.

With multisig, testnet addresses begin with "2" (0xC4) and mainnet addresses begin with "3" (0x05).

newbie
Activity: 14
Merit: 0
I am running some test and on version 90200 when creating a new MS address it gives me a 2x address- when I run it on an
older version : 89900 it create a 3x address. - I don't know if this is user error, but something is just not right if it creates a 2x address - the redeemScript is the same so that's OK.

If anyone can help or explain this - thanks

bitcoind createmultisig 2 '["029c7661c3986f58a2d805bf9d6155c08f66d4ef228d12b7d48a187225e0eafe87", "02a6674225077d4c81e7e25199818b953684b5a2e06cca919e37ff6fd74512d2ea", "031d1be1d201f895f3d6e0558345919670a1ba166858360147decd5d920f5d6fcb"]'
{
    "address" : "2N7Y4ZHU3a4YSd7PWNsU28BN88D4wz9N6yT",
    "redeemScript" : "5221029c7661c3986f58a2d805bf9d6155c08f66d4ef228d12b7d48a187225e0eafe872102a6674 225077d4c81e7e25199818b953684b5a2e06cca919e37ff6fd74512d2ea21031d1be1d201f895f3 d6e0558345919670a1ba166858360147decd5d920f5d6fcb53ae"
}
 
 
 bitcoind getinfo
{
    "version" : 90200,
    "protocolversion" : 70002,
    "blocks" : 269899,
    "timeoffset" : 0,
    "connections" : 28,
    "proxy" : "",
    "difficulty" : 91028.39557458,
    "testnet" : true,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00001000,
    "errors" : ""
}
————————————————————————————————
bitcoind createmultisig 2 '["029c7661c3986f58a2d805bf9d6155c08f66d4ef228d12b7d48a187225e0eafe87", "02a6674225077d4c81e7e25199818b953684b5a2e06cca919e37ff6fd74512d2ea", "031d1be1d201f895f3d6e0558345919670a1ba166858360147decd5d920f5d6fcb"]'
{
    "address" : "3FyrVYY1xc36RKkxhjr9WENrurrn8t8PFE",
    "redeemScript" : "5221029c7661c3986f58a2d805bf9d6155c08f66d4ef228d12b7d48a187225e0eafe872102a6674 225077d4c81e7e25199818b953684b5a2e06cca919e37ff6fd74512d2ea21031d1be1d201f895f3 d6e0558345919670a1ba166858360147decd5d920f5d6fcb53ae"
}


 bitcoind getinfo
{
    version : 89900,
    "protocolversion" : 70001,
    "walletversion" : 60000,
    "balance" : 0.01890000,
    "blocks" : 311512,
    "timeoffset" : -1,
    "connections" : 10,
    "proxy" : "",
    "difficulty" : 17336316978.50783157,
    "testnet" : false,
    "keypoololdest" : 1395237817,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "errors" : "This is a pre-release test build - use at your own risk - do not use for mining or merchant applications"
}
Jump to: