Henry de Valence
103b663c40
chain: rename BlockHeight to block::Height
2020-08-17 11:46:34 -07:00
Henry de Valence
61dea90e2f
chain: rename BlockHeaderHash to block::Hash
...
This is the first in a sequence of changes that change the block:: items
to not include Block as a prefix in their name, in accordance with the
Rust API guidelines.
2020-08-17 11:46:34 -07:00
Henry de Valence
948b067808
chain: move Network, NetworkUpgrade to parameters
...
Also, avoid using star-imports of the enum variants, which pollutes the
namespace.
2020-08-17 11:46:34 -07:00
Henry de Valence
dad6340cd3
chain: move BlockHeight into block
2020-08-17 11:46:34 -07:00
teor
ee6f0de14d
refactor: Move NetworkUpgrade to zebra-chain
2020-08-10 18:54:42 +10:00
teor
396d209638
feature: Add the MinimumDifficulty consensus parameter
2020-07-28 10:34:41 +10:00
teor
2b1e7162b1
feature: Set the testnet Canopy upgrade height
...
See ZIP 251 and zcash/zips#385 for details.
Closes #756 .
2020-07-27 14:03:14 -04:00
teor
993532b604
feature: Add a "Genesis" network upgrade
...
We can use this network upgrade to implement different consensus rules
and chain context handling for genesis blocks.
Part of the chain state design in #682 .
2020-07-27 14:03:14 -04:00
teor
0e0c36c010
fixup! feature: Add network upgrade activation heights
2020-07-23 15:52:18 +10:00
teor
4b683ea2b1
feature: Add Consensus Branch Ids
2020-07-23 15:52:18 +10:00
teor
c9ee85c3b5
feature: Add network upgrade activation heights
2020-07-23 15:52:18 +10:00