• About
  • FAQ
  • Earn Bitcoin while Surfing the net
  • Buy & Sell Crypto on Paxful
Newsletter
Approx Foundation
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
Approx Foundation
No Result
View All Result
Home Bitcoin

bitcoin core development – Raw Transaction decoding fails on signet but decodes fine in BlockCypher decoder

Moussa by Moussa
February 9, 2024
in Bitcoin
0
peer discovery – how to obtain the IP addresses of nodes for mining pools?
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


Type of transaction:
p2wpkh transaction creating a multisig (p2wsh) on signet.

Error:TX must have atleast one inputs.

Output on online decoder

{
    "addresses": [
        "tb1q94nuuw96ye4x3u8hc3nga8g02kzvdknug49ucgmgh70l7yqn29ts56cl57",
        "tb1q6ajhfx4xvscts4m9hhk7ujy0tl3us25wu97pkv"
    ],
    "block_height": -1,
    "block_index": -1,
    "confirmations": 0,
    "double_spend": false,
    "fees": 0,
    "hash": "0fa2e7ac35739d727d1298922906127cdfe04040b98051f06314dc137d319a41",
    "inputs": [
        {
            "age": 0,
            "output_index": 365,
            "prev_hash": "e748d035309c2f7312176789f6fbe77a20582733817ed66b19fc675bfc1c4208",
            "script_type": "empty",
            "sequence": 4294967295
        }
    ],
    "lock_time": 2888877058,
    "outputs": [
        {
            "addresses": [
                "tb1q94nuuw96ye4x3u8hc3nga8g02kzvdknug49ucgmgh70l7yqn29ts56cl57"
            ],
            "script": "00202d67ce38ba266a68f0f7c4668e9d0f5584c6da7c454bcc2368bf9fff10135157",
            "script_type": "pay-to-witness-script-hash",
            "value": 1000000
        },
        {
            "addresses": [
                "tb1q6ajhfx4xvscts4m9hhk7ujy0tl3us25wu97pkv"
            ],
            "script": "0014d765749aa66430b85765bdedee488f5fe3c82a8e",
            "script_type": "pay-to-witness-pubkey-hash",
            "value": 8093449
        }
    ],
    "preference": "low",
    "received": "2024-02-09T10:13:35.159062502Z",
    "relayed_by": "3.235.156.159",
    "size": 202,
    "total": 9093449,
    "ver": 2,
    "vin_sz": 1,
    "vout_sz": 2,
    "vsize": 145
}

Manual decoding

nVersion
02000000

marker
00

flag
01

txin
01
08421cfc5b67fc196bd67e81332758207ae7fbf689671712732f9c3035d048e7 // 32 bytes (txid reversed little endian)
6d010000
00
ffffffff

txout
02
40420f0000000000 
22 00202d67ce38ba266a68f0f7c4668e9d0f5584c6da7c454bcc2368bf9fff10135157 // 34 bytes script  
097f7b0000000000
16 0014d765749aa66430b85765bdedee488f5fe3c82a8e // scriptpubkey for change

witness
02
473045022100a5faff9808555961e9ff213550b365ef86b993e07116fe445f27594f96f8798c022067571f9e0050f6c7e50057dd0e628613dffe1b573f48697019b6aa0fe97d658e01
2102c430ac1cb8ea090e63d171df5502ed5815ba579c6b38dd13e069e96816e4d247

nLocktime
00000000

Output of an accepted transaction

{
    "addresses": [
        "tb1qzeuvnr6u39npxdaxmhhxwwn68w5rplwet350nr",
        "tb1qk3qesjjnpztf2fs3r80haq9uddnw495f96w9tk5mdxyz8htuxu9qcwcurs"
    ],
    "block_height": -1,
    "block_index": -1,
    "confirmations": 0,
    "double_spend": false,
    "fees": 0,
    "hash": "33128f3a32d65c30f5bb4d4c2419f4c4e5c9c601e091c180e17592bda0ad10b3",
    "inputs": [
        {
            "age": 0,
            "output_index": 0,
            "prev_hash": "71e6a41254dc239a285e5cbf5cded15e099e18989b10ee10e23daed9e5fe052f",
            "script_type": "empty",
            "sequence": 4294967295
        }
    ],
    "outputs": [
        {
            "addresses": [
                "tb1qk3qesjjnpztf2fs3r80haq9uddnw495f96w9tk5mdxyz8htuxu9qcwcurs"
            ],
            "script": "0020b441984a53089695261119df7e80bc6b66ea96892e9c55da9b698823dd7c370a",
            "script_type": "pay-to-witness-script-hash",
            "value": 1000000
        },
        {
            "addresses": [
                "tb1qzeuvnr6u39npxdaxmhhxwwn68w5rplwet350nr"
            ],
            "script": "00141678c98f5c89661337a6ddee673a7a3ba830fdd9",
            "script_type": "pay-to-witness-pubkey-hash",
            "value": 888318652
        }
    ],
    "preference": "low",
    "received": "2024-02-09T10:17:43.206930294Z",
    "relayed_by": "18.213.115.114",
    "size": 235,
    "total": 889318652,
    "ver": 2,
    "vin_sz": 1,
    "vout_sz": 2,
    "vsize": 153
}

Raw transaction

0200000000010108421cfc5b67fc196bd67e81332758207ae7fbf689671712732f9c3035d048e76d01000000ffffffff0240420f00000000002200202d67ce38ba266a68f0f7c4668e9d0f5584c6da7c454bcc2368bf9fff10135157097f7b0000000000160014d765749aa66430b85765bdedee488f5fe3c82a8e02473045022100a5faff9808555961e9ff213550b365ef86b993e07116fe445f27594f96f8798c022067571f9e0050f6c7e50057dd0e628613dffe1b573f48697019b6aa0fe97d658e012102c430ac1cb8ea090e63d171df5502ed5815ba579c6b38dd13e069e96816e4d24700000000



Source link

Related articles

Coinbase Adds Ripple’s $2.6B RLUSD Stablecoin Across XRP Ledger and Beyond

Coinbase Adds Ripple’s $2.6B RLUSD Stablecoin Across XRP Ledger and Beyond

October 28, 2026
MARA Sends Another 1,000 BTC to BitGo, Its Fourth Big Transfer in October: Can BTC USD Absorb It?

MARA Sends Another 1,000 BTC to BitGo, Its Fourth Big Transfer in October: Can BTC USD Absorb It?

October 28, 2026
Share76Tweet47

Related Posts

Coinbase Adds Ripple’s $2.6B RLUSD Stablecoin Across XRP Ledger and Beyond

Coinbase Adds Ripple’s $2.6B RLUSD Stablecoin Across XRP Ledger and Beyond

by Moussa
October 28, 2026
0

Key TakeawaysCoinbase added Ripple’s RLUSD across retail, exchange, and Prime, boosting U.S. distribution.RLUSD supports XRP Ledger, Base, and Ethereum and...

MARA Sends Another 1,000 BTC to BitGo, Its Fourth Big Transfer in October: Can BTC USD Absorb It?

MARA Sends Another 1,000 BTC to BitGo, Its Fourth Big Transfer in October: Can BTC USD Absorb It?

by Moussa
October 28, 2026
0

Bitcoin miner MARA Holdings moved another 1,000 BTC, worth about $81 million, to the custodian BitGo early on Wednesday, October...

US Treasury Plans New Crypto Rules After CLARITY Act Setback

US Treasury Plans New Crypto Rules After CLARITY Act Setback

by Moussa
October 28, 2026
0

Trusted Editorial content, reviewed by leading industry experts and seasoned editors. Ad Disclosure The US government isn’t waiting for Congress...

BNY Adds XRP and RLUSD Custody Support as Ripple Partnership Expands

by Moussa
October 28, 2026
0

TL;DR: BNY and Ripple are extending an established reserve-custody relationship into wider digital-asset servicing and possible tokenized trade-finance applications. The...

SoFi Stock (SOFI) Soars 15% As Crypto Hits 503,000 Products

SoFi Stock (SOFI) Soars 15% As Crypto Hits 503,000 Products

by Moussa
October 28, 2026
0

SoFi Technologies reported record third-quarter 2026 results earlier Tuesday, and its crypto business reached 503,070 products by quarter-end. At the...

Load More

youssufi.com

sephina.com

[vc_row full_width="stretch_row" parallax="content-moving" vc_row_background="" background_repeat="no-repeat" background_position="center center" footer_scheme="dark" css=".vc_custom_1517813231908{padding-top: 60px !important;padding-bottom: 30px !important;background-color: #191818 !important;background-position: center;background-repeat: no-repeat !important;background-size: cover !important;}" footer_widget_title_color="#fcbf46" footer_button_bg="#fcb11e"][vc_column width="1/4"]

We bring you the latest in Crypto News

[/vc_column][vc_column width="1/4"][vc_wp_categories]
[/vc_column][vc_column width="1/4"][vc_wp_tagcloud taxonomy="post_tag"][/vc_column][vc_column width="1/4"]

Newsletter

[vc_raw_html]JTNDcCUzRSUzQ2RpdiUyMGNsYXNzJTNEJTIydG5wJTIwdG5wLXN1YnNjcmlwdGlvbiUyMiUzRSUwQSUzQ2Zvcm0lMjBtZXRob2QlM0QlMjJwb3N0JTIyJTIwYWN0aW9uJTNEJTIyaHR0cHMlM0ElMkYlMkZhcHByb3gub3JnJTJGJTNGbmElM0RzJTIyJTNFJTBBJTBBJTNDaW5wdXQlMjB0eXBlJTNEJTIyaGlkZGVuJTIyJTIwbmFtZSUzRCUyMm5sYW5nJTIyJT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UyMnRucC1maWVsZCUyMHRucC1maWVsZC1idXR0b24lMjIlM0UlM0NpbnB1dCUyMGNsYXNzJTNEJTIydG5wLXN1Ym1pdCUyMiUyMHR5cGUlM0QlMjJzdWJtaXQlMjIlMjB2YWx1ZSUzRCUyMlN1YnNjcmliZSUyMiUyMCUzRSUwQSUzQyUyRmRpdiUzRSUwQSUzQyUyRmZvcm0lM0UlMEElM0MlMkZkaXYlM0UlM0NiciUyRiUzRSUzQyUyRnAlM0U=[/vc_raw_html][/vc_column][/vc_row]
No Result
View All Result
  • Contact Us
  • Homepages
  • Business
  • Guide

© 2024 APPROX FOUNDATION - The Crypto Currency News