Add a generalized "Blockchain" interface

This commit is contained in:
Alekos Filini
2020-05-03 16:15:11 +02:00
parent 0988c8b8d5
commit 75a9c30c9a
10 changed files with 498 additions and 323 deletions

View File

@@ -1,9 +1,6 @@
use std::collections::BTreeMap;
use std::convert::{From, TryInto};
use std::ops::Bound::{Excluded, Included};
use serde::Serialize;
use bitcoin::consensus::encode::{deserialize, serialize};
use bitcoin::hash_types::Txid;
use bitcoin::util::bip32::{ChildNumber, DerivationPath};