Revert "Delegate Block Encoding to Store (#44)"
This reverts commit 8ffc0c6f8e.
This commit is contained in:
@@ -36,7 +36,6 @@ bitflags! {
|
||||
}
|
||||
|
||||
/// Block header, fairly standard compared to other blockchains.
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct BlockHeader {
|
||||
/// Height of this block since the genesis block (height 0)
|
||||
pub height: u64,
|
||||
@@ -139,7 +138,6 @@ impl Readable for BlockHeader {
|
||||
/// non-explicit, assumed to be deducible from block height (similar to
|
||||
/// bitcoin's schedule) and expressed as a global transaction fee (added v.H),
|
||||
/// additive to the total of fees ever collected.
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Block {
|
||||
/// The header with metadata and commitments to the rest of the data
|
||||
pub header: BlockHeader,
|
||||
|
||||
Reference in New Issue
Block a user