]> Untitled Git - bdk-cli/log
bdk-cli
3 years agoMerge bitcoindevkit/bdk-cli#82: [bug fix] Add `maybe_descriptor_wallet_name()` in...
Steve Myers [Tue, 29 Mar 2022 22:14:59 +0000 (15:14 -0700)]
Merge bitcoindevkit/bdk-cli#82: [bug fix] Add `maybe_descriptor_wallet_name()` in repl mode

fd3f2b4c1188abb0a70946ec651bfb9c03220857 Fix repl error and help printing (Steve Myers)
e4eda39e01063c506cd1ad43be1294f360c7bdb9 Add `maybe_descriptor_wallet_name()` is repl mode (rajarshimaitra)

Pull request description:

  <!-- You can erase any parts of this template not applicable to your Pull Request. -->

  ### Description

  Because we didn't had `maybe_descriptor_wallet_name()` in repl, the following command would fail
  ```
  $ ./target/debug/bdk-cli repl -d "wpkh([b8b575c2/84'/1'/0'/0]tprv8icWtRzy9CWgFxpGMLSdAeE4wWyz39XGc6SwykeTo13tYm14JkVVQAf7jz8WDDarCgNJrG3aEPJEqchDWeJdiaWpS3FwbLB9SzsN57V7qxB/*)"
  thread 'main' panicked at 'We should always have a wallet name at this point', src/bdk_cli.rs:116:10
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  ```

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

ACKs for top commit:
  notmandatory:
    tACK fd3f2b4c1188abb0a70946ec651bfb9c03220857

Tree-SHA512: 80008f089b882b5139ea127b734e38553877a8b0688e123f0f3f25a2f01a74a0ce1d842df00b55148a3825eba552cf8e9ff4cbf96b4275176494884b24814203

3 years agoFix repl error and help printing
Steve Myers [Tue, 29 Mar 2022 21:11:33 +0000 (14:11 -0700)]
Fix repl error and help printing

3 years agoAdd `maybe_descriptor_wallet_name()` is repl mode
rajarshimaitra [Fri, 25 Mar 2022 14:16:22 +0000 (19:46 +0530)]
Add `maybe_descriptor_wallet_name()` is repl mode

3 years agoMerge bitcoindevkit/bdk-cli#80: Re-licensing to dual MIT and Apache 2.0 and update...
Steve Myers [Mon, 21 Mar 2022 19:48:47 +0000 (14:48 -0500)]
Merge bitcoindevkit/bdk-cli#80: Re-licensing to dual MIT and Apache 2.0 and update project name

0363f9efe2a647500b99b1069cf1e465f9bb0064 Re-license to dual MIT and Apache 2.0 and update project name to "Bitcoin Dev Kit" (Steve Myers)

Pull request description:

  ### Description

  Re-licensing repo to dual MIT and Apache 2.0 and updating project name to "Bitcoin Dev Kit".  I want to do this now before we get too many new contributors. Also because this project is being proposed for use in a commercial project so I want to clarify it is broadly licensed as is the rest of BDK.

  This issue is based on https://github.com/bitcoindevkit/bdk/issues/301.

  ### Notes to the reviewers

  If you're on the below list and agree with this change please add a comment with "I hereby license my previous contributions to Bitcoin Dev Kit under Apache 2.0 and MIT licenses."

  - [x] @notmandatory 96 Steve Myers <steve@notmandatory.org>
  - [x] @afilini 68  Alekos Filini <alekos.filini@gmail.com>
  - [x] @rajarshimaitra 33  rajarshimaitra <rajarshi149@gmail.com>
  - [x] @RCasatta 13  Riccardo Casatta <riccardo@casatta.it>
  - [ ] @I5hi 8 Vishal Menon <vishalmenon.92@gmail.com>
  - [ ] @LLFourn 6  LLFourn <lloyd.fourn@gmail.com>
  - [x] @ulrichard 5 Richard Ulrich <richi@paraeasy.ch>
  - [x] @sandipndev 4 Sandipan Dey <hey@sandipan.dev>
  - [ ] @DarthBenro008 3 DarthBenro008 <hkpdev008@gmail.com>
  - [x] @eupn 3 Evgen ii P <eupn@protonmail.com>
  - [x] @thunderbiscuit 3 thunderbiscuit <thunderbiscuit@protonmail.com>
  - [x] @willcl-ark 1  willcl-ark <will8clark@gmail.com>
  - [x] @dspicher 1  Dominik Spicher <dominik.spicher@inacta.ch>

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

  #### New Features:

  * [x] I've updated `CHANGELOG.md`

Top commit has no ACKs.

Tree-SHA512: 9eb4b469c6d1095e7ba793b4c2472a30203decfe6a3bfa836f2cc0928eaf767f8fd842a0aab5026d9cd6b9553418aa00f203ced5146ade0a48e980a3ba0b2469

3 years agoRe-license to dual MIT and Apache 2.0 and update project name to "Bitcoin Dev Kit"
Steve Myers [Mon, 14 Mar 2022 15:25:06 +0000 (10:25 -0500)]
Re-license to dual MIT and Apache 2.0 and update project name to "Bitcoin Dev Kit"

3 years agoMerge bitcoindevkit/bdk-cli#72: Add resources section to readme
Steve Myers [Mon, 14 Mar 2022 01:19:49 +0000 (20:19 -0500)]
Merge bitcoindevkit/bdk-cli#72: Add resources section to readme

63b472b2db526d2685147b4c885d27ea28855735 Add episode on the Bitcoin Developers Show to resources (thunderbiscuit)
8d9fdbdd3004a2852308af9f476e6e0736c065a1 Add resources section to readme (thunderbiscuit)

Pull request description:

  <!-- You can erase any parts of this template not applicable to your Pull Request. -->

  ### Description
  This PR adds a Resources section with links to resources, currently the docs on the bitcoindevkit.org website and the Tutorial series I made which is on youtube. Once Steve does the show with Conor next week we could add that to the list as well!

  ### Checklists
  * [x] I've signed all my commits

ACKs for top commit:
  rajarshimaitra:
    ReACK https://github.com/bitcoindevkit/bdk-cli/pull/72/commits/63b472b2db526d2685147b4c885d27ea28855735

Tree-SHA512: 321fb99021dc63375b80d8caeebf255bbe03fe07d9afd65d0274a7051b91908525534c65926160601599e2d7081df3f71cae4f78777c3a5414bef650561aa91a

3 years agoAdd episode on the Bitcoin Developers Show to resources
thunderbiscuit [Fri, 11 Mar 2022 16:35:42 +0000 (11:35 -0500)]
Add episode on the Bitcoin Developers Show to resources

3 years agoMerge bitcoindevkit/bdk-cli#74: Bump version to 0.4.0 and add tag v0.4.0 for release
Steve Myers [Sat, 5 Mar 2022 23:57:07 +0000 (15:57 -0800)]
Merge bitcoindevkit/bdk-cli#74: Bump version to 0.4.0 and add tag v0.4.0 for release

8b417a302a5dc7fb4bc64a143a138d81ae1d67de Bump version to 0.4.0 (Steve Myers)
dab5d825f1a4496a38222545a4dd3744a9487dc0 Update Cargo.lock (Steve Myers)

Pull request description:

  ### Description

  Bump version to 0.4.0 and add tag v0.4.0 for release.

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

  #### New Features:

  * [x] I've updated `CHANGELOG.md`

ACKs for top commit:
  rajarshimaitra:
    Review + tACK https://github.com/bitcoindevkit/bdk-cli/pull/74/commits/8b417a302a5dc7fb4bc64a143a138d81ae1d67de

Tree-SHA512: aeb60b2800b6c46aac325747aec053249d01ab80e78d48ef0f579251f9d82dc191ce4bb0f9ff2a968acd151d8482bb494a98c5c8bb889eb2d03f25394e36bcfd

3 years agoBump version to 0.4.0 v0.4.0
Steve Myers [Sat, 5 Mar 2022 02:38:21 +0000 (18:38 -0800)]
Bump version to 0.4.0

3 years agoUpdate Cargo.lock
Steve Myers [Sat, 5 Mar 2022 02:37:45 +0000 (18:37 -0800)]
Update Cargo.lock

3 years agoAdd resources section to readme
thunderbiscuit [Thu, 3 Mar 2022 17:25:02 +0000 (12:25 -0500)]
Add resources section to readme

3 years agoMerge bitcoindevkit/bdk-cli#68: Add cookie authentication option for rpc
Steve Myers [Sat, 12 Feb 2022 17:33:57 +0000 (09:33 -0800)]
Merge bitcoindevkit/bdk-cli#68: Add cookie authentication option for rpc

1ab2b0ffc780defa913ec9ce2dc021b355c2aeb3 Fix docs test for WalletOpts (Steve Myers)
a9f14a9a4d05d833deee66113319cd6bc8b3f641 Update CHANGELOG (rajarshimaitra)
180fe4748c85dde7668785abf8593c1a34c55238 Add cookie authentication option for rpc (rajarshimaitra)

Pull request description:

  ### Description

  Fixes https://github.com/bitcoindevkit/bdk-cli/issues/67

  This PR adds an optional `cookie` arg to pass on cookie file if user needs to use that instead of basic user:password based authentication.

  bitcoin core will only generate a `.cookie` file if rpc username passwords are not set in `bitcoin.conf`. Thus cookie file doesn't have a default. User should only provide it if they know a cookie file exists, or else "File not found" error is returned.

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

  #### New Features:

  * [x] I've added tests for the new feature
  * [x] I've added docs for the new feature
  * [x] I've updated `CHANGELOG.md`

ACKs for top commit:
  notmandatory:
    ACK 1ab2b0ffc780defa913ec9ce2dc021b355c2aeb3

Tree-SHA512: 164f8c65582028efa36035f5a442b7d1678a19ef74196286f29e10dad79cb3495fe1b3ac46207eca55115d6a7744e94ddf333238b1933bc7586df049062b670b

3 years agoFix docs test for WalletOpts
Steve Myers [Sat, 12 Feb 2022 17:21:53 +0000 (09:21 -0800)]
Fix docs test for WalletOpts

3 years agoUpdate CHANGELOG
rajarshimaitra [Sat, 8 Jan 2022 18:40:04 +0000 (00:10 +0530)]
Update CHANGELOG

3 years agoAdd cookie authentication option for rpc
rajarshimaitra [Sat, 8 Jan 2022 18:33:12 +0000 (00:03 +0530)]
Add cookie authentication option for rpc

3 years agoMerge bitcoindevkit/bdk-cli#69: Fix repl and wallet help docs
Steve Myers [Sat, 12 Feb 2022 06:23:42 +0000 (22:23 -0800)]
Merge bitcoindevkit/bdk-cli#69: Fix repl and wallet help docs

3f9b89275b0fce9ceaa3b113e3832d5e28f7d688 Pin fd-lock version to 3.0.2 (Steve Myers)
4a02a9f3838fedac832bc73d19d086abfb881688 Manual docs formatting fix (Steve Myers)
c82fd90f0b7eaaec60ffe0cf686a4bf11ab9707d Update Cargo.lock (Steve Myers)
81652b19d1d9d36964dc2ac22831950b02897338 Fix repl and wallet help docs (Steve Myers)

Pull request description:

  ### Description

  This fixes the help docs for the `repl` and `wallet` subcommands. The `repl` subcommand was showing the proxy options docs instead, and the `wallet` subcommand was showing the description from the `WalletSubCommand` enum.

  This is a workaround for `structopt` issue #333, #391, #418; see https://github.com/TeXitoi/structopt/issues/333#issuecomment-712265332

  ### Notes to the reviewers

  Before this PR this was showing:
  ```shell
  $ cargo run --features esplora-ureq,compiler -- --help
  ...
  SUBCOMMANDS:
      compile    Compile a miniscript policy to an output descriptor
      help       Prints this message or the help of the given subcommand(s)
      key        Key management sub-commands
      repl       Proxy Server options
      wallet     Wallet sub-commands
  ```

  After this PR we get:
  ```shell
  $ cargo run --features esplora-ureq,compiler -- --help
  ...
  SUBCOMMANDS:
      compile    Compile a miniscript policy to an output descriptor
      help       Prints this message or the help of the given subcommand(s)
      key        Key management sub-commands
      repl       Enter REPL command loop mode
      wallet     Wallet options and sub-commands
  ```

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

  #### Bugfixes:

  * [ ] This pull request breaks the existing API
  * [ ] I've added tests to reproduce the issue which are now passing
  * [ ] I'm linking the issue being fixed by this PR

Top commit has no ACKs.

Tree-SHA512: 8d708720f60940edd40826a159388ced261c91d23e074b51164f8c49a2e673cbaecee0241e52cb02090e40ff1f989a980aee0122230cee211f4c3284cad4483c

3 years agoPin fd-lock version to 3.0.2
Steve Myers [Fri, 11 Feb 2022 20:19:07 +0000 (12:19 -0800)]
Pin fd-lock version to 3.0.2

3 years agoManual docs formatting fix
Steve Myers [Fri, 11 Feb 2022 18:49:40 +0000 (10:49 -0800)]
Manual docs formatting fix

3 years agoUpdate Cargo.lock
Steve Myers [Fri, 11 Feb 2022 18:43:16 +0000 (10:43 -0800)]
Update Cargo.lock

3 years agoFix repl and wallet help docs
Steve Myers [Sun, 9 Jan 2022 21:57:11 +0000 (22:57 +0100)]
Fix repl and wallet help docs

This fixes the help docs for the repl and wallet subcommands. The repl subcommand was showing the proxy options docs instead, and the wallet subcommand was showing the description from the WalletSubCommand enum.
This is a workaround for structopt issue #333, #391, #418.
see https://github.com/TeXitoi/structopt/issues/333#issuecomment-712265332

3 years agoMerge bitcoindevkit/bdk-cli#57: if no wallet name was provided, use one derived from...
Steve Myers [Tue, 25 Jan 2022 19:38:50 +0000 (11:38 -0800)]
Merge bitcoindevkit/bdk-cli#57: if no wallet name was provided, use one derived from the descriptor

9b278bd91c17d4f01740cfd15e67c96fd2b40911 Bump bdk and bdk-reserves version to 0.16 (Richard Ulrich)
e52e81951e229fd79225349951699a034874b65d if no wallet name was provided, use one derived from the descriptor (Richard Ulrich)

Pull request description:

  ### Description

  if no wallet name was provided, use one derived from the descriptor

  ### Notes to the reviewers

  Is there a better place to use wallet_name_from_descriptor so that the generated name shows up in the unit tests instead of the placeholder?

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

Top commit has no ACKs.

Tree-SHA512: 3ea0ce74c6447174329dfed7eb3721faa5596cbaf3b746b2134f0b02b512533e69e54e28c3d8692abb885f86345c47367999bcea307977c67106dbc33fb466a9

3 years agoBump bdk and bdk-reserves version to 0.16
Richard Ulrich [Tue, 25 Jan 2022 09:16:06 +0000 (10:16 +0100)]
Bump bdk and bdk-reserves version to 0.16

3 years agoif no wallet name was provided, use one derived from the descriptor
Richard Ulrich [Thu, 25 Nov 2021 12:16:00 +0000 (13:16 +0100)]
if no wallet name was provided, use one derived from the descriptor

4 years agoLimit rustyline version to >=9.0.0, <9.1.0
Steve Myers [Fri, 10 Dec 2021 04:21:30 +0000 (20:21 -0800)]
Limit rustyline version to >=9.0.0, <9.1.0

This is required because rustyline 9.1.0 uses rust edition 2021 which
this project has not yet adopted. See:
https://github.com/kkawakam/rustyline/pull/570

4 years agoUn-pin fd-lock version
Steve Myers [Thu, 9 Dec 2021 20:12:28 +0000 (12:12 -0800)]
Un-pin fd-lock version

MSRV issue with fd-lock 3.0.1 was fixed with version 3.0.2. See:
https://github.com/yoshuawuyts/fd-lock/issues/16

4 years agoMerge bitcoindevkit/bdk-cli#61: Improve error handlings.
Steve Myers [Sun, 12 Dec 2021 02:07:58 +0000 (18:07 -0800)]
Merge bitcoindevkit/bdk-cli#61: Improve error handlings.

7e65add3e342747c1f0e0e0cbbf1539db30b36e4 Handle errors properly instead of unwraps. (rajarshimaitra)

Pull request description:

  <!-- You can erase any parts of this template not applicable to your Pull Request. -->

  ### Description

  <!-- Describe the purpose of this PR, what's being adding and/or fixed -->

  bdk-cli had lots of ugly unwraps through out the code. All the unwraps inside the library (except tests) were removed and errors were propagated with `bdk::Error` type.

  <!-- In this section you can include notes directed to the reviewers, like explaining why some parts
  of the PR were done in a specific way -->

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

Top commit has no ACKs.

Tree-SHA512: 5c4a46af66341e300ac25339a402ea6ba9c8b81172873dc1b7ab5fa081fcbd6546fe2e372acce2a2b6f227034159724e8fc083e02c598de6a44cc4f843e1f07f

4 years agoHandle errors properly instead of unwraps.
rajarshimaitra [Tue, 7 Dec 2021 14:02:07 +0000 (19:32 +0530)]
Handle errors properly instead of unwraps.

4 years agoMerge bitcoindevkit/bdk-cli#56: [bug] Fix RPC tests
Steve Myers [Thu, 9 Dec 2021 20:25:26 +0000 (12:25 -0800)]
Merge bitcoindevkit/bdk-cli#56: [bug] Fix RPC tests

e3f3c3a3d5fbd0e74510aa4a47356d23b070e6b0 Add rpc build and test in CI (rajarshimaitra)
74d2a71e30eae746069371e112f38e591681dbf8 Add missing RPC wallet option (rajarshimaitra)
808dd7cfe05f638e576711e12b9dab8e88c6279f Remove redundant wallet options (rajarshimaitra)

Pull request description:

  ### Description

  There was an inconsistency in `rpc` tests. The `RpcOpts` was missing from the wallet struct. This wasn't caught before because we didn't have `rpc` tests in CI. Fixed that too.

  Also removed redundant wallet options from feature gated tests.

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

ACKs for top commit:
  notmandatory:
    re-ACK  e3f3c3a

Tree-SHA512: c6413d52bd982e1d7162789e2645c8ad5b93abb312edecb4a231f59bbb2f3734cc0dbc8b2f07aaa2445f4f8513148e6f1905ee0214510e732cf754e8db4926fa

4 years agoMerge bitcoindevkit/bdk-cli#58: Update codecov to grcov from Tarpauline
Steve Myers [Thu, 9 Dec 2021 20:22:19 +0000 (12:22 -0800)]
Merge bitcoindevkit/bdk-cli#58: Update codecov to grcov from Tarpauline

f8200a160b4dddc96ef7478cb2ccdf5f45cfcd4a Update codecov to grcov from Tarpauline (rajarshimaitra)

Pull request description:

  <!-- You can erase any parts of this template not applicable to your Pull Request. -->

  ### Description

  To match with existing codecov of BDK, Tarpaulin based codecov in bdk-cli is changed to grcov.

  ### Notes to the reviewers

  <!-- In this section you can include notes directed to the reviewers, like explaining why some parts
  of the PR were done in a specific way -->

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

Top commit has no ACKs.

Tree-SHA512: 8cc31829e61fffe61815c8e8cb25e9c1b1722a2f0a42f7e1c032688f8e6953f9844977bbb829eaf4499e7c3fce04f8b61f830d8c24e8481623bbc1111d0f07d2

4 years agoUpdate codecov to grcov from Tarpauline
rajarshimaitra [Sat, 27 Nov 2021 11:33:08 +0000 (17:03 +0530)]
Update codecov to grcov from Tarpauline

4 years agoAdd rpc build and test in CI
rajarshimaitra [Wed, 24 Nov 2021 15:20:08 +0000 (20:50 +0530)]
Add rpc build and test in CI

4 years agoAdd missing RPC wallet option
rajarshimaitra [Wed, 24 Nov 2021 15:19:46 +0000 (20:49 +0530)]
Add missing RPC wallet option

4 years agoRemove redundant wallet options
rajarshimaitra [Wed, 24 Nov 2021 15:19:17 +0000 (20:49 +0530)]
Remove redundant wallet options

4 years agoMerge bitcoindevkit/bdk-cli#48: adding the commands for proof-of-reserves using the...
rajarshimaitra [Wed, 8 Dec 2021 07:30:28 +0000 (13:00 +0530)]
Merge bitcoindevkit/bdk-cli#48: adding the commands for proof-of-reserves using the separate repository

7e6a4c848b0c7323ea12af074f38a42347a49fcc adding the commands for proof-of-reserves using the separate repository (Richard Ulrich)

Pull request description:

  <!-- You can erase any parts of this template not applicable to your Pull Request. -->

  ### adding the commands for proof-of-reserves using the separate repository

  <!-- Describe the purpose of this PR, what's being adding and/or fixed -->

  ### Notes to the reviewers

  <!-- In this section you can include notes directed to the reviewers, like explaining why some parts
  of the PR were done in a specific way -->

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

  #### New Features:

  * [x] I've added tests for the new feature
  * [ ] I've added docs for the new feature
  * [x] I've updated `CHANGELOG.md`

  #### Bugfixes:

  * [ ] This pull request breaks the existing API
  * [ ] I've added tests to reproduce the issue which are now passing
  * [ ] I'm linking the issue being fixed by this PR

ACKs for top commit:
  notmandatory:
    ACK  7e6a4c8
  rajarshimaitra:
    ReACK https://github.com/bitcoindevkit/bdk-cli/pull/48/commits/7e6a4c848b0c7323ea12af074f38a42347a49fcc

Tree-SHA512: 3b2a02280ce0e6d9c6f061ac01d15ef3b2704c13bd6e55bfeacff4673d750d2bf93c242b87d88874d49a189207ce0990ce2882fe0a0111dfcb77f065e3d1efb9

4 years agoadding the commands for proof-of-reserves using the separate repository
Richard Ulrich [Wed, 26 May 2021 14:07:46 +0000 (16:07 +0200)]
adding the commands for proof-of-reserves using the separate repository

4 years agoMerge bitcoindevkit/bdk-cli#60: Update BDK dependency to v0.14.0
Steve Myers [Wed, 1 Dec 2021 21:39:59 +0000 (13:39 -0800)]
Merge bitcoindevkit/bdk-cli#60: Update BDK dependency to v0.14.0

dfdf0a7fdc60846a54ce43db1c4d9ea6b20b5df9 Update BDK dependency to v0.14.0 (Richard Ulrich)

Pull request description:

  ### Description
  Update BDK dependency to v0.14.0

  ### Notes to the reviewers

  <!-- In this section you can include notes directed to the reviewers, like explaining why some parts
  of the PR were done in a specific way -->

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

ACKs for top commit:
  notmandatory:
    ACK dfdf0a7f

Tree-SHA512: 82537db11c7414732f0d552d69003e31e42bad88d461fc0c2c84b2881ec27b1a04c211f0235fb2c19d7b9f220749d9472ba8dbb723cda395d42ad40ec48629ae

4 years agoUpdate BDK dependency to v0.14.0
Richard Ulrich [Wed, 1 Dec 2021 14:57:22 +0000 (15:57 +0100)]
Update BDK dependency to v0.14.0

4 years agoMerge bitcoindevkit/bdk-cli#59: Update MSRV to current stable, 1.56.1
Steve Myers [Wed, 1 Dec 2021 00:29:38 +0000 (16:29 -0800)]
Merge bitcoindevkit/bdk-cli#59: Update MSRV to current stable, 1.56.1

4fd219e47004188ea7f504422790d634896bd3bd Pin version of fd-lock to 3.0.0 (Steve Myers)
6435704815a702345647395bc37704bf26b3bd97 Remove rust-toolchain file (Steve Myers)
8eec674d768ec8d23c37b0fbdee6d648083d2b42 Update MSRV to current stable, 1.56.1 (Steve Myers)

Pull request description:

  ### Description

  Update MSRV to the current stable, 1.56.1 and update the `cargo.lock` file.  Also removed the `rust-toolchain` file.

  ### Notes to the reviewers

  I removed the `rust-toolchain` file because I don't think we need to lock users into a particular version (or force them to override it), and this file seem to primarily be used for projects using a specific nightly release, see: https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file.

  I also had to pin the `fd-lock` dependency because of a recent update to that crate to use the [`rustdoc::missing_doc_code_examples` feature which is only supported by `nightly`](https://doc.rust-lang.org/rustdoc/lints.html#missing_doc_code_examples) :disappointed: .

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

Top commit has no ACKs.

Tree-SHA512: b43d314f014a63cb09b77adc3434e8d5ac3328bfa16ce700195444c72bab1bfc5fecb0a2088cbe2ca6ee86af9283559e51f743f69791768679546871c718fcd8

4 years agoPin version of fd-lock to 3.0.0
Steve Myers [Mon, 29 Nov 2021 23:17:18 +0000 (15:17 -0800)]
Pin version of fd-lock to 3.0.0

4 years agoRemove rust-toolchain file
Steve Myers [Mon, 29 Nov 2021 22:56:55 +0000 (14:56 -0800)]
Remove rust-toolchain file

4 years agoUpdate MSRV to current stable, 1.56.1
Steve Myers [Mon, 29 Nov 2021 22:41:23 +0000 (14:41 -0800)]
Update MSRV to current stable, 1.56.1

4 years agoUpdate bdk and bdk-macro dependency
rajarshimaitra [Tue, 16 Nov 2021 10:47:54 +0000 (16:17 +0530)]
Update bdk and bdk-macro dependency

4 years agoAdd '--shrink' option to wallet bump_fee command
Steve Myers [Thu, 7 Oct 2021 23:06:59 +0000 (16:06 -0700)]
Add '--shrink' option to wallet bump_fee command

Replace `wallet bump_fee` command `--send_all` with new
`--shrink ADDRESS` option to reduce the output amount for the
specified address to increase RBF transaction fee.

4 years agoupdate to codecov v2
rajarshimaitra [Mon, 25 Oct 2021 16:35:23 +0000 (22:05 +0530)]
update to codecov v2

4 years agoBump version to 0.3.1-dev github/release/0.3.0
Steve Myers [Thu, 21 Oct 2021 03:55:02 +0000 (20:55 -0700)]
Bump version to 0.3.1-dev

4 years agoBump version to 0.3.0 v0.3.0
Steve Myers [Thu, 21 Oct 2021 03:25:30 +0000 (20:25 -0700)]
Bump version to 0.3.0

4 years agoUpdate Cargo.lock
Steve Myers [Thu, 21 Oct 2021 03:31:29 +0000 (20:31 -0700)]
Update Cargo.lock

4 years agoBump rustyline version to 9.0
Steve Myers [Wed, 20 Oct 2021 00:56:52 +0000 (17:56 -0700)]
Bump rustyline version to 9.0

4 years agoBump version to 0.3.0-rc1
Steve Myers [Wed, 20 Oct 2021 00:46:04 +0000 (17:46 -0700)]
Bump version to 0.3.0-rc1

4 years agoUpdate README
rajarshimaitra [Thu, 7 Oct 2021 15:41:10 +0000 (21:11 +0530)]
Update README

4 years agoUpdate build script to include rpc feature
rajarshimaitra [Thu, 7 Oct 2021 15:31:54 +0000 (21:01 +0530)]
Update build script to include rpc feature

4 years agoUpdate Cargo.lock
rajarshimaitra [Tue, 5 Oct 2021 13:14:23 +0000 (18:44 +0530)]
Update Cargo.lock

4 years agoUpdate CHANGELOG.md
rajarshimaitra [Tue, 5 Oct 2021 13:17:32 +0000 (18:47 +0530)]
Update CHANGELOG.md

4 years agoAdd RPC backend
rajarshimaitra [Fri, 13 Aug 2021 11:09:54 +0000 (16:39 +0530)]
Add RPC backend

Expose the RPC backend feature via cli arg options.
RPC backend can be connected via all default parameters
without specifying any arg options.

4 years agoMerge commit 'refs/pull/43/head' of github.com:bitcoindevkit/bdk-cli
Steve Myers [Tue, 5 Oct 2021 22:40:11 +0000 (15:40 -0700)]
Merge commit 'refs/pull/43/head' of github.com:bitcoindevkit/bdk-cli

4 years agoFix test for updated KeySubCommand::Derive struct
Steve Myers [Tue, 5 Oct 2021 22:09:41 +0000 (15:09 -0700)]
Fix test for updated KeySubCommand::Derive struct

4 years agoRemove unneed cfgs in test_parse_wallet_electrum
Steve Myers [Tue, 5 Oct 2021 19:09:28 +0000 (12:09 -0700)]
Remove unneed cfgs in test_parse_wallet_electrum

4 years agoUpdate CHANGELOG
Steve Myers [Tue, 5 Oct 2021 04:21:53 +0000 (21:21 -0700)]
Update CHANGELOG

4 years agoUpdate README with new esplora features
Steve Myers [Tue, 5 Oct 2021 04:02:32 +0000 (21:02 -0700)]
Update README with new esplora features

Remove instructions with esplora feature and replace with esplora-ureq and esplora-reqwest features.

4 years agoChange default esplora server to testnet api
Steve Myers [Tue, 5 Oct 2021 03:59:03 +0000 (20:59 -0700)]
Change default esplora server to testnet api

Since default bitcoin network is testnet this change set default esplora
server url to match.

4 years agoUpdate Cargo.lock
rajarshimaitra [Sun, 3 Oct 2021 09:54:48 +0000 (15:24 +0530)]
Update Cargo.lock

4 years agoUpdate CI
rajarshimaitra [Sun, 3 Oct 2021 09:54:29 +0000 (15:24 +0530)]
Update CI

4 years agoUpdate cargo.toml
rajarshimaitra [Fri, 17 Sep 2021 12:43:02 +0000 (18:13 +0530)]
Update cargo.toml

4 years agoAdd proxy option to esplora
rajarshimaitra [Sun, 3 Oct 2021 09:44:37 +0000 (15:14 +0530)]
Add proxy option to esplora

Recent update in BDK esplora backend allows it to connect with SOCKS5
proxy.

This change adds proxy option to esplora configuration.
Updates Proxy_Opts feature guard to enable it for esplora feature.

4 years agoAdd esplora-reqwest from bdk
rajarshimaitra [Tue, 14 Sep 2021 10:04:43 +0000 (15:34 +0530)]
Add esplora-reqwest from bdk

Adds esplora-reqwest capability from bdk.
Allows to use async https connections with esplora from bdk-cli.

4 years agoUpdate Esplora cli args
rajarshimaitra [Thu, 26 Aug 2021 09:35:45 +0000 (15:05 +0530)]
Update Esplora cli args

Esplora ureq version requires having new cli args.

4 years agoUpdate electrum cli args
rajarshimaitra [Thu, 26 Aug 2021 09:54:51 +0000 (15:24 +0530)]
Update electrum cli args

BDK v0.10.0 adds a stop_gap parameter to electrum config.

4 years agoUse directly FromStr types in StructOpt
Riccardo Casatta [Tue, 21 Sep 2021 13:32:52 +0000 (15:32 +0200)]
Use directly FromStr types in StructOpt

With wrong values instead of getting:
[2021-09-21T13:25:13Z ERROR bdk_cli] Bip32(Base58(BadChecksum(12929142291275556062)))

you get:
error: Invalid value for '--xprv <XPRV>': base58 encoding error: base58ck checksum 0x4c0770de does not match expected 0x4d104e35

4 years agoUpdate BDK dependency to v0.10.0
rajarshimaitra [Thu, 26 Aug 2021 09:33:28 +0000 (15:03 +0530)]
Update BDK dependency to v0.10.0

Updating the BDK version creates some breaking change.

One of such change probably requires modification of BDK to expose a
new function to fetch scriptpubkey from a txid.

Used ureq version of esplora to remove async related complexities.

4 years agoUpdate Cargo.lock and CHANGELOG
Steve Myers [Thu, 12 Aug 2021 14:37:37 +0000 (16:37 +0200)]
Update Cargo.lock and CHANGELOG

4 years agoMinor fixes to README and CHANGELOG
Steve Myers [Tue, 10 Aug 2021 12:16:37 +0000 (14:16 +0200)]
Minor fixes to README and CHANGELOG

4 years agoRename ElectrumOpts.electrum to .server
Steve Myers [Tue, 10 Aug 2021 12:15:42 +0000 (14:15 +0200)]
Rename ElectrumOpts.electrum to .server

4 years agoFix clippy warnings
Steve Myers [Sat, 7 Aug 2021 00:23:39 +0000 (17:23 -0700)]
Fix clippy warnings

4 years agoAdd build.rs to abort if more than one blockchain client feature
Steve Myers [Fri, 6 Aug 2021 20:20:18 +0000 (13:20 -0700)]
Add build.rs to abort if more than one blockchain client feature

4 years agoAdd cli feature and make it required for bin build
Steve Myers [Fri, 6 Aug 2021 01:35:17 +0000 (18:35 -0700)]
Add cli feature and make it required for bin build

4 years agoUpdate CHANGELOG
Steve Myers [Thu, 5 Aug 2021 06:35:12 +0000 (23:35 -0700)]
Update CHANGELOG

4 years agoUpdate README
Steve Myers [Thu, 5 Aug 2021 06:34:47 +0000 (23:34 -0700)]
Update README

4 years agoRequire only one blockchain client feature at a time
Steve Myers [Thu, 5 Aug 2021 04:52:58 +0000 (21:52 -0700)]
Require only one blockchain client feature at a time

4 years agoPin zeroize version to <1.4.0 to fix 1.46.0 build
Steve Myers [Thu, 5 Aug 2021 04:51:28 +0000 (21:51 -0700)]
Pin zeroize version to <1.4.0 to fix 1.46.0 build

4 years agoDisplays transaction details with outputs in case verbose mode is enabled
Sandipan Dey [Mon, 19 Jul 2021 17:12:44 +0000 (22:42 +0530)]
Displays transaction details with outputs in case verbose mode is enabled

4 years agofix: use flatten instead of filter_map()
DarthBenro008 [Thu, 15 Jul 2021 08:21:06 +0000 (13:51 +0530)]
fix: use flatten instead of filter_map()

Signed-off-by: DarthBenro008 <hkpdev008@gmail.com>
4 years agoadd: Cargo.lock
DarthBenro008 [Thu, 15 Jul 2021 06:53:40 +0000 (12:23 +0530)]
add: Cargo.lock

Signed-off-by: DarthBenro008 <hkpdev008@gmail.com>
4 years agoadd: rust toolchain action to setup toolchain
DarthBenro008 [Thu, 15 Jul 2021 06:45:17 +0000 (12:15 +0530)]
add: rust toolchain action to setup toolchain

Signed-off-by: DarthBenro008 <hkpdev008@gmail.com>
4 years agofixing tests, added verbose flags to test fields
Sandipan Dey [Wed, 14 Jul 2021 19:50:20 +0000 (01:20 +0530)]
fixing tests, added verbose flags to test fields

4 years agopulled verbose flag from walletops
Sandipan Dey [Wed, 14 Jul 2021 18:35:18 +0000 (00:05 +0530)]
pulled verbose flag from walletops

Signed-off-by: Sandipan Dey <hey@sandipan.dev>
4 years agoadded structopt and fixed tests temporarily
Sandipan Dey [Wed, 14 Jul 2021 08:05:29 +0000 (13:35 +0530)]
added structopt and fixed tests temporarily

4 years agoAdd install instructions for crates.io
thunderbiscuit [Wed, 9 Jun 2021 20:02:55 +0000 (16:02 -0400)]
Add install instructions for crates.io

4 years agoReorganize and add bdk upgrade to CHANGELOG.md
Steve Myers [Wed, 2 Jun 2021 20:31:54 +0000 (13:31 -0700)]
Reorganize and add bdk upgrade to CHANGELOG.md

4 years agoadapt to the recent changes in the signing interface
Richard Ulrich [Wed, 26 May 2021 14:07:46 +0000 (16:07 +0200)]
adapt to the recent changes in the signing interface

4 years agoFix 'conn_count' option long name
Steve Myers [Tue, 1 Jun 2021 03:40:51 +0000 (20:40 -0700)]
Fix 'conn_count' option long name

4 years agoAdd 'compact_filters' feature to CI, fix typo in ProxyOpts
Steve Myers [Tue, 1 Jun 2021 03:16:32 +0000 (20:16 -0700)]
Add 'compact_filters' feature to CI, fix typo in ProxyOpts

4 years agoFix dox tests for updated wallet API
codeShark149 [Thu, 27 May 2021 13:46:26 +0000 (19:16 +0530)]
Fix dox tests for updated wallet API

Doc tests were failing due to incompatibility with recent changes made
into the `walletOpts` structure.

4 years agoRefactor Proxy configuration
codeShark149 [Tue, 25 May 2021 09:24:21 +0000 (14:54 +0530)]
Refactor Proxy configuration

This PR makes the following changes:
    - Proxy configuration is moved into a separate `ProxyOpt` structure
    inside `WalletOpts`. `ProxyOpts` are only enabled for
    `compact_filters` and `electrum` features.

    - `--node` config can now take `vec<String>` and make `conn_count`
    number of connections to each node.

4 years agoAdd <wallet-name> to data directory
codeShark149 [Sat, 22 May 2021 16:34:17 +0000 (22:04 +0530)]
Add <wallet-name> to data directory

This will append the wallet name provided via configuration flag to
bdk-cli into the data directory. So the current structure of datadir
is `~/.bdk-bitcoin/compact_filters/<wallet-name>.

This will let bdk-cli keep multiple wallet directories simultaneously.

4 years agoUpdate Changelog and Readme file
codeShark149 [Sun, 16 May 2021 10:56:04 +0000 (16:26 +0530)]
Update Changelog and Readme file

4 years agoApply SOCKS5 config and other minor changes
codeShark149 [Sun, 16 May 2021 10:55:26 +0000 (16:25 +0530)]
Apply SOCKS5 config and other minor changes

4 years agoAdd SOCKS5 config options to `CompactFilterOpts`
codeShark149 [Sun, 16 May 2021 10:53:13 +0000 (16:23 +0530)]
Add SOCKS5 config options to `CompactFilterOpts`

4 years agoUpdated Cargo.toml
codeShark149 [Sat, 8 May 2021 12:28:18 +0000 (17:58 +0530)]
Updated Cargo.toml

4 years agoUpdate ChangeLog
codeShark149 [Sat, 8 May 2021 12:17:10 +0000 (17:47 +0530)]
Update ChangeLog

4 years agoUpdated Readme.md
codeShark149 [Sat, 8 May 2021 12:16:56 +0000 (17:46 +0530)]
Updated Readme.md

Readme updated to include instruction to connect to Bitcoin Core node serving compact filters.