Removed PowBlock struct that never got used (#2813)

This commit is contained in:
ethDreamer
2021-11-16 23:51:11 -06:00
committed by Paul Hauner
parent 5f0fef2d1e
commit f6748537db
6 changed files with 35 additions and 129 deletions

View File

@@ -47,7 +47,6 @@ pub mod graffiti;
pub mod historical_batch;
pub mod indexed_attestation;
pub mod pending_attestation;
pub mod pow_block;
pub mod proposer_slashing;
pub mod relative_epoch;
pub mod selection_proof;
@@ -126,7 +125,6 @@ pub use crate::indexed_attestation::IndexedAttestation;
pub use crate::participation_flags::ParticipationFlags;
pub use crate::participation_list::ParticipationList;
pub use crate::pending_attestation::PendingAttestation;
pub use crate::pow_block::PowBlock;
pub use crate::preset::{AltairPreset, BasePreset};
pub use crate::proposer_slashing::ProposerSlashing;
pub use crate::relative_epoch::{Error as RelativeEpochError, RelativeEpoch};

View File

@@ -1,13 +0,0 @@
use crate::*;
#[cfg_attr(feature = "arbitrary-fuzz", derive(arbitrary::Arbitrary))]
#[derive(Default, Debug, PartialEq, Clone)]
pub struct PowBlock {
pub block_hash: Hash256,
pub parent_hash: Hash256,
pub total_difficulty: Uint256,
pub difficulty: Uint256,
// needed to unify with other parts of codebase
pub timestamp: u64,
pub block_number: u64,
}