pub trait NodeAccount {
    fn pubkey(&self) -> Pubkey;
    fn init(
        &mut self,
        authority: &mut Signer<'_>,
        id: u64,
        stake: &mut Account<'_, TokenAccount>,
        worker: &Signer<'_>
    ) -> Result<()>; fn update(&mut self, settings: NodeSettings) -> Result<()>; }
Expand description

NodeAccount

Required Methods

Implementations on Foreign Types

Implementors