]> Untitled Git - bdk/log
bdk
4 years agoFix clippy warn on compact_filters peer::_recv()
Steve Myers [Thu, 11 Feb 2021 21:08:21 +0000 (13:08 -0800)]
Fix clippy warn on compact_filters peer::_recv()

4 years agoFix clippy warning 'wrong_self_convention'
Steve Myers [Thu, 11 Feb 2021 19:00:48 +0000 (11:00 -0800)]
Fix clippy warning 'wrong_self_convention'

4 years agoFix clippy warning 'unnecessary_wraps'
Steve Myers [Thu, 11 Feb 2021 18:58:44 +0000 (10:58 -0800)]
Fix clippy warning 'unnecessary_wraps'

4 years agoUpdate version in the examples
Alekos Filini [Thu, 11 Feb 2021 14:29:44 +0000 (09:29 -0500)]
Update version in the examples

4 years agoUpdate CHANGELOG for release v0.4.0
Alekos Filini [Thu, 11 Feb 2021 14:29:27 +0000 (09:29 -0500)]
Update CHANGELOG for release v0.4.0

4 years agoBump version to 0.4.0-rc.1
Alekos Filini [Thu, 11 Feb 2021 14:27:34 +0000 (09:27 -0500)]
Bump version to 0.4.0-rc.1

4 years agocompact filters balance example
Riccardo Casatta [Fri, 27 Nov 2020 16:52:30 +0000 (17:52 +0100)]
compact filters balance example

4 years agoMerge commit 'refs/pull/278/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Fri, 5 Feb 2021 22:22:52 +0000 (17:22 -0500)]
Merge commit 'refs/pull/278/head' of github.com:bitcoindevkit/bdk

4 years agoProperly handle the `Signet` network
Alekos Filini [Fri, 5 Feb 2021 15:23:17 +0000 (10:23 -0500)]
Properly handle the `Signet` network

Closes #62

4 years ago[compact_filters] Use the new rust-bitcoin API
Alekos Filini [Wed, 3 Feb 2021 00:52:44 +0000 (19:52 -0500)]
[compact_filters] Use the new rust-bitcoin API

4 years agoUpdate changelog
Alekos Filini [Wed, 3 Feb 2021 01:09:40 +0000 (20:09 -0500)]
Update changelog

4 years agoUpdate bitcoin, miniscript, electrum-client
Alekos Filini [Fri, 5 Feb 2021 21:51:13 +0000 (16:51 -0500)]
Update bitcoin, miniscript, electrum-client

4 years agoUpdate bitcoin, miniscript, electrum-client
Alekos Filini [Wed, 3 Feb 2021 01:06:40 +0000 (20:06 -0500)]
Update bitcoin, miniscript, electrum-client

4 years agoMerge commit 'refs/pull/274/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Wed, 3 Feb 2021 15:14:16 +0000 (10:14 -0500)]
Merge commit 'refs/pull/274/head' of github.com:bitcoindevkit/bdk

4 years agoUn-pin the version of `cc`
Alekos Filini [Wed, 3 Feb 2021 14:42:23 +0000 (09:42 -0500)]
Un-pin the version of `cc`

Fixes #183

4 years agoEmit specific compile error if incompatible features are enabled
Lucas Soriano del Pino [Wed, 3 Feb 2021 06:29:24 +0000 (17:29 +1100)]
Emit specific compile error if incompatible features are enabled

This is motivated by the feature `electrum` being part of the
`default` features of this crate. It is easy to naively enable
`esplora` and `async-interface` and forget that `electrum` is enabled
by default, running into not so obvious compile errors.

4 years agoMerge branch 'master' into make_txbuilder_take_ref_to_wallet
LLFourn [Sat, 30 Jan 2021 02:12:13 +0000 (13:12 +1100)]
Merge branch 'master' into make_txbuilder_take_ref_to_wallet

4 years agoFix whitespace and curse emacs
LLFourn [Sat, 30 Jan 2021 02:05:23 +0000 (13:05 +1100)]
Fix whitespace and curse emacs

4 years agoFix CHANGELOG to mention s/utxos/add_utxos/
LLFourn [Sat, 30 Jan 2021 01:58:05 +0000 (12:58 +1100)]
Fix CHANGELOG to mention s/utxos/add_utxos/

4 years agoMerge commit 'refs/pull/270/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Fri, 29 Jan 2021 20:24:39 +0000 (15:24 -0500)]
Merge commit 'refs/pull/270/head' of github.com:bitcoindevkit/bdk

4 years ago[keys] Improve the API of `DerivableKey`
Alekos Filini [Tue, 26 Jan 2021 16:48:44 +0000 (11:48 -0500)]
[keys] Improve the API of `DerivableKey`

A new `ExtendedKey` type has been added, which is basically an enum of
`bip32::ExtendedPubKey` and `bip32::ExtendedPrivKey`, with some extra metadata
regarding the `ScriptContext`.

This type has some methods that make it very easy to extract its content as
either an `xprv` or `xpub`.

The `DerivableKey` trait has been updated so that the user now only has to
implement a method (`DerivableKey::into_extended_key()`) to perform the
conversion into an `ExtendedKey`.

The method that was previously called `add_metadata()` has now been renamed
to `into_descriptor_key()`, and it has
a blanket implementation.

4 years agoMake maintain_single_recipient return a Result
LLFourn [Fri, 29 Jan 2021 01:10:22 +0000 (12:10 +1100)]
Make maintain_single_recipient return a Result

preferable to panicking.

4 years ago[ci] Update rust toolchains
Steve Myers [Wed, 27 Jan 2021 22:00:44 +0000 (14:00 -0800)]
[ci] Update rust toolchains

4 years ago[signer] Add `Signer::id()`
Alekos Filini [Mon, 25 Jan 2021 20:04:56 +0000 (15:04 -0500)]
[signer] Add `Signer::id()`

Closes #261

4 years agoFix the crate version in `src/lib.rs`
Alekos Filini [Tue, 26 Jan 2021 14:34:14 +0000 (09:34 -0500)]
Fix the crate version in `src/lib.rs`

4 years agoAdd a function to return the version of BDK at runtime
Alekos Filini [Mon, 25 Jan 2021 20:13:45 +0000 (15:13 -0500)]
Add a function to return the version of BDK at runtime

4 years agoMerge branch 'master' into make_txbuilder_take_ref_to_wallet
Lloyd Fournier [Sat, 23 Jan 2021 06:36:01 +0000 (17:36 +1100)]
Merge branch 'master' into make_txbuilder_take_ref_to_wallet

4 years agoMerge commit 'refs/pull/174/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Fri, 22 Jan 2021 15:38:17 +0000 (10:38 -0500)]
Merge commit 'refs/pull/174/head' of github.com:bitcoindevkit/bdk

4 years agoAdd "add_utxos" method on TxBuilder
LLFourn [Fri, 22 Jan 2021 03:59:01 +0000 (14:59 +1100)]
Add "add_utxos" method on TxBuilder

To replace the previously existing ".utxos"

4 years agoRemove not very useful comment
LLFourn [Fri, 22 Jan 2021 03:14:50 +0000 (14:14 +1100)]
Remove not very useful comment

Thanks @tcharding.

4 years agoDerive Clone + Debug for TxBuilder
LLFourn [Fri, 22 Jan 2021 03:11:29 +0000 (14:11 +1100)]
Derive Clone + Debug for TxBuilder

And make Wallet Debug while I'm at it.

4 years agoRevert back to Vec to hold utxos in builder
LLFourn [Fri, 22 Jan 2021 03:04:06 +0000 (14:04 +1100)]
Revert back to Vec to hold utxos in builder

Due to brain malfunction I made utxos into a BTree. This made a test
pass but is incorrect. The test itself was incorrect as per comment in

https://github.com/bitcoindevkit/bdk/pull/258#issuecomment-758370380

So I (1) reverted utxos back to a Vec, (2) fixed the test and expanded
the comment in the test.

4 years agoRemove Option trickery from TxBuilder API
LLFourn [Mon, 11 Jan 2021 03:14:14 +0000 (14:14 +1100)]
Remove Option trickery from TxBuilder API

see: https://github.com/bitcoindevkit/bdk/pull/258#issuecomment-754685962

4 years agoAssert that `.finish()` hasn't been called already in coin_selection
LLFourn [Tue, 5 Jan 2021 01:08:43 +0000 (12:08 +1100)]
Assert that `.finish()` hasn't been called already in coin_selection

4 years agoAdd comment explaining why params and coin_selection are Options
LLFourn [Tue, 5 Jan 2021 00:43:49 +0000 (11:43 +1100)]
Add comment explaining why params and coin_selection are Options

4 years agoFix wrong doc links
LLFourn [Mon, 4 Jan 2021 21:46:23 +0000 (08:46 +1100)]
Fix wrong doc links

4 years agoMake testutils dependency path relative
LLFourn [Sat, 2 Jan 2021 02:24:14 +0000 (13:24 +1100)]
Make testutils dependency path relative

4 years agoUpdate Changelog for Tx creation overhaul
LLFourn [Fri, 1 Jan 2021 03:52:10 +0000 (14:52 +1100)]
Update Changelog for Tx creation overhaul

4 years ago[wallet] Use doctest_wallet!() to remove some no_runs from doctests
LLFourn [Fri, 1 Jan 2021 03:15:24 +0000 (14:15 +1100)]
[wallet] Use doctest_wallet!() to remove some no_runs from doctests

...and improve the fee bumping example while trying to make it
no_run (but failed).

4 years ago[wallet] Overhaul TxBuilder internals and externals
LLFourn [Fri, 1 Jan 2021 02:35:05 +0000 (13:35 +1100)]
[wallet] Overhaul TxBuilder internals and externals

Fixes #251

TxBuilders are now not created directly but are created through the
wallet with `build_tx` and `build_fee_bump`.
The advantages of this realised in this commit are:

1. Normal tx creation and fee bumping use the code internally. The only
difference between normal tx and fee bump is how the builder is created.
2. The TxBuilder now has a refernce to the wallet and can therefore
lookup things as methods are called on it. `add_utxo` now uses this to
look up UTXO deta when it is called (rather than having to do it and
possibly error later on).

To support these changes `get_utxo` and `get_descriptor_for_keychain`
public methods have been added to Wallet. I could have kept them
pub(crate) but they seem like fine APIs to have publicly.

4 years agoChange "received_tx" into "populate_test_db" macro
LLFourn [Fri, 1 Jan 2021 02:22:33 +0000 (13:22 +1100)]
Change "received_tx" into "populate_test_db" macro

A `[cfg(test)]` function is not as helpful as a macro since it can't be
called in the context of a doctest.

Also adds doctest_wallet macro which can be used to create a wallet in a
doctest.

4 years agoMerge branch 'release/0.3.0'
Alekos Filini [Wed, 20 Jan 2021 15:59:09 +0000 (10:59 -0500)]
Merge branch 'release/0.3.0'

4 years agoBump version to 0.3.1-dev github/release/0.3.0
Alekos Filini [Wed, 20 Jan 2021 15:58:04 +0000 (10:58 -0500)]
Bump version to 0.3.1-dev

4 years agoBump version to 0.3.0 v0.3.0
Alekos Filini [Wed, 20 Jan 2021 15:39:24 +0000 (10:39 -0500)]
Bump version to 0.3.0

4 years agoUpdate CHANGELOG.md in preparation of tag `v0.3.0`
Alekos Filini [Wed, 20 Jan 2021 15:27:28 +0000 (10:27 -0500)]
Update CHANGELOG.md in preparation of tag `v0.3.0`

4 years agoUse contains combinator
Tobin Harding [Mon, 18 Jan 2021 08:28:18 +0000 (19:28 +1100)]
Use contains combinator

As suggested by clippy, use the `contains` combinator instead of doing
manual range check on floats.

4 years agoUse contains combinator
Tobin Harding [Mon, 18 Jan 2021 08:28:18 +0000 (19:28 +1100)]
Use contains combinator

As suggested by clippy, use the `contains` combinator instead of doing
manual range check on floats.

4 years agoAdd full stops to list items
Tobin Harding [Fri, 15 Jan 2021 21:45:04 +0000 (08:45 +1100)]
Add full stops to list items

Super anal patch to make list items uniform, add full stop to the items
where it is missing.

4 years agoRemove unexplainable newlines
Tobin Harding [Fri, 15 Jan 2021 21:40:55 +0000 (08:40 +1100)]
Remove unexplainable newlines

It seems the documentation of this project uses arbitrarily long
lines (i.e. no set column width) along with the occasional newline
before some sentences (within a paragraph). When to split a sentence
onto a newline does not seem to follow any discernible pattern.

There are a few instances of newline characters appearing randomly in
the middle of a sentence and since, as observed above, there is no
fixed column width is use these new lines are out of place.

Remove them so the documentation is slightly more uniform and nice to
read in an editor.

This patch is whitespace only, no other textual changes.

4 years agoDo minor grammar fix
Tobin Harding [Fri, 15 Jan 2021 21:29:07 +0000 (08:29 +1100)]
Do minor grammar fix

4 years ago[wallet] Add "needed" and "available" metadata to Error::InsufficientFunds
Justin Moon [Wed, 18 Nov 2020 00:05:33 +0000 (18:05 -0600)]
[wallet] Add "needed" and "available" metadata to Error::InsufficientFunds

4 years agoUpdate CHANGELOG
Justin Moon [Thu, 14 Jan 2021 05:04:23 +0000 (23:04 -0600)]
Update CHANGELOG

4 years ago[wallet] Add "needed" and "available" metadata to Error::InsufficientFunds
Justin Moon [Wed, 18 Nov 2020 00:05:33 +0000 (18:05 -0600)]
[wallet] Add "needed" and "available" metadata to Error::InsufficientFunds

4 years ago[blockchain] Upgrade tokio
Justin Moon [Wed, 18 Nov 2020 00:27:01 +0000 (18:27 -0600)]
[blockchain] Upgrade tokio

- Also upgrade reqwest
- Switch to `tokio::runtime::Builder::new_single_thread()` because
`tokio::runtime::Runtime::new()` changed it's behavior to create a
multithreaded runtime.
- `enable_all` enables time and io resource drivers as explained
[here](https://docs.rs/tokio/0.2.24/tokio/runtime/index.html#resource-drivers)

4 years agoBump version to 0.3.0-rc.1
Alekos Filini [Tue, 12 Jan 2021 20:41:30 +0000 (21:41 +0100)]
Bump version to 0.3.0-rc.1

4 years agoMerge commit 'refs/pull/264/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Tue, 12 Jan 2021 13:02:41 +0000 (14:02 +0100)]
Merge commit 'refs/pull/264/head' of github.com:bitcoindevkit/bdk

4 years agodescriptor: Use `DescriptorError` instead of `Error` when reasonable
Alekos Filini [Mon, 11 Jan 2021 12:12:01 +0000 (13:12 +0100)]
descriptor: Use `DescriptorError` instead of `Error` when reasonable

Change the return type of the `descriptor!()` macro and `ToWalletDescriptor` to
avoid having to map errors.

Also introduce more checks to validate descriptors built using the macro.

4 years agoPermit to not set timeout in ElectrumBlockchainConfig
Riccardo Casatta [Mon, 11 Jan 2021 10:37:34 +0000 (11:37 +0100)]
Permit to not set timeout in ElectrumBlockchainConfig

Allowing to use socks5 which requires None timeout

4 years agoFix crates.io license info
Steve Myers [Fri, 8 Jan 2021 18:20:02 +0000 (10:20 -0800)]
Fix crates.io license info

4 years agoMerge commit 'refs/pull/260/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Tue, 5 Jan 2021 15:06:32 +0000 (16:06 +0100)]
Merge commit 'refs/pull/260/head' of github.com:bitcoindevkit/bdk

4 years agoMerge commit 'refs/pull/248/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Tue, 5 Jan 2021 15:04:53 +0000 (16:04 +0100)]
Merge commit 'refs/pull/248/head' of github.com:bitcoindevkit/bdk

4 years agoMerge commit 'refs/pull/257/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Tue, 5 Jan 2021 15:01:15 +0000 (16:01 +0100)]
Merge commit 'refs/pull/257/head' of github.com:bitcoindevkit/bdk

4 years ago[ci] Fail 'Build docs' job if warnings
Steve Myers [Tue, 5 Jan 2021 00:20:47 +0000 (16:20 -0800)]
[ci] Fail 'Build docs' job if warnings

4 years agoRemove 'cli.rs' module, 'cli-utils' feature and 'repl.rs' example
Steve Myers [Tue, 22 Dec 2020 02:38:35 +0000 (18:38 -0800)]
Remove 'cli.rs' module, 'cli-utils' feature and 'repl.rs' example

4 years agoFix clippy warnings for compact_filters feature
Steve Myers [Thu, 31 Dec 2020 03:23:35 +0000 (19:23 -0800)]
Fix clippy warnings for compact_filters feature

4 years ago[ci] Fix clippy step to check matrix features
Steve Myers [Thu, 31 Dec 2020 03:23:00 +0000 (19:23 -0800)]
[ci] Fix clippy step to check matrix features

4 years ago[wallet] Fix details.fees being wrong when change is dust
LLFourn [Tue, 29 Dec 2020 05:36:35 +0000 (16:36 +1100)]
[wallet] Fix details.fees being wrong when change is dust

5 years agoMerge commit 'refs/pull/252/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Wed, 23 Dec 2020 17:39:05 +0000 (18:39 +0100)]
Merge commit 'refs/pull/252/head' of github.com:bitcoindevkit/bdk

5 years agoMerge commit 'refs/pull/250/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Wed, 23 Dec 2020 16:48:59 +0000 (17:48 +0100)]
Merge commit 'refs/pull/250/head' of github.com:bitcoindevkit/bdk

5 years agoUse () to indicate a missing blockchain
LLFourn [Wed, 23 Dec 2020 02:48:17 +0000 (13:48 +1100)]
Use () to indicate a missing blockchain

So that:
1. There are no runtime errors
2. There less type annotations needed
3. Less traits and stuff to document

5 years agoFix incredibly annoying cargo-fmt problem
LLFourn [Tue, 22 Dec 2020 03:37:53 +0000 (14:37 +1100)]
Fix incredibly annoying cargo-fmt problem

I must have a newer version of cargo-fmt which stops me from making
commits every time because of this.

5 years ago[docs] Add badges for crates.io, mit license. Fix docs.rs badge and link
Steve Myers [Mon, 21 Dec 2020 17:35:39 +0000 (09:35 -0800)]
[docs] Add badges for crates.io, mit license. Fix docs.rs badge and link

5 years agoFix the changelog after release v0.2.0
Alekos Filini [Mon, 21 Dec 2020 15:36:29 +0000 (16:36 +0100)]
Fix the changelog after release v0.2.0

5 years agoBump version to 0.2.1-dev github/release/0.2.0
Alekos Filini [Mon, 21 Dec 2020 13:51:49 +0000 (14:51 +0100)]
Bump version to 0.2.1-dev

5 years agoBump version to 0.2.0 v0.2.0
Alekos Filini [Mon, 21 Dec 2020 13:16:14 +0000 (14:16 +0100)]
Bump version to 0.2.0

5 years agoAdd metadata to Cargo.toml, remove local deps
Alekos Filini [Mon, 21 Dec 2020 13:03:32 +0000 (14:03 +0100)]
Add metadata to Cargo.toml, remove local deps

5 years agoAdd metadata for `bdk-testutils` and `bdk-testutils-macros`, bump their version
Alekos Filini [Mon, 21 Dec 2020 11:38:19 +0000 (12:38 +0100)]
Add metadata for `bdk-testutils` and `bdk-testutils-macros`, bump their version

5 years ago[testutils-macros] Fix deps features
Alekos Filini [Mon, 21 Dec 2020 12:16:05 +0000 (13:16 +0100)]
[testutils-macros] Fix deps features

5 years agoAdd metadata for `bdk-macros`, bump its version
Alekos Filini [Mon, 21 Dec 2020 11:14:06 +0000 (12:14 +0100)]
Add metadata for `bdk-macros`, bump its version

5 years agoDocument the development cycle
Alekos Filini [Fri, 18 Dec 2020 11:08:54 +0000 (12:08 +0100)]
Document the development cycle

5 years agoBump version to 0.2.0-rc.1
Alekos Filini [Fri, 18 Dec 2020 09:52:10 +0000 (10:52 +0100)]
Bump version to 0.2.0-rc.1

5 years agoMerge commit 'refs/pull/235/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Fri, 18 Dec 2020 09:41:37 +0000 (10:41 +0100)]
Merge commit 'refs/pull/235/head' of github.com:bitcoindevkit/bdk

5 years ago[ci] Remove unneeded skip step conditionals in CI
Steve Myers [Wed, 16 Dec 2020 23:29:46 +0000 (15:29 -0800)]
[ci] Remove unneeded skip step conditionals in CI

5 years agoFix empty checkboxes in PR template
Steve Myers [Wed, 16 Dec 2020 23:26:17 +0000 (15:26 -0800)]
Fix empty checkboxes in PR template

5 years ago[docs] Format code in docs with '--config format_code_in_doc_comments=true'
Steve Myers [Wed, 16 Dec 2020 22:19:37 +0000 (14:19 -0800)]
[docs] Format code in docs with '--config format_code_in_doc_comments=true'

5 years ago[docs] Replace all 'allow(missing_docs)' with basic docs
Steve Myers [Wed, 16 Dec 2020 21:57:01 +0000 (13:57 -0800)]
[docs] Replace all 'allow(missing_docs)' with basic docs

5 years ago[docs] Add more docs to 'types.rs'
Steve Myers [Wed, 16 Dec 2020 19:33:34 +0000 (11:33 -0800)]
[docs] Add more docs to 'types.rs'

5 years ago[keys] impl `ToDescriptorKey` for `&str`
Alekos Filini [Wed, 16 Dec 2020 18:01:16 +0000 (19:01 +0100)]
[keys] impl `ToDescriptorKey` for `&str`

5 years ago[descriptor] Make the syntax of `descriptor!()` more consistent
Alekos Filini [Wed, 16 Dec 2020 15:10:22 +0000 (16:10 +0100)]
[descriptor] Make the syntax of `descriptor!()` more consistent

The syntax now is pretty much the same as the normal descriptor syntax,
with the only difference that modifiers cannot be grouped together (i.e.
`sdv:older(144)` must be turned into `s:d:v:older(144)`.

5 years ago[docs] use only sled instead of crate::sled
Riccardo Casatta [Wed, 16 Dec 2020 11:10:40 +0000 (12:10 +0100)]
[docs] use only sled instead of crate::sled

5 years ago[docs] fix NetworkMessage::Ping docs link
Riccardo Casatta [Wed, 16 Dec 2020 11:06:09 +0000 (12:06 +0100)]
[docs] fix NetworkMessage::Ping docs link

5 years agoMerge commit 'refs/pull/223/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Wed, 16 Dec 2020 10:11:38 +0000 (11:11 +0100)]
Merge commit 'refs/pull/223/head' of github.com:bitcoindevkit/bdk

5 years agoMerge commit 'refs/pull/229/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Wed, 16 Dec 2020 09:48:10 +0000 (10:48 +0100)]
Merge commit 'refs/pull/229/head' of github.com:bitcoindevkit/bdk

5 years agoalways build docs and create artifacts, publish only on master
Riccardo Casatta [Wed, 16 Dec 2020 08:58:34 +0000 (09:58 +0100)]
always build docs and create artifacts, publish only on master

5 years ago[docs] Add docs to the 'wallet' module
Steve Myers [Fri, 11 Dec 2020 22:10:11 +0000 (14:10 -0800)]
[docs] Add docs to the 'wallet' module

5 years ago[ci] Fix publishing coverage to codecov.io
Steve Myers [Tue, 15 Dec 2020 18:36:47 +0000 (10:36 -0800)]
[ci] Fix publishing coverage to codecov.io

5 years agoTake ID into account in SignersContainerKey's PartialEq impl
Evgenii P [Tue, 15 Dec 2020 15:40:07 +0000 (22:40 +0700)]
Take ID into account in SignersContainerKey's PartialEq impl

5 years agoMerge commit 'refs/pull/228/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Tue, 15 Dec 2020 13:33:59 +0000 (14:33 +0100)]
Merge commit 'refs/pull/228/head' of github.com:bitcoindevkit/bdk

5 years ago[wallet] Add tests for `check_nsequence_rbf` and `check_nlocktime`
Alekos Filini [Mon, 14 Dec 2020 15:25:59 +0000 (16:25 +0100)]
[wallet] Add tests for `check_nsequence_rbf` and `check_nlocktime`

5 years ago[wallet] Set the correct nSequence when RBF and OP_CSV are used
Alekos Filini [Mon, 7 Dec 2020 13:48:17 +0000 (14:48 +0100)]
[wallet] Set the correct nSequence when RBF and OP_CSV are used

This commit also fixes the timelock comparing logic in the policy module, since
the rules are different for absolute (OP_CLTV) and relative (OP_CSV) timelocks.

Fixes #215