Blockchain.info

託管輸出在 Blockchain.info 中顯示不正確的目標地址

  • July 9, 2014

我對以下多重簽名交易感興趣

3a0c283c8574205c2cc95cea0e603bfff9087af2ab0360ebd2e98740a3193a18

如果我使用以下命令查詢 bitcoind 以獲取有關它的資訊

$> bitcoind getrawtransaction 3a0c283c8574205c2cc95cea0e603bfff9087af2ab0360ebd2e98740a3193a18 1

然後我看到它的輸出中涉及兩個地址,即

1HT7xU2Ngenf7D4yocz2SAcnNLW7rK8d4E and 1GcFhAQGFZVDAr4jiR2tKwisHcgNUjhGNC.

但是,如果我在位於此處的 blockchain.info 上查找相同的交易雜湊

<https://blockchain.info/tx/3a0c283c8574205c2cc95cea0e603bfff9087af2ab0360ebd2e98740a3193a18>

突然輸出涉及三個地址,即

17YnWEp2vjT1wEgALyy2BApY8CAMr78M7o and 1ADwCr1Ary8KX2i41MhQKL4TgkTRV6p14G and 1GcFhAQGFZVDAr4jiR2tKwisHcgNUjhGNC.

1HT7xU2Ngenf7D4yocz2SAcnNLW7rK8d4E地址去哪了,這兩個新地址又是什麼?對於大多數 blockchain.info 的多重簽名交易,我都注意到了這一點,他們不能正確解析它們嗎?

編輯:這是我執行時得到的輸出

bitcoind getrawtransaction 3a0c283c8574205c2cc95cea0e603bfff9087af2ab0360ebd2e98740a3193a18 1


{
"hex" : "01000000040a8556a2f3a2cc41c36f3ef38b9aa2e6ffa4c48585b45348e4036cf2bc1d04be000000006b483045022100c177dca01b7208feb04497d8948e832af7b12b5b74d1ff07db4a40c3782250b602205211a54941fe741e7220d90eda8ec75bb337b7ad7d8a9b0c40c614b2639cc37701210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641effffffffead663408f58ab33046302dc5cc2236dd263736d2fcf7e2c52d23cc75016a10f000000006b483045022100dc123d788fdc315f71df992a09d2f31237aadee954f0c7ed9ebf6676fde2806c022016f32f64109b92895ad35d6da1ad050fd1313e40092e51e222eed8cb9803277601210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641effffffffab2672da7306b872dacc87769f36bcd3652e7226484291b4994e505418e7e40b000000006c493046022100f4eec08e55254dd3f1803c88b47bf4d0527af7b6d54d3c28300175ab2cf4cde6022100ea58b455294ca78bcca651b4031a0049c4b359834d6face1d87fe39c6ac9914e01210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641effffffffd9a6b76e1a4ceb5287ce147a6da8c8c3c96a70c9f330b7f10d5464db3af9acfc010000006c493046022100ccb7797be4de4e6b890869fed98d2d66bfeb787fc3a10d9da4735688d2c1b3230221009dcff82c291fdb90ac15325a02073e52686addf8b0c25eb28dc8b410e8c3282901210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641effffffff03781e0000000000004751210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e2120434e5452505254590000000a00000000d806c1d5000000039dc87f400000000052ae781e0000000000004751210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e211600000001000000005f5e100003e800000000000000000000000000000000000052ae222d0b00000000001976a914ab34b5c668a8ed435ede840b6f40e3eddb455c6288ac00000000",
"txid" : "3a0c283c8574205c2cc95cea0e603bfff9087af2ab0360ebd2e98740a3193a18",
"version" : 1,
"locktime" : 0,
"vin" : [
   {
       "txid" : "be041dbcf26c03e44853b48585c4a4ffe6a29a8bf33e6fc341cca2f3a256850a",
       "vout" : 0,
       "scriptSig" : {
           "asm" : "3045022100c177dca01b7208feb04497d8948e832af7b12b5b74d1ff07db4a40c3782250b602205211a54941fe741e7220d90eda8ec75bb337b7ad7d8a9b0c40c614b2639cc37701 0336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e",
           "hex" : "483045022100c177dca01b7208feb04497d8948e832af7b12b5b74d1ff07db4a40c3782250b602205211a54941fe741e7220d90eda8ec75bb337b7ad7d8a9b0c40c614b2639cc37701210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e"
       },
       "sequence" : 4294967295
   },
   {
       "txid" : "0fa11650c73cd2522c7ecf2f6d7363d26d23c25cdc02630433ab588f4063d6ea",
       "vout" : 0,
       "scriptSig" : {
           "asm" : "3045022100dc123d788fdc315f71df992a09d2f31237aadee954f0c7ed9ebf6676fde2806c022016f32f64109b92895ad35d6da1ad050fd1313e40092e51e222eed8cb9803277601 0336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e",
           "hex" : "483045022100dc123d788fdc315f71df992a09d2f31237aadee954f0c7ed9ebf6676fde2806c022016f32f64109b92895ad35d6da1ad050fd1313e40092e51e222eed8cb9803277601210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e"
       },
       "sequence" : 4294967295
   },
   {
       "txid" : "0be4e71854504e99b491424826722e65d3bc369f7687ccda72b80673da7226ab",
       "vout" : 0,
       "scriptSig" : {
           "asm" : "3046022100f4eec08e55254dd3f1803c88b47bf4d0527af7b6d54d3c28300175ab2cf4cde6022100ea58b455294ca78bcca651b4031a0049c4b359834d6face1d87fe39c6ac9914e01 0336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e",
           "hex" : "493046022100f4eec08e55254dd3f1803c88b47bf4d0527af7b6d54d3c28300175ab2cf4cde6022100ea58b455294ca78bcca651b4031a0049c4b359834d6face1d87fe39c6ac9914e01210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e"
       },
       "sequence" : 4294967295
   },
   {
       "txid" : "fcacf93adb64540df1b730f3c9706ac9c3c8a86d7a14ce8752eb4c1a6eb7a6d9",
       "vout" : 1,
       "scriptSig" : {
           "asm" : "3046022100ccb7797be4de4e6b890869fed98d2d66bfeb787fc3a10d9da4735688d2c1b3230221009dcff82c291fdb90ac15325a02073e52686addf8b0c25eb28dc8b410e8c3282901 0336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e",
           "hex" : "493046022100ccb7797be4de4e6b890869fed98d2d66bfeb787fc3a10d9da4735688d2c1b3230221009dcff82c291fdb90ac15325a02073e52686addf8b0c25eb28dc8b410e8c3282901210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e"
       },
       "sequence" : 4294967295
   }
],
"vout" : [
   {
       "value" : 0.00007800,
       "n" : 0,
       "scriptPubKey" : {
           "asm" : "1 0336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e 20434e5452505254590000000a00000000d806c1d5000000039dc87f4000000000 2 OP_CHECKMULTISIG",
           "hex" : "51210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e2120434e5452505254590000000a00000000d806c1d5000000039dc87f400000000052ae",
           "reqSigs" : 1,
           "type" : "multisig",
           "addresses" : [
               "1GcFhAQGFZVDAr4jiR2tKwisHcgNUjhGNC",
               "1HT7xU2Ngenf7D4yocz2SAcnNLW7rK8d4E"
           ]
       }
   },
   {
       "value" : 0.00007800,
       "n" : 1,
       "scriptPubKey" : {
           "asm" : "1 0336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e 1600000001000000005f5e100003e8000000000000000000000000000000000000 2 OP_CHECKMULTISIG",
           "hex" : "51210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e211600000001000000005f5e100003e800000000000000000000000000000000000052ae",
           "reqSigs" : 1,
           "type" : "multisig",
           "addresses" : [
               "1GcFhAQGFZVDAr4jiR2tKwisHcgNUjhGNC",
               "1HT7xU2Ngenf7D4yocz2SAcnNLW7rK8d4E"
           ]
       }
   },
   {
       "value" : 0.00732450,
       "n" : 2,
       "scriptPubKey" : {
           "asm" : "OP_DUP OP_HASH160 ab34b5c668a8ed435ede840b6f40e3eddb455c62 OP_EQUALVERIFY OP_CHECKSIG",
           "hex" : "76a914ab34b5c668a8ed435ede840b6f40e3eddb455c6288ac",
           "reqSigs" : 1,
           "type" : "pubkeyhash",
           "addresses" : [
               "1GcFhAQGFZVDAr4jiR2tKwisHcgNUjhGNC"
           ]
       }
   }
],
"blockhash" : "000000000000000010fd711cae1e3069a90e657664872ff019f3544fe78f9284",
"confirmations" : 1166,
"time" : 1404255586,
"blocktime" : 1404255586

}

讓我們仔細看看 <https://blockchain.info/tx/3a0c283c8574205c2cc95cea0e603bfff9087af2ab0360ebd2e98740a3193a18>

輸出#0 是 msig 1-of-2 到 { 0336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e, 20434e5452505254590000000a00000000d806c1d5000000030008

第一個長數字 [0336..641e] 是地址 1GcFhAQGFZVDAr4jiR2tKwisHcgNUjhGNC 的公鑰

第二個 [2043..0000] 根本不是公共地址。bc.i 將其散列到地址 17YnWEp2vjT1wEgALyy2BApY8CAMr78M7o

地址 1HT7xU2Ngenf7D4yocz2SAcnNLW7rK8d4E 是 hash160 ( 0000…0000 ) - 無效的公鑰

在我看來,客戶端將所有無效的公鑰轉換為地址 1HT7xU2Ngenf7D4yocz2SAcnNLW7rK8d4E

看這裡:https ://bitcointalk.org/index.php?topic=8728.msg202068#msg202068

在這裡:http ://code.google.com/p/bitcoinj/issues/detail?id=264

首先,如果您粘貼bitcoind getrawtransaction結果會更容易,如下所示:

{
"hex" : "01000000040a8556a2f3a2cc41c36f3ef38b9aa2e6ffa4c48585b45348e4036cf2bc1d04be000000006b483045022100c177dca01b7208feb04497d8948e832af7b12b5b74d1ff07db4a40c3782250b602205211a54941fe741e7220d90eda8ec75bb337b7ad7d8a9b0c40c614b2639cc37701210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641effffffffead663408f58ab33046302dc5cc2236dd263736d2fcf7e2c52d23cc75016a10f000000006b483045022100dc123d788fdc315f71df992a09d2f31237aadee954f0c7ed9ebf6676fde2806c022016f32f64109b92895ad35d6da1ad050fd1313e40092e51e222eed8cb9803277601210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641effffffffab2672da7306b872dacc87769f36bcd3652e7226484291b4994e505418e7e40b000000006c493046022100f4eec08e55254dd3f1803c88b47bf4d0527af7b6d54d3c28300175ab2cf4cde6022100ea58b455294ca78bcca651b4031a0049c4b359834d6face1d87fe39c6ac9914e01210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641effffffffd9a6b76e1a4ceb5287ce147a6da8c8c3c96a70c9f330b7f10d5464db3af9acfc010000006c493046022100ccb7797be4de4e6b890869fed98d2d66bfeb787fc3a10d9da4735688d2c1b3230221009dcff82c291fdb90ac15325a02073e52686addf8b0c25eb28dc8b410e8c3282901210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641effffffff03781e0000000000004751210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e2120434e5452505254590000000a00000000d806c1d5000000039dc87f400000000052ae781e0000000000004751210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e211600000001000000005f5e100003e800000000000000000000000000000000000052ae222d0b00000000001976a914ab34b5c668a8ed435ede840b6f40e3eddb455c6288ac00000000",
"txid" : "3a0c283c8574205c2cc95cea0e603bfff9087af2ab0360ebd2e98740a3193a18",
"version" : 1,
"locktime" : 0,
"vin" : [
   {
       "txid" : "be041dbcf26c03e44853b48585c4a4ffe6a29a8bf33e6fc341cca2f3a256850a",
       "vout" : 0,
       "scriptSig" : {
           "asm" : "3045022100c177dca01b7208feb04497d8948e832af7b12b5b74d1ff07db4a40c3782250b602205211a54941fe741e7220d90eda8ec75bb337b7ad7d8a9b0c40c614b2639cc37701 0336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e",
           "hex" : "483045022100c177dca01b7208feb04497d8948e832af7b12b5b74d1ff07db4a40c3782250b602205211a54941fe741e7220d90eda8ec75bb337b7ad7d8a9b0c40c614b2639cc37701210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e"
       },
       "sequence" : 4294967295
   },
   {
       "txid" : "0fa11650c73cd2522c7ecf2f6d7363d26d23c25cdc02630433ab588f4063d6ea",
       "vout" : 0,
       "scriptSig" : {
           "asm" : "3045022100dc123d788fdc315f71df992a09d2f31237aadee954f0c7ed9ebf6676fde2806c022016f32f64109b92895ad35d6da1ad050fd1313e40092e51e222eed8cb9803277601 0336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e",
           "hex" : "483045022100dc123d788fdc315f71df992a09d2f31237aadee954f0c7ed9ebf6676fde2806c022016f32f64109b92895ad35d6da1ad050fd1313e40092e51e222eed8cb9803277601210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e"
       },
       "sequence" : 4294967295
   },
   {
       "txid" : "0be4e71854504e99b491424826722e65d3bc369f7687ccda72b80673da7226ab",
       "vout" : 0,
       "scriptSig" : {
           "asm" : "3046022100f4eec08e55254dd3f1803c88b47bf4d0527af7b6d54d3c28300175ab2cf4cde6022100ea58b455294ca78bcca651b4031a0049c4b359834d6face1d87fe39c6ac9914e01 0336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e",
           "hex" : "493046022100f4eec08e55254dd3f1803c88b47bf4d0527af7b6d54d3c28300175ab2cf4cde6022100ea58b455294ca78bcca651b4031a0049c4b359834d6face1d87fe39c6ac9914e01210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e"
       },
       "sequence" : 4294967295
   },
   {
       "txid" : "fcacf93adb64540df1b730f3c9706ac9c3c8a86d7a14ce8752eb4c1a6eb7a6d9",
       "vout" : 1,
       "scriptSig" : {
           "asm" : "3046022100ccb7797be4de4e6b890869fed98d2d66bfeb787fc3a10d9da4735688d2c1b3230221009dcff82c291fdb90ac15325a02073e52686addf8b0c25eb28dc8b410e8c3282901 0336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e",
           "hex" : "493046022100ccb7797be4de4e6b890869fed98d2d66bfeb787fc3a10d9da4735688d2c1b3230221009dcff82c291fdb90ac15325a02073e52686addf8b0c25eb28dc8b410e8c3282901210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e"
       },
       "sequence" : 4294967295
   }
],
"vout" : [
   {
       "value" : 0.00007800,
       "n" : 0,
       "scriptPubKey" : {
           "asm" : "1 0336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e 20434e5452505254590000000a00000000d806c1d5000000039dc87f4000000000 2 OP_CHECKMULTISIG",
           "hex" : "51210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e2120434e5452505254590000000a00000000d806c1d5000000039dc87f400000000052ae",
           "reqSigs" : 1,
           "type" : "multisig",
           "addresses" : [
               "1GcFhAQGFZVDAr4jiR2tKwisHcgNUjhGNC",
               "17YnWEp2vjT1wEgALyy2BApY8CAMr78M7o"
           ]
       }
   },
   {
       "value" : 0.00007800,
       "n" : 1,
       "scriptPubKey" : {
           "asm" : "1 0336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e 1600000001000000005f5e100003e8000000000000000000000000000000000000 2 OP_CHECKMULTISIG",
           "hex" : "51210336aa4df526a776e2b72512bb65d8ad5c661360cc1de2ffe460b618c0bba6641e211600000001000000005f5e100003e800000000000000000000000000000000000052ae",
           "reqSigs" : 1,
           "type" : "multisig",
           "addresses" : [
               "1GcFhAQGFZVDAr4jiR2tKwisHcgNUjhGNC",
               "1ADwCr1Ary8KX2i41MhQKL4TgkTRV6p14G"
           ]
       }
   },
   {
       "value" : 0.00732450,
       "n" : 2,
       "scriptPubKey" : {
           "asm" : "OP_DUP OP_HASH160 ab34b5c668a8ed435ede840b6f40e3eddb455c62 OP_EQUALVERIFY OP_CHECKSIG",
           "hex" : "76a914ab34b5c668a8ed435ede840b6f40e3eddb455c6288ac",
           "reqSigs" : 1,
           "type" : "pubkeyhash",
           "addresses" : [
               "1GcFhAQGFZVDAr4jiR2tKwisHcgNUjhGNC"
           ]
       }
   }
],
"blockhash" : "000000000000000010fd711cae1e3069a90e657664872ff019f3544fe78f9284",
"confirmations" : 1100,
"time" : 1404255586,
"blocktime" : 1404255586

}

在上面的輸出中,有三個輸出似乎與 blockchain.info 一致。Biteasy.com 也報告了同樣的結果

你確定你執行的是最新的 bitcoind 嗎?

引用自:https://bitcoin.stackexchange.com/questions/28377