Bitcoin Forum
June 19, 2024, 08:39:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Transaction Version (expected to be 1 but I got 0)  (Read 415 times)
sidazhang (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
February 19, 2014, 01:59:09 AM
 #1


http://test.webbtc.com/tx/f1ebaf4604158a8a385cb55d1c0ca5efde98ab2d6f92bc667a02485f258c064e
http://test.webbtc.com/tx/f1ebaf4604158a8a385cb55d1c0ca5efde98ab2d6f92bc667a02485f258c064e.json

I thought all transactions are currently versioned 1. How come this is 0?  Does anyone have any clue as to why? I am not able to find any documentations on version 0 transactions
maaku
Legendary
*
expert
Offline Offline

Activity: 905
Merit: 1011


View Profile
February 19, 2014, 08:43:48 AM
 #2

A transaction's nVersion field may be set to any value. I don't suggest writing code that does so, however, as you place yourself at risk against future soft-fork changes which give the nValue field meaning.

I'm an independent developer working on bitcoin-core, making my living off community donations.
If you like my work, please consider donating yourself: 13snZ4ZyCzaL7358SmgvHGC9AxskqumNxP
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!