[wallet] Improve CoinSelectionAlgorithm

Implement the improvements described in issue #121.

Closes #121, closes #131.
This commit is contained in:
Alekos Filini committed 2020-10-16 14:30:44 +02:00
1 parent 17f7294c8e
commit a5713a8348
5 files changed
+185 -120

No files matched your search

+1
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")]