Questions tagged [transaction-version]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
96 views

What does nVersion represent in Bitcoin transaction?

Have a few questions about the nVersion field in the transaction serialization format and they are related to the purpose of this field. What does this field tell us? In the sense that if it is ...
LeaBit's user avatar
  • 492
4 votes
2 answers
1k views

When calculating the hash of transaction, why is the version used as "01000000" instead of "00000001"?

According to the protocol documentation for tx, the first field on the transaction data is a version number of size 4. Based on this, I am trying to format the array of bytes needed to calculate the ...
Pedro Martins Timóteo da Costa's user avatar
1 vote
1 answer
105 views

Parsing blk.dat file fails, is this block legitimate?

I'm parsing in blocks from my local blk*.dat files, using this excellent website as a guide. All goes well until file blk00976.dat, block ...
Lee's user avatar
  • 458
0 votes
2 answers
515 views

Why are OP_RETURN transactions discouraged? Does using version or locktime make any difference?

Why are OP_RETURN transactions discouraged? Are they paying less fees compared to other transactions? Will it make any difference if same thing is done using version or locktime when data is either 1 ...
user avatar
2 votes
2 answers
306 views

Version in transaction

Original transaction hex: ...
user avatar
0 votes
0 answers
39 views

Which is the correct value for Tx version in tx messages of bitcoin pcap? [duplicate]

Recently, I researched TX messages in the bitcoin protocol and captured some bitcoin traffic in which the version field of a TX message in a specific packet was 2. The Transaction page of the Bitcoin ...
Saeed's user avatar
  • 125
3 votes
1 answer
795 views

What does the transaction version byte mean?

What does the transaction version byte mean and what would happen if it was 02 instead of 01? Example: ...
John's user avatar
  • 383
5 votes
3 answers
7k views

What is "version" used for in Bitcoin transactions? Does it have any meaning?

Some bitcoin transaction have version 2. For example, this transaction https://blockchain.info/tx/b7022124bc7f31af9342d2f7af98ad9f60f2fd4fa544bf1affca8a436aadda41 if you request a hex (by adding ?...
Karel Bílek's user avatar
  • 2,685
8 votes
1 answer
339 views

What values are legal for the transaction's version field?

In the transaction's version field, what values are legal? What values have actually been seen in the blockchain?
Nick ODell's user avatar
  • 29.3k
3 votes
1 answer
473 views

Is there any relation between the block version field and the one of the transaction?

I am struggling to validate my custom miner against the testnet network and I can't seem to add a block of mine to the chain. I've noticed that all the other miners are appending version 2 blocks, so ...
user2517742's user avatar
5 votes
1 answer
1k views

Version field in transactions, blocks, etc

A field labelled "version" appears in many contexts regarding the Bitcoin protocol. Sometimes one uses the current version of the Bitcoin client (version message), sometimes 1 is used (block, tx), why ...
ThePiachu's user avatar
  • 43k