Struct ethcore::machine::EthashExtensions
source · [−]pub struct EthashExtensions {
pub homestead_transition: BlockNumber,
pub dao_hardfork_transition: u64,
pub dao_hardfork_beneficiary: Address,
pub dao_hardfork_accounts: Vec<Address>,
}
Expand description
Ethash-specific extensions.
Fields
homestead_transition: BlockNumber
Homestead transition block number.
dao_hardfork_transition: u64
DAO hard-fork transition block (X).
dao_hardfork_beneficiary: Address
DAO hard-fork refund contract address (C).
dao_hardfork_accounts: Vec<Address>
DAO hard-fork DAO accounts list (L)
Trait Implementations
sourceimpl Clone for EthashExtensions
impl Clone for EthashExtensions
sourcefn clone(&self) -> EthashExtensions
fn clone(&self) -> EthashExtensions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EthashExtensions
impl Debug for EthashExtensions
sourceimpl From<EthashParams> for EthashExtensions
impl From<EthashParams> for EthashExtensions
sourcefn from(p: EthashParams) -> Self
fn from(p: EthashParams) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for EthashExtensions
impl Send for EthashExtensions
impl Sync for EthashExtensions
impl Unpin for EthashExtensions
impl UnwindSafe for EthashExtensions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more