pub struct GossipSigner { /* private fields */ }Expand description
Signs outbound gossip broadcasts with this node’s identity key.
Implementations§
Source§impl GossipSigner
impl GossipSigner
pub fn new(key: SigningKey) -> Self
Sourcepub fn verifying_key(&self) -> VerifyingKey
pub fn verifying_key(&self) -> VerifyingKey
This signer’s public half — folded into the local verifier’s trusted set so a node accepts its own broadcasts echoed back through the mesh.
Auto Trait Implementations§
impl Freeze for GossipSigner
impl RefUnwindSafe for GossipSigner
impl Send for GossipSigner
impl Sync for GossipSigner
impl Unpin for GossipSigner
impl UnsafeUnpin for GossipSigner
impl UnwindSafe for GossipSigner
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