pub struct DelegationTracker<'a> { /* private fields */ }Expand description
走査したトランザクションを受け取って、委任の要求とリンクを追う。
Implementations§
Source§impl<'a> DelegationTracker<'a>
impl<'a> DelegationTracker<'a>
Sourcepub fn new(node_private_key: &'a PrivateKey, network: NetworkIdentifier) -> Self
pub fn new(node_private_key: &'a PrivateKey, network: NetworkIdentifier) -> Self
node_private_key は、ノードの node.key.pem の秘密鍵。要求はこの公開鍵のアドレスに届き、この鍵で復号する
Auto Trait Implementations§
impl<'a> Freeze for DelegationTracker<'a>
impl<'a> RefUnwindSafe for DelegationTracker<'a>
impl<'a> Send for DelegationTracker<'a>
impl<'a> Sync for DelegationTracker<'a>
impl<'a> Unpin for DelegationTracker<'a>
impl<'a> UnsafeUnpin for DelegationTracker<'a>
impl<'a> UnwindSafe for DelegationTracker<'a>
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