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

5 years agoMissing docs for electrum.rs
Riccardo Casatta [Fri, 27 Nov 2020 09:25:12 +0000 (10:25 +0100)]
Missing docs for electrum.rs

5 years ago[changelog] Update CHANGELOG.md to document `PSBT_GLOBAL_XPUB`
Alekos Filini [Tue, 1 Dec 2020 10:12:40 +0000 (11:12 +0100)]
[changelog] Update CHANGELOG.md to document `PSBT_GLOBAL_XPUB`

Log the changes made in PR #200

5 years ago[wallet] Add tests for `TxBuilder::add_global_xpubs()`
Alekos Filini [Tue, 1 Dec 2020 10:10:14 +0000 (11:10 +0100)]
[wallet] Add tests for `TxBuilder::add_global_xpubs()`

5 years ago[wallet] Add a flag to fill-in `PSBT_GLOBAL_XPUB`
Alekos Filini [Mon, 30 Nov 2020 14:13:33 +0000 (15:13 +0100)]
[wallet] Add a flag to fill-in `PSBT_GLOBAL_XPUB`

5 years ago[cli] Add a flag to build PSBTs for offline signers
Alekos Filini [Mon, 30 Nov 2020 13:23:19 +0000 (14:23 +0100)]
[cli] Add a flag to build PSBTs for offline signers

The `--offline_signer` flag forces the addition of `non_witness_utxo` and the full
witness and redeem script for every output, which makes it easier for the signer
to identify the change output.

Closes #199

5 years ago[blockchain] Fix clippy warnings
Alekos Filini [Tue, 1 Dec 2020 13:36:15 +0000 (14:36 +0100)]
[blockchain] Fix clippy warnings

5 years ago[wallet] Add wallet.network()
LLFourn [Tue, 1 Dec 2020 02:29:20 +0000 (13:29 +1100)]
[wallet] Add wallet.network()

5 years agoMerge commit 'refs/pull/189/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Mon, 30 Nov 2020 14:38:09 +0000 (15:38 +0100)]
Merge commit 'refs/pull/189/head' of github.com:bitcoindevkit/bdk

5 years agoMerge commit 'refs/pull/191/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Mon, 30 Nov 2020 14:17:09 +0000 (15:17 +0100)]
Merge commit 'refs/pull/191/head' of github.com:bitcoindevkit/bdk

5 years agouse electurm-client updated
Riccardo Casatta [Tue, 24 Nov 2020 11:16:49 +0000 (12:16 +0100)]
use electurm-client updated

5 years agoMerge commit 'refs/pull/188/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Tue, 24 Nov 2020 10:14:47 +0000 (11:14 +0100)]
Merge commit 'refs/pull/188/head' of github.com:bitcoindevkit/bdk

5 years agoSwitch to `miniscript` from `crates.io`
Alekos Filini [Tue, 24 Nov 2020 09:07:37 +0000 (10:07 +0100)]
Switch to `miniscript` from `crates.io`

5 years agoUpdate `tiny-bip39` to v0.8
Alekos Filini [Tue, 24 Nov 2020 09:01:42 +0000 (10:01 +0100)]
Update `tiny-bip39` to v0.8

Fixes #185

5 years agoFix typo in CONTRIBUTING.md
Steve Myers [Tue, 24 Nov 2020 05:40:40 +0000 (21:40 -0800)]
Fix typo in CONTRIBUTING.md

5 years agoAdd CHANGELOG.md
Steve Myers [Tue, 24 Nov 2020 03:04:20 +0000 (19:04 -0800)]
Add CHANGELOG.md

5 years agoRemove trait bounds on Wallet struct
LLFourn [Tue, 24 Nov 2020 01:40:58 +0000 (12:40 +1100)]
Remove trait bounds on Wallet struct

see: https://github.com/rust-lang/api-guidelines/issues/6

5 years ago[wallet] Eagerly finalize inputs
LLFourn [Tue, 17 Nov 2020 06:53:06 +0000 (17:53 +1100)]
[wallet] Eagerly finalize inputs

If we know the final witness/scriptsig for an input we should add it
right away to the PSBT. Before, if we couldn't finalize any of them we
finalized none of them.

5 years agoFix to at least bitcoin ^0.25.2
LLFourn [Mon, 23 Nov 2020 04:06:13 +0000 (15:06 +1100)]
Fix to at least bitcoin ^0.25.2

And fix the fallout.

5 years agoMerge commit 'refs/pull/172/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Fri, 20 Nov 2020 11:06:41 +0000 (12:06 +0100)]
Merge commit 'refs/pull/172/head' of github.com:bitcoindevkit/bdk

5 years agoMerge commit 'refs/pull/184/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Fri, 20 Nov 2020 10:58:31 +0000 (11:58 +0100)]
Merge commit 'refs/pull/184/head' of github.com:bitcoindevkit/bdk

5 years agoUse dirs-next instead of dirs since the latter is unmantained
Riccardo Casatta [Thu, 19 Nov 2020 14:22:46 +0000 (15:22 +0100)]
Use dirs-next instead of dirs since the latter is unmantained

5 years agoMore consistent references with 'signers' variables
Justin Moon [Thu, 19 Nov 2020 16:19:57 +0000 (10:19 -0600)]
More consistent references with 'signers' variables

5 years ago[wallet] Don't wrap SignersContainer arguments in Arc
Justin Moon [Tue, 17 Nov 2020 18:05:32 +0000 (12:05 -0600)]
[wallet] Don't wrap SignersContainer arguments in Arc

5 years agoMerge commit 'refs/pull/169/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Thu, 19 Nov 2020 14:41:17 +0000 (15:41 +0100)]
Merge commit 'refs/pull/169/head' of github.com:bitcoindevkit/bdk

5 years agoAdd scheduled audit check in CI
Riccardo Casatta [Thu, 19 Nov 2020 14:18:04 +0000 (15:18 +0100)]
Add scheduled audit check in CI

5 years ago[ci] Generate a different cache key for every job
Alekos Filini [Thu, 19 Nov 2020 11:20:49 +0000 (12:20 +0100)]
[ci] Generate a different cache key for every job

5 years agopin cc version because last breaks rocksdb build
Riccardo Casatta [Thu, 19 Nov 2020 12:11:06 +0000 (13:11 +0100)]
pin cc version because last breaks rocksdb build

5 years ago[wallet] Add witness and redeem scripts to PSBT outputs
Justin Moon [Mon, 16 Nov 2020 22:25:16 +0000 (16:25 -0600)]
[wallet] Add witness and redeem scripts to PSBT outputs

5 years agoAllow to set concurrency in Esplora config and optionally pass it in repl
Riccardo Casatta [Tue, 17 Nov 2020 08:58:29 +0000 (09:58 +0100)]
Allow to set concurrency in Esplora config and optionally pass it in repl

5 years agoMake esplora call in parallel
Riccardo Casatta [Tue, 3 Nov 2020 21:09:32 +0000 (22:09 +0100)]
Make esplora call in parallel

5 years agoMerge commit 'refs/pull/167/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Wed, 18 Nov 2020 09:44:54 +0000 (10:44 +0100)]
Merge commit 'refs/pull/167/head' of github.com:bitcoindevkit/bdk

5 years agoMerge commit 'refs/pull/166/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Wed, 18 Nov 2020 09:31:51 +0000 (10:31 +0100)]
Merge commit 'refs/pull/166/head' of github.com:bitcoindevkit/bdk

5 years agofix typo
Riccardo Casatta [Wed, 18 Nov 2020 08:27:01 +0000 (09:27 +0100)]
fix typo

5 years ago[descriptor] Add support for `sortedmulti` in `descriptor!`
Alekos Filini [Tue, 17 Nov 2020 22:40:31 +0000 (23:40 +0100)]
[descriptor] Add support for `sortedmulti` in `descriptor!`

5 years agoSwitch to "mainline" rust-miniscript
Alekos Filini [Mon, 16 Nov 2020 21:07:38 +0000 (22:07 +0100)]
Switch to "mainline" rust-miniscript

5 years agoRemove unused varaint HeaderParseFail
Riccardo Casatta [Tue, 17 Nov 2020 17:54:34 +0000 (18:54 +0100)]
Remove unused varaint HeaderParseFail

5 years agoRequire esplora feature for repl example
Riccardo Casatta [Tue, 17 Nov 2020 15:47:58 +0000 (16:47 +0100)]
Require esplora feature for repl example

5 years agoBring less data around
Riccardo Casatta [Tue, 17 Nov 2020 15:29:03 +0000 (16:29 +0100)]
Bring less data around

5 years agoeagerly unwrap height option, save one collect
Riccardo Casatta [Tue, 17 Nov 2020 14:50:15 +0000 (15:50 +0100)]
eagerly unwrap height option, save one collect

5 years agouse flatten instead of unwrap_or
Riccardo Casatta [Tue, 17 Nov 2020 14:24:26 +0000 (15:24 +0100)]
use flatten instead of unwrap_or

5 years agoavoid a max() call by checking minus or equal
Riccardo Casatta [Tue, 17 Nov 2020 14:19:09 +0000 (15:19 +0100)]
avoid a max() call by checking minus or equal

5 years agoUse filter_map instead of filter and map
Riccardo Casatta [Tue, 17 Nov 2020 14:14:24 +0000 (15:14 +0100)]
Use filter_map instead of filter and map

5 years agouse proper type for EsploraHeader, make conversion to BlockHeader infallible
Riccardo Casatta [Tue, 17 Nov 2020 14:08:04 +0000 (15:08 +0100)]
use proper type for EsploraHeader, make conversion to BlockHeader infallible

5 years agoconditionally remove cli args according to enabled feature
Riccardo Casatta [Tue, 17 Nov 2020 13:27:32 +0000 (14:27 +0100)]
conditionally remove cli args according to enabled feature

5 years agoUse our Instant struct to be compatible with wasm
Riccardo Casatta [Tue, 17 Nov 2020 12:46:10 +0000 (13:46 +0100)]
Use our Instant struct to be compatible with wasm

5 years ago[examples] support esplora blockchain source in repl
Riccardo Casatta [Mon, 16 Nov 2020 11:23:02 +0000 (12:23 +0100)]
[examples] support esplora blockchain source in repl

5 years ago[sync] Improve sync
Riccardo Casatta [Mon, 16 Nov 2020 11:18:34 +0000 (12:18 +0100)]
[sync] Improve sync

Make every request in batch, to save round trip times
Fetch timestamp of blockheader to populate timestamp field in transaction
Remove listunspent requests because we can compute it from our history

5 years ago[wallet] Build output lookup inside complete transaction
LLFourn [Tue, 17 Nov 2020 01:37:53 +0000 (12:37 +1100)]
[wallet] Build output lookup inside complete transaction

To avoid the caller having to do it.

5 years ago[wallet] Add test that shwpkh populates witness_utxo
LLFourn [Tue, 17 Nov 2020 01:30:58 +0000 (12:30 +1100)]
[wallet] Add test that shwpkh populates witness_utxo