Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
751"description": "Adds a new input with sequence number to a transaction"752},753{ "exec": "./bitcoin-tx",754"args":755["-json",756"01000000011f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000fdffffff0180a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac00000000",757"in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0:1"],758"output_cmp": "txcreatedata_seq1.json",759"description": "Adds a new input with sequence number to a transaction (output in json)"760},761{ "exec": "./bitcoin-tx",762"args": ["-create", "outmultisig=1:-2:3:02a5:021:02df", "nversion=1"],763"return_code": 1,764"error_txt": "error: invalid multisig required number '-2'",765"description": "Try to parse a multisig number outside the allowed range"766},767{ "exec": "./bitcoin-tx",768"args": ["-create", "outmultisig=1:2:3a:02a5:021:02df", "nversion=1"],769"return_code": 1,770"error_txt": "error: invalid multisig total number '3a'",771"description": "Try to parse a multisig number outside the allowed range"772},773{ "exec": "./bitcoin-tx",774"args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485", "nversion=1"],775"output_cmp": "txcreatemultisig1.hex",776"description": "Creates a new transaction with a single 2-of-3 multisig output"777},778{ "exec": "./bitcoin-tx",779"args": ["-json", "-create", "outmultisig=1: 2 : 3 :02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485", "nversion=1"],780"output_cmp": "txcreatemultisig1.json",781"description": "Creates a new transaction with a single 2-of-3 multisig output (with whitespace, output in json)"782},783{ "exec": "./bitcoin-tx",784"args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:S", "nversion=1"],785"output_cmp": "txcreatemultisig2.hex",786"description": "Creates a new transaction with a single 2-of-3 multisig in a P2SH output"787},788{ "exec": "./bitcoin-tx",789"args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:S", "nversion=1"],790"output_cmp": "txcreatemultisig2.json",791"description": "Creates a new transaction with a single 2-of-3 multisig in a P2SH output (output in json)"792},793{ "exec": "./bitcoin-tx",794"args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:W", "nversion=1"],795"output_cmp": "txcreatemultisig3.hex",796"description": "Creates a new transaction with a single 2-of-3 multisig in a P2WSH output"797},798{ "exec": "./bitcoin-tx",799"args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:W", "nversion=1"],800"output_cmp": "txcreatemultisig3.json",801"description": "Creates a new transaction with a single 2-of-3 multisig in a P2WSH output (output in json)"802},803{ "exec": "./bitcoin-tx",804"args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:WS", "nversion=1"],805"output_cmp": "txcreatemultisig4.hex",806"description": "Creates a new transaction with a single 2-of-3 multisig in a P2WSH output, wrapped in P2SH"807},808{ "exec": "./bitcoin-tx",809"args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:WS", "nversion=1"],810"output_cmp": "txcreatemultisig4.json",811"description": "Creates a new transaction with a single 2-of-3 multisig in a P2WSH output, wrapped in P2SH (output in json)"812},813{ "exec": "./bitcoin-tx",814"args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:047d1368ba7ae01c94bc32293efd70bd7e3be7aa7912d07d0b1c659c1008d179b8642f5fb90f47580feb29f045e216ff5a4716d3a0fed36da414d332046303c44a:S"],815"output_cmp": "txcreatemultisig5.json",816"description": "Uncompressed pubkeys should work just fine for non-witness outputs"817},818{ "exec": "./bitcoin-tx",819"args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:047d1368ba7ae01c94bc32293efd70bd7e3be7aa7912d07d0b1c659c1008d179b8642f5fb90f47580feb29f045e216ff5a4716d3a0fed36da414d332046303c44a:WS"],820"return_code": 1,821"error_txt": "error: Uncompressed pubkeys are not useable for SegWit outputs",822"description": "Ensure adding witness outputs with uncompressed pubkeys fails"823}824]
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.