• 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

Why is this P2WSH spend triggering a verification failure when broadcasting?

Moussa by Moussa
June 26, 2025
in Bitcoin
0
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


I’m experiment with building SegWit transactions manually, and I’ve written a non-standard simple script just for testing. No signing or anything, just your usual "add two numbers, check equality" script. However, when attempting to broadcast it, I get an error.

Related articles

XRP Adoption Expands as Ripple Embeds Digital Asset Capabilities Directly into Enterprise Treasury Platforms – Featured Bitcoin News

XRP Adoption Expands as Ripple Embeds Digital Asset Capabilities Directly into Enterprise Treasury Platforms – Featured Bitcoin News

April 2, 2026
How do Bitcoin mining pools typically handle payout frequency versus thresholds?

backup – Bitcoin Core Offline Reinstallation

April 2, 2026

I already sent the coins to the script, now I’m just trying to spend from it.

Here is my input:

{
  "txid": "174692a9b447d62043b90059c83237b0526bc09551aa39839a1d4fafc29252b7",
  "hash": "27afb30315f82dd64815ef259b7f4075359d42390f549b9a05132d11cf0d5670",
  "version": 2,
  "size": 205,
  "vsize": 154,
  "weight": 616,
  "locktime": 206,
  "vin": [
    {
      "txid": "1e025a8b1af84f4b7f0724b89ed0fc3b0ee6f2e8d1c0b635827edf6f60a0ff9e",
      "vout": 0,
      "scriptSig": {
        "asm": "",
        "hex": ""
      },
      "txinwitness": [
        "2b8aac44cbfe12c56ddfd1ff2a0021c6f9b4e76b0325b44a647365ae9e695044029f6f7eb409baee56803e80e47a643711703795c955a8bdc5a0abc5761902fe"
      ],
      "sequence": 4294967293
    }
  ],
  "vout": [
    {
      "value": 1.00000000,
      "n": 0,
      "scriptPubKey": {
        "asm": "0 8b88aeecc8810057147ae75bb5fef0b88e74cdd69877a0b0d9119cbc0a13bd18",
        "desc": "addr(bcrt1q3wy2amxgsyq9w9r6uadmtlhshz88fnwknpm6pvxezxwtczsnh5vq8ynwca)#88xz032h",
        "hex": "00208b88aeecc8810057147ae75bb5fef0b88e74cdd69877a0b0d9119cbc0a13bd18",
        "address": "bcrt1q3wy2amxgsyq9w9r6uadmtlhshz88fnwknpm6pvxezxwtczsnh5vq8ynwca",
        "type": "witness_v0_scripthash"
      }
    },
    {
      "value": 46.99952700,
      "n": 1,
      "scriptPubKey": {
        "asm": "1 ab0af65a053979dfd08b9673405900f185b6d45edea4dddd5dec9b7ec2eba5fc",
        "desc": "rawtr(ab0af65a053979dfd08b9673405900f185b6d45edea4dddd5dec9b7ec2eba5fc)#utsgce08",
        "hex": "5120ab0af65a053979dfd08b9673405900f185b6d45edea4dddd5dec9b7ec2eba5fc",
        "address": "bcrt1p4v90vks989ual5ytjee5qkgq7xzmd4z7m6jdmh2aajdhasht5h7qx008qn",
        "type": "witness_v1_taproot"
      }
    }
  ]
}

Vout 0 is the output of interest here.

Here is my decoded transaction when I attempt to spend it:

{
  "txid": "0110d9fd63ec46c2b47bc589d2f032d10f288912e4d82c88c8aaa1dfed251909",
  "hash": "08881deca20dc914f14a03d5caf97bd4b7c717ef9047b1a6f70f5deb44eb8545",
  "version": 1,
  "size": 96,
  "vsize": 86,
  "weight": 342,
  "locktime": 0,
  "vin": [
    {
      "txid": "174692a9b447d62043b90059c83237b0526bc09551aa39839a1d4fafc29252b7",
      "vout": 0,
      "scriptSig": {
        "asm": "",
        "hex": ""
      },
      "txinwitness": [
        "63000000",
        "5193016487"
      ],
      "sequence": 0
    }
  ],
  "vout": [
    {
      "value": 0.50000000,
      "n": 0,
      "scriptPubKey": {
        "asm": "0 43620bf89a7acd30cc09914e023cdce377e70828",
        "desc": "addr(bcrt1qgd3qh7y60txnpnqfj98qy0xuudm7wzpgz5c02y)#thrxqf0c",
        "hex": "001443620bf89a7acd30cc09914e023cdce377e70828",
        "address": "bcrt1qgd3qh7y60txnpnqfj98qy0xuudm7wzpgz5c02y",
        "type": "witness_v0_keyhash"
      }
    }
  ]
}

The witness script (5193016487) is 1 OP_ADD 100 OP_EQUAL. The witness stack also has 99 (63000000).

Why do I get this verify error when I attempt to broadcast it?

error code: -26
error message:
non-mandatory-script-verify-flag (unknown error)



Source link

Share76Tweet47

Related Posts

XRP Adoption Expands as Ripple Embeds Digital Asset Capabilities Directly into Enterprise Treasury Platforms – Featured Bitcoin News

XRP Adoption Expands as Ripple Embeds Digital Asset Capabilities Directly into Enterprise Treasury Platforms – Featured Bitcoin News

by Moussa
April 2, 2026
0

XRP Becomes Core Asset In Ripple Treasury Liquidity Strategy A shift in enterprise finance is accelerating as digital assets gain...

How do Bitcoin mining pools typically handle payout frequency versus thresholds?

backup – Bitcoin Core Offline Reinstallation

by Moussa
April 2, 2026
0

if you have tar.gz file do like that to extract files: tar xzf bitcoin-0.14.2-x86_64-linux-gnu.tar.gz install it sudo install -m 0755...

Will The XRP Price Have Better Luck In The Second Quarter Of The Year? Analyst Shares Forecast

Will The XRP Price Have Better Luck In The Second Quarter Of The Year? Analyst Shares Forecast

by Moussa
April 1, 2026
0

Trusted Editorial content, reviewed by leading industry experts and seasoned editors. Ad Disclosure XRP closed Q1 2026 with a 27.1%...

The Bitcoin Bleed Is Almost Over, But Will Price Reach $40,000 Before Bouncing?

The Bitcoin Bleed Is Almost Over, But Will Price Reach $40,000 Before Bouncing?

by Moussa
April 1, 2026
0

Crypto analyst Sykodelic has declared that the Bitcoin bleed is almost over and suggested that BTC is unlikely to drop...

Interactive Brokers Adds Bitcoin Trading In European Economic Area

Interactive Brokers Adds Bitcoin Trading In European Economic Area

by Moussa
April 1, 2026
0

Interactive Brokers has launched crypto trading for eligible retail investors across the European Economic Area, extending its digital asset offering...

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

© 2024 APPROX FOUNDATION - The Crypto Currency News