Steve Myers
364b47bfcb
Update cli module to use StructOpt and add docs
2020-12-03 16:18:47 -08:00
Alekos Filini
d6ac752b65
Merge commit 'refs/pull/191/head' of github.com:bitcoindevkit/bdk
2020-11-30 15:17:09 +01:00
Riccardo Casatta
6d1d5d5f57
use electurm-client updated
2020-11-30 13:25:23 +01:00
Alekos Filini
93afdc599c
Switch to miniscript
from crates.io
2020-11-24 10:07:37 +01:00
Alekos Filini
4f6e3a4f68
Update tiny-bip39
to v0.8
...
Fixes #185
2020-11-24 10:01:42 +01:00
LLFourn
d2490d9ce3
Fix to at least bitcoin ^0.25.2
...
And fix the fallout.
2020-11-23 15:06:13 +11:00
Riccardo Casatta
73326068f8
Use dirs-next instead of dirs since the latter is unmantained
2020-11-19 17:57:59 +01:00
Riccardo Casatta
25bde82048
pin cc version because last breaks rocksdb build
2020-11-19 13:11:27 +01:00
Alekos Filini
fe7ecd3dd2
Merge commit 'refs/pull/167/head' of github.com:bitcoindevkit/bdk
2020-11-18 10:44:54 +01:00
Alekos Filini
7a42c5e095
Switch to "mainline" rust-miniscript
2020-11-17 23:57:28 +01:00
Riccardo Casatta
8dfbbf2763
Require esplora feature for repl example
2020-11-17 16:47:58 +01:00
Alekos Filini
100f0aaa0a
Bump rust-bitcoin to 0.25, fix Cargo dependencies
...
Closes #112 , closes #113 , closes #124
2020-10-13 10:39:48 +02:00
Alekos Filini
1faf0ed0a0
Fix the recovery of a descriptor given a PSBT
...
This commit upgrades `rust-miniscript` with a fix to only return the prefix that
matches a `hd_keypath` instead of the full derivation path, and then adapts the
signer code accordingly.
This commit closes #108 and #109 .
2020-10-02 17:52:11 +02:00
Alekos Filini
c93cd1414a
[descriptor] Add descriptor templates, add DerivableKey
2020-09-24 09:53:54 +02:00
Alekos Filini
ab9d964868
[keys] Add BIP39 support
2020-09-24 09:53:46 +02:00
Alekos Filini
cf2a8bccac
[cargo] Add the required rand
features for wasm32
2020-09-16 17:30:11 +02:00
Alekos Filini
10ab293e18
[cargo] Remove the magic
alias for repl
2020-09-14 15:13:43 -07:00
Alekos Filini
d7ee38cc52
Rename the library to bdk
2020-09-14 15:13:43 -07:00
Alekos Filini
5d977bc617
Bump version to 0.1.0-beta.1
2020-09-08 15:26:44 +02:00
Alekos Filini
c4f4f20d8b
Improve the README, add examples
2020-09-07 16:33:08 +02:00
Alekos Filini
43cb0331bf
Rename the crate to just "magical"
2020-09-04 17:01:33 +02:00
Alekos Filini
c0867a6adc
General cleanup for the docs
2020-08-31 15:04:27 +02:00
Alekos Filini
557f7ef8c9
[wallet] Add AddressValidators
2020-08-30 20:36:25 +02:00
Alekos Filini
5777431135
Use miniscript::DescriptorPublicKey
...
This allows us to remove all our custom "ExtendedDescriptor" implementation since that is
now built directly in miniscript.
2020-08-30 20:36:19 +02:00
Alekos Filini
ddc2bded99
[compact_filters] Add support for Tor
2020-08-30 17:24:04 +02:00
Alekos Filini
77c95b93ac
Compact Filters blockchain implementation
2020-08-30 17:23:33 +02:00
Alekos Filini
9e5023670e
[tests] Add a proc macro to generate tests for OnlineBlockchain
types
2020-08-10 17:18:17 +02:00
Alekos Filini
f7f99172fe
Add a feature to enable the async interface on non-wasm32 platforms
...
Follow-up to: #28
2020-08-10 11:41:19 +02:00
Dominik Spicher
a581457ba8
[examples] Add missing dependency for compiler example
2020-08-07 16:02:32 +02:00
Alekos Filini
7a23b2b558
[wallet] Abstract coin selection in a separate trait
2020-08-06 16:56:41 +02:00
Alekos Filini
927c2f37b9
[wallet] Abstract, multi-platform datetime utils
2020-08-06 14:28:20 +02:00
Alekos Filini
4fcf7ac89e
Make the blockchain interface async again on wasm32-unknown-unknown
...
The procedural macro `#[maybe_async]` makes a method or every method of a trait
"async" whenever the target_arch is `wasm32`, and leaves them untouched on
every other platform.
The macro `maybe_await!($e:expr)` can be used to call `maybe_async` methods on
multi-platform code: it expands to `$e` on non-wasm32 platforms and to
`$e.await` on wasm32.
The macro `await_or_block!($e:expr)` can be used to contain async code as much
as possible: it expands to `tokio::runtime::Runtime::new().unwrap().block_on($e)`
on non-wasm32 platforms, and to `$e.await` on wasm32.
2020-07-20 20:02:24 +02:00
Alekos Filini
4a51d50e1f
Update miniscript to version 1.0
2020-07-19 19:31:40 +02:00
Alekos Filini
123984e99d
Remove async, upgrade electrum-client
2020-07-17 09:44:01 +02:00
Alekos Filini
1ff9852cff
[wasm] Fix SystemTime for wasm and refactor the cli part
2020-05-08 23:30:45 +02:00
Alekos Filini
0cc9e1cdea
[blockchain] Use async I/O in the various blockchain impls
2020-05-07 17:36:45 +02:00
Alekos Filini
95b2cd4c32
[blockchain] add the Esplora backend
2020-05-07 15:21:54 +02:00
Alekos Filini
75a9c30c9a
Add a generalized "Blockchain" interface
2020-05-03 18:16:11 +02:00
Alekos Filini
aa93a82904
Add a miniscript compiler CLI
2020-04-29 12:16:58 +02:00
Alekos Filini
ada3ef3aa6
[cargo] Explicit Cargo.toml examples
2020-04-28 17:28:15 +02:00
Alekos Filini
f605f4b34d
Contribution improvements
2020-04-07 11:19:38 +02:00
Alekos Filini
1a4e1bd96c
Wallet logic
2020-04-07 11:16:53 +02:00
Alekos Filini
4919ff148b
Move everything in the root
2020-02-07 12:27:10 +01:00