Trait bitcoinwallet_interface::TopUp
source · pub trait TopUp {
// Required method
fn top_up(&mut self, size: Option<u32>) -> bool;
}
Required Methods§
sourcefn top_up(&mut self, size: Option<u32>) -> bool
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 |