HomePhabricator

Explicitly set tx.nVersion for the genesis block and mining tests
efd44440d86cUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Explicitly set tx.nVersion for the genesis block and mining tests

If/when CTransaction::CURRENT_VERSION is incremented, this will break CChainParams and the miner tests. This fix sets the transaction version explicitly where we depend on the hash value (genesis block, proof of work checks).

Details

Provenance
Mark Friedenbach <mark@friedenbach.org>Authored on Jun 2 2015, 23:25
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGf00b62391b93: Merge pull request #6203
Branches
Unknown
Tags
Unknown

Event Timeline

Mark Friedenbach <mark@friedenbach.org> committed rSTAGINGefd44440d86c: Explicitly set tx.nVersion for the genesis block and mining tests (authored by Mark Friedenbach <mark@friedenbach.org>).Jun 2 2015, 23:39