]> Untitled Git - bdk/log
bdk
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 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 years agorustfmt
Evgenii P [Tue, 15 Dec 2020 04:34:25 +0000 (11:34 +0700)]
rustfmt

5 years agoFix SignersContainer::find to filter out incorrect IDs
Evgenii P [Tue, 15 Dec 2020 04:33:57 +0000 (11:33 +0700)]
Fix SignersContainer::find to filter out incorrect IDs

5 years agoFix SignersContainerKey PartialOrd to respect the ID
Evgenii P [Tue, 15 Dec 2020 04:33:33 +0000 (11:33 +0700)]
Fix SignersContainerKey PartialOrd to respect the ID

5 years agoRevert replacing BTreeMap to HashMap in SingersContainer
Evgenii P [Mon, 14 Dec 2020 10:50:47 +0000 (17:50 +0700)]
Revert replacing BTreeMap to HashMap in SingersContainer

5 years agoFix doc comment fallout from s/script type/keychain
LLFourn [Mon, 14 Dec 2020 21:39:19 +0000 (08:39 +1100)]
Fix doc comment fallout from s/script type/keychain

5 years agoRename `ScriptType` to `KeychainKind`
Alekos Filini [Mon, 14 Dec 2020 16:14:24 +0000 (17:14 +0100)]
Rename `ScriptType` to `KeychainKind`

This avoids confusion with the "type of script".

5 years ago[ci] Ignore empty nightly docs commits instead of failing
Alekos Filini [Mon, 14 Dec 2020 14:16:38 +0000 (15:16 +0100)]
[ci] Ignore empty nightly docs commits instead of failing

5 years agoMerge commit 'refs/pull/222/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Mon, 14 Dec 2020 10:44:06 +0000 (11:44 +0100)]
Merge commit 'refs/pull/222/head' of github.com:bitcoindevkit/bdk

5 years agoMerge commit 'refs/pull/221/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Mon, 14 Dec 2020 10:27:51 +0000 (11:27 +0100)]
Merge commit 'refs/pull/221/head' of github.com:bitcoindevkit/bdk

5 years agoMerge commit 'refs/pull/224/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Mon, 14 Dec 2020 10:18:51 +0000 (11:18 +0100)]
Merge commit 'refs/pull/224/head' of github.com:bitcoindevkit/bdk

5 years agoUse unstable sort by key for performance
Evgenii P [Mon, 14 Dec 2020 09:27:54 +0000 (16:27 +0700)]
Use unstable sort by key for performance

5 years agoAdd the pull request template
Alekos Filini [Fri, 11 Dec 2020 14:53:12 +0000 (15:53 +0100)]
Add the pull request template

5 years ago[docs] Add experimental warning to compact_filters and policy modules
Steve Myers [Mon, 14 Dec 2020 05:04:17 +0000 (21:04 -0800)]
[docs] Add experimental warning to compact_filters and policy modules

5 years ago[docs] Add docs to the 'descriptor' module
Steve Myers [Mon, 14 Dec 2020 04:36:38 +0000 (20:36 -0800)]
[docs] Add docs to the 'descriptor' module

5 years ago[docs] Add docs to the 'template' module
Steve Myers [Mon, 14 Dec 2020 04:35:59 +0000 (20:35 -0800)]
[docs] Add docs to the 'template' module

5 years ago[docs] Add docs to the 'policy' module
Steve Myers [Thu, 10 Dec 2020 22:24:30 +0000 (14:24 -0800)]
[docs] Add docs to the 'policy' module

5 years agoIgnore broken tests. (#225)
Evgenii P [Mon, 14 Dec 2020 03:17:12 +0000 (10:17 +0700)]
Ignore broken tests. (#225)

5 years agorustfmt
Evgenii P [Sun, 13 Dec 2020 17:43:07 +0000 (00:43 +0700)]
rustfmt

5 years agoAdd unit tests for SignersContainer
Evgenii P [Sun, 13 Dec 2020 17:22:22 +0000 (00:22 +0700)]
Add unit tests for SignersContainer

5 years agoRemove debug output
Evgenii P [Sun, 13 Dec 2020 17:22:06 +0000 (00:22 +0700)]
Remove debug output

5 years agoReplace BTreeMap with a HashMap
Evgenii P [Sun, 13 Dec 2020 11:37:27 +0000 (18:37 +0700)]
Replace BTreeMap with a HashMap

5 years agoMerge commit 'refs/pull/218/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Fri, 11 Dec 2020 15:31:17 +0000 (16:31 +0100)]
Merge commit 'refs/pull/218/head' of github.com:bitcoindevkit/bdk

5 years agoFix the REPL example to have optional esplora
Evgenii P [Wed, 9 Dec 2020 09:46:05 +0000 (16:46 +0700)]
Fix the REPL example to have optional esplora

5 years agoRemove unused macro imports
Evgenii P [Wed, 9 Dec 2020 09:45:12 +0000 (16:45 +0700)]
Remove unused macro imports

5 years agoMake "esplora" feature optional for REPL binary
Evgenii P [Wed, 9 Dec 2020 09:44:40 +0000 (16:44 +0700)]
Make "esplora" feature optional for REPL binary

5 years ago[keys] Replace `(Fingerprint, DerivationPath)` with `KeySource`
Alekos Filini [Fri, 11 Dec 2020 10:14:30 +0000 (11:14 +0100)]
[keys] Replace `(Fingerprint, DerivationPath)` with `KeySource`

5 years ago[docs] Add the docs to the `keys` module
Alekos Filini [Thu, 10 Dec 2020 10:39:01 +0000 (11:39 +0100)]
[docs] Add the docs to the `keys` module

5 years ago[docs] Various fixes to the docs
Alekos Filini [Thu, 10 Dec 2020 10:38:42 +0000 (11:38 +0100)]
[docs] Various fixes to the docs

5 years ago[ci] Test the examples in README.md
Alekos Filini [Thu, 10 Dec 2020 10:21:49 +0000 (11:21 +0100)]
[ci] Test the examples in README.md

5 years agoAdd warn and TODOs for missing_docs and add lib.rs docs
Steve Myers [Tue, 8 Dec 2020 02:23:14 +0000 (18:23 -0800)]
Add warn and TODOs for missing_docs and add lib.rs docs

5 years agoAdd TODOs for missing_docs
Steve Myers [Tue, 8 Dec 2020 02:21:18 +0000 (18:21 -0800)]
Add TODOs for missing_docs

5 years agoFix README.md examples
Steve Myers [Tue, 8 Dec 2020 02:19:54 +0000 (18:19 -0800)]
Fix README.md examples

5 years agoFix unused import warning and docs link warning
Steve Myers [Mon, 7 Dec 2020 18:56:01 +0000 (10:56 -0800)]
Fix unused import warning and docs link warning

5 years agoMerge commit 'refs/pull/214/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Mon, 7 Dec 2020 10:57:32 +0000 (11:57 +0100)]
Merge commit 'refs/pull/214/head' of github.com:bitcoindevkit/bdk

5 years agoMerge commit 'refs/pull/213/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Mon, 7 Dec 2020 10:57:03 +0000 (11:57 +0100)]
Merge commit 'refs/pull/213/head' of github.com:bitcoindevkit/bdk

5 years agoMerge commit 'refs/pull/210/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Mon, 7 Dec 2020 10:21:21 +0000 (11:21 +0100)]
Merge commit 'refs/pull/210/head' of github.com:bitcoindevkit/bdk

5 years agoMerge commit 'refs/pull/208/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Mon, 7 Dec 2020 10:09:40 +0000 (11:09 +0100)]
Merge commit 'refs/pull/208/head' of github.com:bitcoindevkit/bdk

5 years ago[docs] database/any.rs
Riccardo Casatta [Fri, 4 Dec 2020 15:20:56 +0000 (16:20 +0100)]
[docs] database/any.rs

5 years ago[docs] types.rs
Riccardo Casatta [Fri, 4 Dec 2020 15:13:15 +0000 (16:13 +0100)]
[docs] types.rs

5 years ago[docs] descriptor/error.rs
Riccardo Casatta [Fri, 4 Dec 2020 14:59:39 +0000 (15:59 +0100)]
[docs] descriptor/error.rs

5 years ago[docs] compact_filters/mod.rs
Riccardo Casatta [Fri, 4 Dec 2020 14:48:22 +0000 (15:48 +0100)]
[docs] compact_filters/mod.rs

5 years ago[docs] error.rs
Riccardo Casatta [Fri, 4 Dec 2020 13:35:14 +0000 (14:35 +0100)]
[docs] error.rs

5 years agoMerge commit 'refs/pull/209/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Fri, 4 Dec 2020 10:57:44 +0000 (11:57 +0100)]
Merge commit 'refs/pull/209/head' of github.com:bitcoindevkit/bdk

5 years agogeneralize impl_error! macro so that used for other errors type
Riccardo Casatta [Fri, 4 Dec 2020 10:23:01 +0000 (11:23 +0100)]
generalize impl_error! macro so that used for other errors type

5 years agoRemove EsploraHeader json in favor of raw hex block header
Riccardo Casatta [Fri, 4 Dec 2020 09:59:06 +0000 (10:59 +0100)]
Remove EsploraHeader json in favor of raw hex block header

5 years agoUpdate cli module to use StructOpt and add docs
Steve Myers [Tue, 1 Dec 2020 06:03:39 +0000 (22:03 -0800)]
Update cli module to use StructOpt and add docs

5 years agoReplace UTXO::is_internal with script_type
LLFourn [Thu, 3 Dec 2020 23:37:58 +0000 (10:37 +1100)]
Replace UTXO::is_internal with script_type

This means less conversion and logic mapping from bool to ScriptType and
back again.

5 years ago[ci] Build and publish nightly docs
Alekos Filini [Thu, 3 Dec 2020 14:00:04 +0000 (15:00 +0100)]
[ci] Build and publish nightly docs

5 years agoFix docs
Steve Myers [Thu, 3 Dec 2020 00:54:49 +0000 (16:54 -0800)]
Fix docs

5 years agoallow missing docs on self-explanatory variants
Riccardo Casatta [Fri, 27 Nov 2020 10:10:58 +0000 (11:10 +0100)]
allow missing docs on self-explanatory variants

5 years agomissing docs for esplora.rs (also remove useless pubs)
Riccardo Casatta [Fri, 27 Nov 2020 10:10:10 +0000 (11:10 +0100)]
missing docs for esplora.rs (also remove useless pubs)