Alekos Filini
17bcd8ed7d
[signer] Replace force_non_witness_utxo
with only_witness_utxo
...
Instead of providing an opt-in option to force the addition of the
`non_witness_utxo`, we will now add them by default and provide the
option to disable them when they aren't considered necessary.
2021-05-06 08:58:39 +02:00
Alekos Filini
b5e9589803
[signer] Adjust signing behavior with SignOptions
2021-05-06 08:58:38 +02:00
Alekos Filini
1d628d84b5
[signer] Fix error variant
2021-05-05 16:59:59 +02:00
Alekos Filini
b84fd6ea5c
Fix import for FromStr
2021-05-05 16:59:57 +02:00
Alekos Filini
8fe4222c33
Merge commit 'refs/pull/336/head' of github.com:bitcoindevkit/bdk
2021-05-05 14:51:36 +02:00
codeShark149
e626f2e255
Added grcov based code coverage reporting in github action
2021-04-30 17:20:20 +05:30
LLFourn
5a0c150ff9
Make wallet methods take &mut psbt
...
Rather than consuming it because that is unergonomic.
2021-04-28 15:34:25 +10:00
Alekos Filini
00f07818f9
Merge commit 'refs/pull/321/head' of github.com:bitcoindevkit/bdk
2021-04-16 14:08:26 +02:00
Riccardo Casatta
136a4bddb2
Verify PSBT input satisfaction
2021-04-16 12:22:49 +02:00
Riccardo Casatta
ff7b74ec27
destructure tuple to improve clarity
2021-04-16 12:22:47 +02:00
Steve Myers
8c00326990
[ci] Revert fixed nightly-2021-03-23, use actual nightly
2021-04-15 10:15:13 -07:00
Riccardo Casatta
afcd26032d
comment out println in tests, fix doc
2021-04-15 16:48:42 +02:00
Riccardo Casatta
8f422a1bf9
Add timelocks to policy satisfaction results
...
Also for signature the logic has been refactored to handle appropriately nested cases.
2021-04-15 15:57:35 +02:00
Alekos Filini
45983d2166
Merge commit 'refs/pull/322/head' of github.com:bitcoindevkit/bdk
2021-04-15 11:40:34 +02:00
Steve Myers
89cb4de7f6
[ci] Update 'test-readme-examples' job to use nightly-2021-03-23
2021-04-14 20:34:32 -07:00
Steve Myers
7ca0e0e2bd
[ci] Update 'Tarpaulin to codecov.io' job to use nightly-2021-03-23
2021-04-14 20:33:42 -07:00
Alekos Filini
2bddd9baed
Update CHANGELOG for v0.6.0
2021-04-14 18:49:52 +02:00
Alekos Filini
0135ba29c5
Bump version to 0.6.1-dev
2021-04-14 18:47:31 +02:00
Alekos Filini
549cd24812
Bump version to 0.6.0
v0.6.0
2021-04-14 17:27:28 +02:00
Alekos Filini
a841b5d635
Use published bdk-testutils-macros
2021-04-14 17:26:40 +02:00
Alekos Filini
16ceb6cb30
Bump version of bdk-testutils-macros
2021-04-14 17:25:11 +02:00
Alekos Filini
edfd7d454c
Merge commit 'refs/pull/325/head' of github.com:bitcoindevkit/bdk into release/0.6.0
2021-04-13 09:25:47 +02:00
Alekos Filini
1d874e50c2
Merge commit 'refs/pull/326/head' of github.com:bitcoindevkit/bdk into release/0.6.0
2021-04-13 09:25:27 +02:00
Richard Ulrich
98127cc5da
Allow setting RBF when bumping the fee of a transaction. This enables to further bump the fee.
2021-04-13 09:18:46 +02:00
Richard Ulrich
e243107bb6
Adding tests to demonstrate that we can't keep RBF when bumping the fee of a transaction.
2021-04-13 09:18:43 +02:00
Steve Myers
237a8d4e69
[ci] Update 'Build docs' job to use nightly-2021-03-23
2021-04-12 10:33:54 -07:00
Steve Myers
7f4042ba1b
Bump version to 0.6.0-rc.1
2021-04-09 15:30:34 -07:00
Steve Myers
3ed44ce8cf
Remove unneeded script
2021-04-09 09:19:19 -07:00
Steve Myers
8e7d8312a9
[ci] Update 'build-test' job to clippy check all-targets
2021-04-08 14:44:35 -07:00
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