Steve Myers
4da7488dc4
Update 'cargo-check.sh' to not check +nightly
2021-04-08 14:36:07 -07:00
Steve Myers
e37680af96
Use .flatten() instead of .filter_map(|x| x), clippy warning
...
https://rust-lang.github.io/rust-clippy/master/index.html#filter_map_identity
2021-04-08 14:18:07 -07:00
Steve Myers
5f873ae500
Use .any() instead of .find().is_some(), clippy warning
...
https://rust-lang.github.io/rust-clippy/master/index.html#search_is_some
2021-04-08 14:18:07 -07:00
Steve Myers
2380634496
Use .get(0) instead of .iter().next(), clippy warning
...
https://rust-lang.github.io/rust-clippy/master/index.html#iter_next_slice
2021-04-08 14:18:07 -07:00
Steve Myers
af98b8da06
Compare float equality using error margin EPSILON, clippy warning
...
https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp
2021-04-08 14:17:59 -07:00
Steve Myers
b68ec050e2
Remove redundant clone, clippy warning
...
https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
2021-04-08 11:41:58 -07:00
Steve Myers
ac7df09200
Remove needlessly taken reference of both operands, clippy warning
...
https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
2021-04-08 11:39:38 -07:00
Riccardo Casatta
192965413c
Convert upper-case acronyms as suggested by CamelCase convention
...
see https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms
2021-04-07 22:14:54 +02:00
Riccardo Casatta
745be7bea8
remove format! from assert! (will be an error in rust edition 2021)
2021-04-07 22:09:08 +02:00
Riccardo Casatta
b6007e05c1
upgrade CI rust version to 1.51.0
2021-04-07 22:08:56 +02:00
Steve Myers
f53654d9f4
Merge commit 'refs/pull/314/head' of github.com:bitcoindevkit/bdk
2021-04-06 10:21:07 -07:00
Daniel Karzel
e5ecc7f541
Avoid over-/underflow error in coin_select
...
Adds fix for edge-cases involving small UTXOs (where value < fee) where the coin_select calculation would panic with overflow/underflow errors.
Bitcoin is limited to 21*(10^6), so any Bitcoin amount fits into i64.
2021-04-06 10:21:55 +10:00
LLFourn
882a9c27cc
Use tagged serialization for blockchain config
...
also make the config types Clone and PartialEq
2021-04-03 15:30:49 +11:00
Steve Myers
1e6b8e12b2
Merge commit 'refs/pull/310/head' of github.com:bitcoindevkit/bdk
2021-03-31 16:06:53 -07:00
Steve Myers
b226658977
[ci] update MSRV to 1.46.0
2021-03-29 11:17:50 -07:00
Alekos Filini
6d6776eb58
Merge branch 'release/0.5.1'
2021-03-29 19:48:00 +02:00
Alekos Filini
f1f844a5b6
Bump version to 0.5.2-dev
2021-03-29 19:10:47 +02:00
Alekos Filini
a3e45358de
Bump version to 0.5.1
v0.5.1
2021-03-29 18:28:06 +02:00
Alekos Filini
07e79f6e8a
Update CHANGELOG.md
2021-03-29 18:28:04 +02:00
Steve Myers
d94b8f87a3
Pin hyper version to =0.14.4
2021-03-29 10:12:56 +02:00
Steve Myers
fdb895d26c
Update DEVELOPMENT_CYCLE for unreleased dev-dependencies
2021-03-22 10:48:39 -07:00
Steve Myers
7041e96737
Fix new test to use new get_address() fn
2021-03-22 10:26:56 -07:00
Steve Myers
199f716ebb
Fix bdk-testutils-macros version
2021-03-22 10:24:21 -07:00
Steve Myers
b12e358c1d
Fix 0.5.1-dev CHANGELOG.md
2021-03-20 11:42:00 -07:00
Alekos Filini
f786f0e624
Merge branch 'release/0.5.0' of github.com:bitcoindevkit/bdk
2021-03-17 22:27:44 +01:00
Alekos Filini
71e0472dc9
Bump version to 0.5.1-dev
2021-03-17 20:58:23 +01:00
Alekos Filini
f7944e871b
Bump version to 0.5.0
v0.5.0
2021-03-17 15:21:37 +01:00
Alekos Filini
2fea1761c1
Bump deps version
2021-03-17 15:21:07 +01:00
Alekos Filini
fa27ae210f
Update version in lib.rs
2021-03-17 15:14:35 +01:00
Alekos Filini
46fa41470e
Update CHANGELOG with the new release tag
2021-03-17 15:13:46 +01:00
Alekos Filini
c456a252f8
Merge commit 'refs/pull/296/head' of github.com:bitcoindevkit/bdk
2021-03-17 11:30:31 +01:00
Riccardo Casatta
d837a762fc
update changelog and fix docs
2021-03-17 11:24:48 +01:00
davemo88
e82dfa971e
brevity
2021-03-16 10:20:07 -04:00
davemo88
cc17ac8859
update changelog
2021-03-15 21:58:03 -04:00
davemo88
3798b4d115
add get_psbt_input
2021-03-15 21:50:51 -04:00
Steve Myers
2d0f6c4ec5
[wallet] Add get_address(AddressIndex::Reset(u32)), update CHANGELOG
2021-03-15 09:13:23 -07:00
Steve Myers
f3b475ff0e
[wallet] Refactor get_*_address() into get_address(AddressIndex), update CHANGELOG
2021-03-15 08:58:11 -07:00
Steve Myers
41ae202d02
[wallet] Add get_unused_address() function, update CHANGELOG
2021-03-15 08:58:09 -07:00
Steve Myers
fef6176275
[wallet] Add fetch_index() helper function
2021-03-15 08:58:07 -07:00
Alekos Filini
8ebe7f0ea5
Merge commit 'refs/pull/308/head' of github.com:bitcoindevkit/bdk into release/0.5.0
2021-03-15 10:53:49 +01:00
Alekos Filini
eb85390846
Merge commit 'refs/pull/309/head' of github.com:bitcoindevkit/bdk into release/0.5.0
2021-03-15 10:53:29 +01:00
davemo88
dc83db273a
better derivation path building
2021-03-11 21:54:00 -05:00
davemo88
201bd6ee02
better derivation path building
2021-03-11 21:35:16 -05:00
davemo88
396ffb42f9
handle descriptor xkey origin
2021-03-11 17:39:02 -05:00
Steve Myers
9cf62ce874
[ci] Manually install libclang-common-10-dev to 'check-wasm' job
2021-03-11 11:10:10 -08:00
Alekos Filini
9c6b98d98b
Bump version to 0.5.0-rc.1
2021-03-11 10:07:26 +01:00
Riccardo Casatta
14ae64e09d
[policy] Populate satisfaction with singatures already present in a PSBT
2021-03-08 16:58:56 +01:00
Riccardo Casatta
48215675b0
[policy] uncomment and update 4 tests: 2 ignored and 2 restored
2021-03-08 16:51:43 +01:00
Riccardo Casatta
37fa35b24a
[policy] pass existing context instead of new one
2021-03-08 16:51:42 +01:00
Riccardo Casatta
23ec9c3ba0
[policy] pass secp context to setup_keys
2021-03-08 16:51:40 +01:00