• 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

blockchain – Fix btc transaction’s bad data structure

Moussa by Moussa
February 7, 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


i have problem with my raw bitcoin transaction data structure, and after committing it i get error, some on internet said it’s because of bad implementation of priv key and pub key and some others said it’s because of bad data structure, so i’m checking my data structure with stackoverflow community if it was good to go, i’ll figure out the problem with my signing implementation on my own.

this is the transaction i made and put 10000 satoshi in address bc1qqs5lcmj58lmmfd6ap34xqqfuzfvz02nxjayrjx and i want to send 2500 to my self and 2500 back to the address it came from.

this is the data structure before signing the tx:

01000000
01
14fe532eec4ddc9bfd8686a7234300c24a47c60e437ae26e966a43e47f947def
00000000
16
00140429fc6e543ff7b4b75d0c6a60013c125827aa66
ffffffff

02
c409000000000000
1976a9140429fc6e543ff7b4b75d0c6a60013c125827aa6688ac

c409000000000000
1976a9145951ac8720b1865ba633d19eaa6473afae7c46b388ac
00000000
01000000

and this is the data structure after signing it:

01000000
01
14fe532eec4ddc9bfd8686a7234300c24a47c60e437ae26e966a43e47f947def
00000000
6b48304402206b6fde1ca4cac9873f5f2c08edcdf65b621d4c5f49bf187bcd457e2bccbd4dfd02202002f6f82c98979a79efd54234691fdbda684bd33395d810a077effebb0e910f6f01210280a1bfa268074c9171ed0e30f332706789c5138e1428e92506e671b1997eb874
ffffffff

02c409000000000000
1976a9140429fc6e543ff7b4b75d0c6a60013c125827aa6688ac
c409000000000000
1976a9145951ac8720b1865ba633d19eaa6473afae7c46b388ac
00000000

i get error : “Code: -26, Error: non-mandatory-script-verify-flag (Witness requires empty scriptSig)”

i did research on the error but the anwsers did not help.



Source link

Related articles

Russia Considers Simplified Licensing Path For Bank-Run Crypto Exchanges

Russia Considers Simplified Licensing Path For Bank-Run Crypto Exchanges

March 7, 2026
OKX Introduces Social Trading Platform After $25 Billion Valuation

OKX Introduces Social Trading Platform After $25 Billion Valuation

March 7, 2026
Share76Tweet47

Related Posts

Russia Considers Simplified Licensing Path For Bank-Run Crypto Exchanges

Russia Considers Simplified Licensing Path For Bank-Run Crypto Exchanges

by Moussa
March 7, 2026
0

Russia’s central bank is weighing a plan that would allow banks and brokerage firms to operate cryptocurrency exchanges through a...

OKX Introduces Social Trading Platform After $25 Billion Valuation

OKX Introduces Social Trading Platform After $25 Billion Valuation

by Moussa
March 7, 2026
0

Crypto exchange OKX is rolling out a built-in social network called Orbit inside its trading app, aiming to merge market...

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

Blockchain.info wallet json created device name

by Moussa
March 7, 2026
0

I have a blockchain info wallet. From this I got a json file. Looking at the unencrypted file there are...

Shiba Inu Price Analysis: Burn Rate Skyrockets 53,000% – What Does This Mean?

Shiba Inu Price Analysis: Burn Rate Skyrockets 53,000% – What Does This Mean?

by Moussa
March 7, 2026
0

Shiba Inu just saw its burn rate explode, fueling bullish price predictions. In the past 24 hours, the SHIB burn...

Bitcoin Could Outshine Gold Through 2029, Macroeconomist Predicts

Bitcoin Could Outshine Gold Through 2029, Macroeconomist Predicts

by Moussa
March 7, 2026
0

Trusted Editorial content, reviewed by leading industry experts and seasoned editors. Ad Disclosure The gap between how investors feel about...

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