pub trait TopUp {
    // Required method
    fn top_up(&mut self, size: Option<u32>) -> bool;
}

Required Methods§

source

fn top_up(&mut self, size: Option<u32>) -> bool

| Fills internal address pool. Use within | ScriptPubKeyMan implementations | should be used sparingly and only when | something from the address pool is removed, | excluding GetNewDestination and GetReservedDestination. | | External wallet code is primarily responsible | for topping up prior to fetching new | addresses |

Implementors§