pub struct BlockSealNotification {
pub pre_seal_hash: Blake3Hash,
pub public_key_hash: Blake3Hash,
pub seal_sender: Sender<OwnedBlockHeaderSeal>,
}
Expand description
Notification with a pre-seal hash that needs to be sealed (signed) to create a block and receive a block reward
Fields§
§pre_seal_hash: Blake3Hash
Hash to be signed.
public_key_hash: Blake3Hash
Public key hash of the plot identity that should create signature
seal_sender: Sender<OwnedBlockHeaderSeal>
Sender that can be used to send the seal
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockSealNotification
impl !RefUnwindSafe for BlockSealNotification
impl Send for BlockSealNotification
impl Sync for BlockSealNotification
impl Unpin for BlockSealNotification
impl !UnwindSafe for BlockSealNotification
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more