Upgrade bitcoin and bdk to latest version

The latest version allows us to access `miniscript` via `bdk` which
removes the need for declaring it as an extra dependency.
This commit is contained in:
Thomas Eizinger 2021-10-07 12:26:51 +11:00
parent 9ea73a8e66
commit 4de8b0ebc4
No known key found for this signature in database
GPG key ID: 651AC83A6C6C8B96
9 changed files with 125 additions and 368 deletions

View file

@ -6,8 +6,8 @@ use ::bitcoin::util::psbt::PartiallySignedTransaction;
use ::bitcoin::{OutPoint, TxIn, TxOut, Txid};
use anyhow::{bail, Result};
use bdk::database::BatchDatabase;
use bdk::miniscript::{Descriptor, DescriptorTrait};
use bitcoin::Script;
use miniscript::{Descriptor, DescriptorTrait};
use serde::{Deserialize, Serialize};
const SCRIPT_SIZE: usize = 34;