[wallet] Improve CoinSelectionAlgorithm

Implement the improvements described in issue #121.

Closes #121, closes #131.
This commit is contained in:
Alekos Filini
2020-10-14 15:21:22 +02:00
parent 17f7294c8e
commit a5713a8348
5 changed files with 185 additions and 120 deletions

View File

@@ -87,6 +87,7 @@ macro_rules! impl_inner_method {
/// It allows switching database type at runtime.
///
/// See [this module](crate::database::any)'s documentation for a usage example.
#[derive(Debug)]
pub enum AnyDatabase {
Memory(memory::MemoryDatabase),
#[cfg(feature = "key-value-db")]