c5 01:BTC交易标准分类(对比说明) 2024-05-07 05:01:55 0 0 字段 P2PK P2PKH MN P2SH P2WPKH P2WSH P2SH-P2WPKH P2SH-P2WSHOP_RETURNscriptPubKey[PK]OP_CHECKSIGOP_DUP OP_HASH160[0×14][PKHash]OP_EQUALVERIFY OP_CHECKSIG M [PK1][PK...] NOP_CHECKMULTISIG OP_HASH160[Hash160(redeemScript)] OP_EQUAL [0x00] [0x14][Hash160(PK)] 0x00: 版本号 [0x00] [0x20][SHA256(witnessScript)] 0x00: 版本号OP_HASH160[Hash160(redeemScript)]OP_EQUALOP_HASH160[Hash160(redeemScript)]OP_EQUALOP_RETURN<0 to 40 bytes of data>scriptSig[sig][sig1][PK1] OP_0 [sig1][sig2] OP_2 [PK1 PK2 PK3 ] OP_3OP_CHECKMULTISIG OP_0 [sig1][sig..] [redeemScript]无无 0x16[reedemScript] 前缀:160014 0x22[reedemScript] 前缀:220020无redeemScript无无无 OP_2 [PK1][PK2][PK3] OP_3 OP_CHECKMULTISIG无无[0x00][0x14][Hash160(PK)][0x00][0x20][Hash256(WitnessScript)]无WitnessScript无无无无无 OP_2 [PK1][PK2][PK3] OP_3 OP_CHECKMULTISIG无 OP_2 [PK1][PK2][PK3] OP_3 OP_CHECKMULTISIG无Witness无无无无[sig][PK]{[sig1] [sig2]} [witnessScript][sig][PK]{[sig1] [sig2]} [witnessScript]无 地址类型legacy类型实际上就是取公钥或脚本的HASH160值得到20位字节地址bech32p2sh-segwit 无 P2SH 地址是基于Base58 编码的一个含有20 个字节哈希的脚本。P2SH 地址采用“5”前缀。这导致基于Base58 编码的地以“3”开头。P2SH 地址隐藏了所有的复杂性,因此,运用其进行支付的人将不会看到脚本。 [bc][1] bech32( [1-byte witnessProgram version] [20-byte-hash] ) P2WPKH地址: 脚本做HASH160得到20位的地址, 经过Bech32编码后显示 [bc][1] bech32( [1-byte witnessProgram version] [32-byte-hash] ) P2WSH地址: 脚本做HASH256得到到32位的地址, 经过Bech32编码后显示满足旧钱包的需求,将P2WPKH或P2WSH对应的锁定脚本转换到普通的P2SH地址格式。 交易格式[nVersion] [nInputCount] [txInputs] [nOutputCount] [txOutputs] [nLockTime] [nVersion] [marker] [flag] [nInputCount] [txins] [nOutputCount] [txouts] [witness] [nLockTime] P2PKH地址生成 1. 前导字节(1个字节):prefix = 0×00,表示这是一个P2PKH地址; 2. 公钥的哈希值(20字节):用hash160算法——RIPEMD160(sha256(公钥)),将公钥转换为一个20字节的数据; 3. 校验码(4个字节):用hash256算法——SHA256(SHA256([0x00] [20字节的哈希值] )),取前4个字节作为校验码; 4. 生成文本格式的地址:用Base58编码由前三步所得到的25个字节的数据。 由于前导字节为0×00,生成的地址首字母为字符“1” P2SH地址生成 1. 前导字节(1个字节):prefix = 0×05,表示这是一个P2SH地址; 2.合同脚本的哈希值(20字节):用hash160算法——RIPEMD160(sha256(合同脚本)),生成一个20字节的数据; 3. 校验码(4个字节):用hash256算法——SHA256(SHA256([0x00] [20字节的哈希值] )),取前4个字节作为校验码; 4. 生成文本格式的地址:用Base58编码由前三步所得到的25个字节的数据。 由于前导字节为0×05,生成的地址首字母为字符“3“ ###################################################################################### p2pkh + p2pkh > p2sh + P2PKH https://www.blockchain.com/btc/tx/0387d66f2e20ccc39148081c3f853b51970c28f6558356698a2ec565c89cee25 01000000===>version 02===>inputcount 3d3301820b4be9b3d1ee22e061135fdd05c2dfce723db6223bd0144ee5165589===>pretxid 00000000===>preoutputindex 6a===>scriptsiglen(106) 47===>signaturelen(71) 30440220028a0df440492b8c91d4f6d3fc9056d4fd4b4f1480e0189c328cef3f6cec2c32022070631fecffde0ee3827acc63037fcc25d7672fa540c7a2fc97655d7b173dcdb501===>signature(142) 21===>pubkeylen(33) 024d1a832eaea75a1d336ad8b904ad65f5ae992d951e51074c2ea9c38eca24eb20===>pubkey(66) ffffffff===>sequence b658d5994184e64dfb933f5625328b742b3cdf8418279094cc05df416ba692f8===>pretxid 01000000===>preoutputindex 6a===>scriptsiglen(106) 47===>signaturelen(71) 3044022029975e0849568d4ae6080262e358049b1c36785dd4e56417faaa7aa332d583d7022058e596e0c59a4e511ee9dd506afb501b1d9a1724b9ccc0764d74d16cd915cc2a01===>signature(142) 21===>pubkeyLen(33) 03202c81b4e198114c09cffa9750b0a131a76efe2d23bee69b1d49377596f97fd5===>pubkey(66) ffffffff===>nsequence 02===>outputcount 1027000000000000===>0000000000002710===>amount 10000 17===>scriptPubKeylen(23)p2sh a9===>0xa9===>OP_HASH160 14===>hashlen(20) 12d1dd404945bb218dc52b82181a575a000587bc===>脚本hash 87===>OP_EQUAL 5c12000000000000===>000000000000125c===>amount 4700 19===>scriptPubKeylen(25)P2PKH 76===>0x76===>OP_DUP a9===>0xa9===>OP_HASH160 14===>hashlen(20) 85f3caaa2a1ffa76af81524d95681014efb7e72c===>pubkeyhash 88===>0x88===>OP_EQUALVERIFY ac===>0xac===>OP_CHECKSIG 00000000===>nlocktime ************************************************************************************ p2pkh > P2PKH + p2sh-p2wpkh https://www.blockchain.com/btc/tx/a204ce5d4aac73b4cc9d100a1fc0d1b50d7d4ca2a1b78a54b126556866a02088 01000000===>version 01===>inputcount 8f4375a6e1a00c5293b5781fc3bdd816b59231017853c836591b2e6ee54ad2e5===>pretxid 00000000===>preoutputindex 6a===>scriptsiglen(106) 47===>signaturelen(71) 30440220308b9bec170a3cdbad78866b41831633ed2f8c0fcdce20c8a94d81c2d10370b0022027002c27be44ca5adba979825ee429cd50cc80e16589f22629c8999d34acc02a01===>signature(142) 21===>pubkeyLen(33) 039840a6182e19ab2cc045d0d6111c5f8048371caf3f080a164793e46aadacd60b===>pubkey(66) ffffffff===>nsequence 02===>outputcount b882010000000000===>00000000000182b8===>amount 99000 19===>scriptPubKeylen(25)P2PKH 76a9===>OP_DUP OP_HASH160 14===>hashlen(20) 83681c13c332727eb129a1ca3bab817fbd08d0db===>pubkeyhash 88ac ===>OP_EQUALVERIFY OP_CHECKSIG 204e000000000000===>0000000000004e20===>20000 17===>scriptPubKeylen(23) p2sh-p2wpkh a9 ====>OP_HASH160 14===>hashlen(20) b3f6ce14c828bfce28d557e33073a2349c55c2e3===>脚本hash 87===>OP_EQUAL 00000000===>nlocktime ************************************************************************************ p2sh 2-2> p2sh https://www.blockchain.com/btc/tx/f91de4dae35051dbbb13877c0b6f7c58d8393a4a650153793e7d2794b4d59c77 01000000===>version 01===>inputcount b0dddaf47cc700de07841a4151b56a603988c35dfba6f191fceb21446a1dd416===>pretxid 00000000===>preoutputindex d9===> (217)sciptsiglen 00 ===>OP_0 47===>(siglen)71 3044022048cba9831c66b3bc834b68755be2c029803afb68e71983f4e98b73e0cb6824670220401cd114a69b090caa6ec61a84b98d1514b7b65d67f788cc99b84392dd2bcb7401 ===>signature1 47===>(siglen)71 304402205df614e9c3f69ab08b6503d377e77d6b1aabdd99e9ecaacfe61e314c8705008b02206e7701ff5e97f003449a7c616e491df9123e6515c7b602431feae9a74e846ef101 ===>signature2 47===>(siglen)71 52===>OP_2 21===>pubkeyLen(33) 038e029112e16f72709a1a36181c4aaf8dcd7cf27a6cb080e034929036aaa5c184===>pubkey1 21===>pubkeyLen(33) 03c3d8e2e3f65542061e406df1d96540767d1d4dd156d4a31a1ef09148e2f77f1d===>pubkey2 52===>OP_2 ae ===>OP_CHECKMULTISIG ffffffff===>nsequence 01===>noutputcount dcfc0d0000000000===>0dfcdc=>916700 amount 17===>scriptPubKeylen(23) a9===>OP_HASH160p2sh 14===>hashLen 5cfcbf4147ff981a619ccbf8d4a3985661556cac===>脚本hash 87===> OP_EQUAL 00000000 ===>nlockTime ************************************************************************************ p2pkh > p2pkh + p2wpkh https://www.blockchain.com/btc/tx/6b19d2b4c9d7e0dc177077fcdd23c5a224a14246a4f728ea3244a08969b41385 01000000===>version 01===>inputcount fda91bb9d6228e3f031d75ccc572aade63f1d78b3b5ee1c59ba0979128302cc6===>pretxid 01000000===>preoutputindex 6a===>scriptsiglen(106) 47===>signaturelen(71) 3044022001f544108db36d891bbbd1c4929d0f61acfc74154164bc296d7a5d980d2c9bce02201106bc7129a4771a2daf2ed8d6ef71099e465822ace51cffae04243b8df4e75001===>signature(142) 21===>pubkeyLen(33) 03d183703d69af045fbfdda5d2a1ac5926ed4f6af649c9e0a1ee89ff90b6c34167===>pubkey(66) ffffffff===>nsequence 02===>outputcount 3844010000000000===>0000000000014438===>amount===>83000 19===>scriptPubKeylen(25)p2pkh 76a9===>OP_DUP OP_HASH160 14===>hashlen(20) 50a6b931aede381a95e6e02914047615230bd755===>pubkeyhash 88ac===>OP_EQUALVERIFY OP_CHECKSIG 1027000000000000===>0000000000002710===>amount===>10000 16===>scriptPubKeylen(22)p2wpkh 00===>版本号 14===>hashlen 14 表示p2wpkh 如20 则是p2wsh 4bab300b8271d82d7307370483b624689b3eb841===>pubkeyhash 00000000===>nlocktime *********************************************************************************** p2sh-p2wpkh > p2sh https://www.blockchain.com/btc/tx/6bd79e09723822ed7ce7c0e3a1db15eda4f4ce8879724381aad916715628f9cd 01000000===>version 00===>marker 01===>flag 01===>inputcount 8820a066685526b1548ab7a1a24c7d0db5d1c01f0a109dccb473ac4a5dce04a2===>pretxid 01000000===>preoutputindex 17===>scriptsiglen(23) 16===>signaturelen(22)P2SH-P2WPKH 160014 0014====> version hashlen 4bab300b8271d82d7307370483b624689b3eb841 ===>signature ffffffff===>nsequence 01===>outputcount 973a000000000000===>0000000000003a97===>amount 14999 17===>scriptPubKeylen(23) a9===>OP_HASH160p2sh 14===>hashlen(20) c4c07e44fa1b08cbd6ba4c8ae1b860ac50172f9f===>脚本yhash 87===>OP_EQUAL 02===>下一个操作码字节是要压入堆栈的数据 (0x01-0x4b) p2sh-p2wpkh 的witness sig pubkey 47===>(siglen)71 304402202beefaa0949a04e434e3d7566a51bc09413c592290b5bfe09ba78e11cf9f98a3022026fcd4b815723a54c5ec53dba0189f54578b4fef1fbc07aa6632cf1ad9922ab401===>signature1 21===>pubkeyLen(33) 039840a6182e19ab2cc045d0d6111c5f8048371caf3f080a164793e46aadacd60b===>pubkey 00000000===>nlocktime *********************************************************************************** p2wpkh > p2pkh https://www.blockchain.com/btc/tx/85b1df79a1903be8ea97da3eea169985e209727a0146d74af13343190e3de36d 01000000===>version 00===>marker 01===>flag 01===>inputcount 8513b46989a04432ea28f7a44642a124a2c523ddfc777017dce0d7c9b4d2196b===>pretxid 01000000===>preoutputindex 00===>占位符 ffffffff===>nsequence 01===>outputcount 8813000000000000===>0000000000001388===>amount 5000 19===>scriptPubKeylen(25) 76a9===>OP_DUP OP_HASH160 p2pkh 14===>hashlen(20) 50a6b931aede381a95e6e02914047615230bd755===>pubkeyhash 88ac===OP_EQUALVERIFY OP_CHECKSIG 02====????? 下一个操作码字节是要压入堆栈的数据0x01-0x4b 压栈 2 p2wpkh 的witness sig pubkey 48===>siglen 3045022100e3a93d276ac0c2e13d87413d3fa1a3108d9d29c8ceb187483b6870be974a4af80220490239f015dc875dfcdafefd47280919cbb2d9488f833b31db806d6fc9fa77e501===>signature 21===>pubkeyLen(33) 039840a6182e19ab2cc045d0d6111c5f8048371caf3f080a164793e46aadacd60b===>pubkey(66) 00000000===>nlocktime *********************************************************************************** p2sh 2-3 > p2sh-p2wsh 2-3 https://www.blockchain.com/btc/tx/b379d53a0c1400ecf5cf7e311b1f9543052611d9f643ca69e4716307de65ac19 01000000===>version 02===>inputcount cdf928567116d9aa8143727988cef4a4ed15dba1e3c0e77ced223872099ed76b===>pretxid 00000000===>preoutputindex fd fe 00 OP_PUBKEYHASH OP_PUBKEY OP_0 00 OP_0 48===>signaturelen 72 304502210090bb7d02554e1863b84a402c601e2eb367abbe8eb69072bfd50db79deaa5f7160220632a0ef64e34a1c845dfd7c337b05509b19eec2d84d1ff30a1195c155fdd036b01===>signature 48===>signaturelen 72 30450221009b5438b2246c23600b68708366190e48b6d4ac5c2712b91c3c2796a998bd0966022012fc4c129e135e2af4dfe9b20e8511a65444e2d6b7e20d206b4415084276ca6201===>signature 4c===>OP_PUSHDATA1 69===>OP_VERIFY 52===>OP_2 21===>pubkeyLen(33) 038e029112e16f72709a1a36181c4aaf8dcd7cf27a6cb080e034929036aaa5c184===>pubkey1 21===>pubkeyLen(33) 039db82fe6ea21f2313bf5d30a6f025cc063ad8f3d51991f48b32e745d35d57fbe===>pubkey2 21===>pubkeyLen(33) 03c3d8e2e3f65542061e406df1d96540767d1d4dd156d4a31a1ef09148e2f77f1d===>pubkey3 53===>OP_3 ae===>OP_CHECKMULTISIG ffffffff===>nsequence 99ce3d27f8012f73b92a03cdff7552212626572f44ba604483b169427fab4ff0===>pretxid 00000000===>preoutputindex fdfd0000===>OP_PUBKEYHASH OP_PUBKEYHASH OP_0 48===>signaturelen(72) 3045022100c45121a811b477f07d3a70544eb485996ac998996ba6fcf6ca06c2ef78de11b7022049cbf9f8e82499c9d51be6f738a81975bac96bb56183d2b26d78a9015351ca1901===>signature 47===>signaturelen(70) 304402201d8b25d0970f1a49c04dd758242d25b49d13ff1da4fc306e9dce0b3d9b53e285022000eeec25eb8b59a88c6897ea3cc44aee2387e74e7d3b4babe11590d2a508d97e01===>signature 4c===>OP_PUSHDATA1 69===>OP_VERIFY 52===>OP_2 21===>pubkeyLen(33) 038e029112e16f72709a1a36181c4aaf8dcd7cf27a6cb080e034929036aaa5c184===>pubkey1 21===>pubkeyLen(33) 039db82fe6ea21f2313bf5d30a6f025cc063ad8f3d51991f48b32e745d35d57fbe===>pubkey2 21===>pubkeyLen(33) 03c3d8e2e3f65542061e406df1d96540767d1d4dd156d4a31a1ef09148e2f77f1d===>pubkey3 53===>OP_3 ae===>OP_CHECKMULTISIG ffffffff===>nsequence 02===>outputcount 3abb060000000000===>000000000006bb3a===>amount 441146 17===>scriptPubKeylen(23) a9===>OP_HASH160p2sh-p2wsh 14===>14 hashlen dc7d1b734292f4c97ee0ce87b998b4b778a23fd1===>脚本hash 87===>OP_EQUAL 1027000000000000===>0000000000002710===>amount 10000 17===>scriptPubKeylen(23) a9===>OP_HASH160p2sh-p2wsh 14===>14 hashlen f380dc6ef806f30e19c913e742ce43fb49a918bf===>脚本hash 87===>OP_EQUAL 00000000===>nlocktime *********************************************************************************** p2pkh > p2pkh p2sh-P2WSH https://www.blockchain.com/btc/tx/6865be451753d41b1d2f886ef09a39ebe641b11c41b16939ee9fb80c2851146c 01000000===>version 01===>inputcount ba349c5b437dc8cb78c32e8ad64b46dfa41bbd3a34a1a1c6346fcdab76b85a31===>pretxid 01000000===>preoutputindex 6b===>sciptsiglen 48===>siglen 3045022100fe14a48c150c21fd30295c518f30fedbbe95ed46cb2022fe0a066b0bb79319f10220439e426f16ca0e7933681b38c39c56346e2650bcad2b751a0e2ade3b1debcbba01===>signature 21===>pubkeyLen(33) 02f3b5faba84ae1c50ecf2d08f3f5a64f0202e28eef69095ae1ca8fa97bad3dd94===>pubkey(66) ffffffff===>nsequence 02===>outputcount b81e010000000000===>00000000011eb8===>amount 73400 19===>scriptPubKeylen(25) 76a9===>OP_DUP OP_HASH160p2pkh 14===>14 hashlen da68e0a6b30959befa7b6955cfbfbd6ee34b6e2b ===>pubkeyhash 88ac===>OP_EQUALVERIFY OP_CHECKSIG 973a000000000000===>0000000000003a97===>amount 14999 17===>scriptPubKeylen(23) a9===>OP_HASH160p2sh-P2WSH 14===>14 hashlen 461fd4f240880c6ac98205bdbdd422851dce39df ===>脚本hash 87===OP_EQUAL 00000000===>nlocktime *********************************************************************************** p2sh-p2wsh 2-3 > p2wpkh https://www.blockchain.com/btc/tx/c78616d55a4795385d02f9d6d67bf645006409fdab0fac7a4591c7cdadc64f24 01000000===>version 00===>marker 01===>flag 01===>inputcount 6c1451280cb89fee3969b1411cb141e6eb399af06e882f1d1bd4531745be6568===>pretxid 01000000===>preoutputindex 23===>(siglen)35 p2sh-p2wsh signature 22 00 20 22 +00 +20 + reedemScript 55a1ca8a51c8e7d80f1ac670e7e5f113cb4a2d810970feb0c17bc07ca3941a04===>signature ffffffff===>nsequence 01===>noutputcount 1027000000000000===>output amount 0000000000002710=>10000 16===>22 00===>version0014 p2wpkh 14===>hashlen 4bab300b8271d82d7307370483b624689b3eb841===>pubkeyhash 04===>下一个操作码字节是要压入堆栈的数据(0x01-0x4b)p2sh-p2wsh 的witness 00===>OP_0 48===>(siglen)72 3045022100c8a6c0bfb19eafcfb9f3f11c312967e76bc0ef30c86a7ac0dfc800c5733a62d802207e1ca5443e1e4904ac969034a9c823b8c7494bc72dd6e6063c2fd12c48866c3b01===>signature1 47===>(siglen)71 30440220015d8ff7c8f79807baa50251e1a0741ed3a2c6c1807ec722a2f5defe4a55893c022046f8f1dab2aaaa78b28aaed9e61b9e22961da05fadc4e0c9303b9db65ad432bf01===>signature2 69===>OP_VERIFY 52===>OP_2 21===>pubkeyLen(33) 029aa7b68f41d64c9f2ec356c2fcb8e7c585a3b198a587f49406425d82170c1c06===>pubkey1 21===>pubkeyLen(33) 02ba88a25da8c7c91e2610863aa5057d66e3803f92992a2692c778d11a40ee495b===>pubkey2 21===>pubkeyLen(33) 0374d143314ce5801cabe5931f8e024c4c2f91a40e9b463b99b086bfa2292a9ffa===>pubkey3 53===>OP_3 ae===>OP_CHECKMULTISIG 00000000===>nlockTime *********************************************************************************** P2WPKH > p2pkh https://blockchainprogramming.azurewebsites.net/checktx?txid=954f43dbb30ad8024981c07d1f5eb6c9fd461e2cf1760dd1283f052af746fc88 https://www.blockchain.com/btctest/tx/954f43dbb30ad8024981c07d1f5eb6c9fd461e2cf1760dd1283f052af746fc88 01000000 ===>version 00===>marker 01===>flag 01 ===>inputcount 15e180dc28a2327e687facc33f10f2a20da717e5548406f7ae8b4c811072f856===>pretxid 01000000===>preoutputindex 00===>占位符 P2WPKH sig 空 ffffffff===>nsequence 01===>noutputcount 00b4f50500000000===>output amount 19 ===>scriptPubKeylen(25)p2pkh 76a9 ===>OP_DUP OP_HASH160 14 ===>hashLen 1d7cd6c75c2e86f4cbf98eaed221b30bd9a0b928===>pubkeyHash 88ac ===>OP_EQUALVERIFY OP_CHECKSIG 02===>下一个操作码字节是要压入堆栈的数据(0x01-0x4b) P2WPKH 的witness 48===>(siglen)72 3045022100df7b7e5cda14ddf91290e02ea10786e03eb11ee36ec02dd862fe9a326bbcb7fd02203f5b4496b667e6e281cc654a2da9e4f08660c620a1051337fa8965f727eb191901===>signature 21===>pubkeyLen(33) 038262a6c6cec93c2d3ecd6c6072efea86d02ff8e3328bbd0242b20af3425990ac===>pubkeyHash 00000000===>nlockTime *********************************************************************************** P2PKH>P2PKH + P2WPKH + P2SWH +P2SH + P2SH https://blockchainprogramming.azurewebsites.net/checktx?txid=56f87210814c8baef7068454e517a70da2f2103fc3ac7f687e32a228dc80e115 https://www.blockchain.com/btctest/tx/56f87210814c8baef7068454e517a70da2f2103fc3ac7f687e32a228dc80e115 01000000 ===>version 01 ===>inputcount b0ac96e3731db370c5ca83bad90a427d1687b65bc89fa2aef2ceeb567511e59f===>pretxid 00000000===>preoutputindex 6a===>sciptsiglen 47===>siglen(71) 3044022021483045c74332e0cdf2ba3c46a7ed2abdfd7a04cd3eef79238e394a9285c8c00220536adca2c48231fa8be7fa0a24e75b0f8ecced44967652e89dd19f7fd03617a701===>signature 21===>pubkeyLen(33) 038262a6c6cec93c2d3ecd6c6072efea86d02ff8e3328bbd0242b20af3425990ac===>pubkey ffffffff===>nsequence 05===>noutputcount a8f8c22300000000===>output amount 19 ===>scriptPubKeylen(25) 76a9 ===> OP_DUP OP_HASH160P2PKH 14 ===>hashLen 1d7cd6c75c2e86f4cbf98eaed221b30bd9a0b928 ===>pubkeyHash 88ac ===> OP_EQUALVERIFY OP_CHECKSIG 00e1f50500000000===>output amount 16 ===>scriptPubKeyLen 00 ===>OP_0160014 P2WPKH 14 ===>hashLen 1d7cd6c75c2e86f4cbf98eaed221b30bd9a0b928===>pubkeyHash 00e1f50500000000===>output amount 22 ===>scriptPubKeyLen 00 ===>OP_0220020 P2WSH 20 ===>hashLen 01d5d92effa6ffba3efa379f9830d0f75618b13393827152d26e4309000e88b1===>pubkeyHash 00e1f50500000000===>output amount 17 ===>scriptPubKeyLen a9 ===>OP_HASH160P2SH 14 ===>hashLen 901c8694c03fafd5522810e0330f26e67a8533cd ===>脚本Hash 87 ===>OP_EQUAL 00e1f50500000000===>output amount 17 ===>scriptPubKeyLen a9 ===>OP_HASH160P2SH 14 ===>hashLen 85b9ff0dcb34cf513d6412c6cf4d76d9dc240137 ===>脚本Hash 87 ===>OP_EQUAL 00000000===>nlockTime 参考 https://blog.csdn.net/yinzhiqing/article/details/89948390 https://blog.csdn.net/vohyeah/article/details/80704478 https://blog.csdn.net/sinat_34070003/article/details/79893114 收藏(0)