0
Given the transaction below, how can I -
- Identify this tx involves multisig
- What tool/s can I then use to calculate the resulting multisig address
The second HEX address 9d07acef34e0ad5a54f92aae65f49e2f3a24dd39 is easy enough - Base58Check converts it to 1FKJHRVHmyvjDfVbPuBW9e1tdCgt2XWtCb. I can follow the technical background for standard addresses at https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses
To calculate the multisig address I can use bitcoind to decode the raw tx:
./bitcoind decoderawtransaction 010000000147759651f76ec0dbc7c248337d791afa7363636da4af0006fbafb77b9ac8214f070000008b483045022100b980b3bf9b20d1dc98a6cc8c76e19c67c9c24a23fc44a3f6baf1020fb7b6b9ce022029bd5fda88553f1dac92b12c404f65cd2ed97b481244d45558129698e43595ce0141040ab4a6619b82e1555f6c3ac9bd9b62c17433f3fb502d054dce9474ae6639777454b2509aae137c9048adb8491d28710c785b86aee766110d6aa0bcd3b07860a9ffffffff02a08601000000000017a914f815b036d9bbbce5e9f2a00abd1bf3dc91e9551087d0e89600000000001976a9149d07acef34e0ad5a54f92aae65f49e2f3a24dd3988ac00000000
"vout" : [
{
"value" : 0.00100000,
"n" : 0,
"scriptPubKey" : {
"asm" : "OP_HASH160 f815b036d9bbbce5e9f2a00abd1bf3dc91e95510 OP_EQUAL",
"hex" : "a914f815b036d9bbbce5e9f2a00abd1bf3dc91e9551087",
"reqSigs" : 1,
"type" : "scripthash",
"addresses" : [
"3QJmV3qfvL9SuYo34YihAf3sRCW3qSinyC"
]
But this took over 6 seconds to complete.
Is there an easier/quicker to simply calculate a multisig address?
The raw tx:
{
"value":"0.00100000",
"scriptPubKey":"OP_HASH160 f815b036d9bbbce5e9f2a00abd1bf3dc91e95510 OP_EQUAL"
},
{
"value":"0.09890000",
"scriptPubKey":"OP_DUP OP_HASH160 9d07acef34e0ad5a54f92aae65f49e2f3a24dd39
"it is p2sh script -
OP_HASH160 f815b036d9bbbce5e9f2a00abd1bf3dc91e95510 OP_EQUALconvert these 20 bytes to p2sh address and you will get3QJmV3qfvL9SuYo34YihAf3sRCW3qSinyC" – Sorry, I do not follow you? How do I convertf815b036d9bbbce5e9f2a00abd1bf3dc91e95510to3QJmV3qfvL9SuYo34YihAf3sRCW3qSinyC? A standard address isBase58Check(f815b036d9bbbce5e9f2a00abd1bf3dc91e95510).. What is the process to convertf815b036d9bbbce5e9f2a00abd1bf3dc91e95510to3QJmV3qfvL9SuYo34YihAf3sRCW3qSinyCwithout using bitcoind ? – None – 2014-08-08T14:03:28.843OK, let me continue with another answer. I need text formatting – amaclin – 2014-08-08T15:15:31.897