diff options
| author | Pieter Wuille <[email protected]> | 2017-04-25 11:29:18 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2017-05-26 13:27:50 -0700 |
| commit | d342424301013ec47dc146a4beb49d5c9319d80a (patch) | |
| tree | 00574e5165c4b96167009fefe525b024e98eae0f /src/httpserver.cpp | |
| parent | Add specialization of SipHash for 256 + 32 bit data (diff) | |
| download | discoin-d342424301013ec47dc146a4beb49d5c9319d80a.tar.xz discoin-d342424301013ec47dc146a4beb49d5c9319d80a.zip | |
Remove/ignore tx version in utxo and undo
This makes the following changes:
* In undo data and the chainstate database, the transaction nVersion
field is removed from the data structures, always written as 0, and
ignored when reading.
* The definition of hash_serialized in gettxoutsetinfo is changed to no
longer incude the nVersion field. It is renamed to hash_serialized_2
to avoid confusion. The new definition also includes transaction
height and coinbase information, as this information was missing
before.
This depends on having a CHashVerifier-based undo data checksum
verifier.
Apart from changing the definition of serialized_hash, downgrading
after using this patch is supported, as no release ever used the value
of nVersion field in UTXO entries.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions