Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow enabling at most one blockchain client feature #38

Merged
6 changes: 2 additions & 4 deletions .github/workflows/cont_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ jobs:
- 1.46.0 # MSRV
features:
- default
- repl
- electrum
- esplora
- compiler
- compact_filters
- repl,electrum,esplora,compiler
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -41,11 +39,11 @@ jobs:
override: true
components: rustfmt, clippy
- name: Build
run: cargo build --features ${{ matrix.features }} --no-default-features --locked
run: cargo build --features ${{ matrix.features }} --locked
- name: Clippy
run: cargo clippy -- -D warnings
- name: Test
run: cargo test --features ${{ matrix.features }} --no-default-features
run: cargo test --features ${{ matrix.features }}

fmt:
name: Rust fmt
Expand Down
48 changes: 8 additions & 40 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,64 +6,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Project

#### Added
- `CliSubCommand::Compile` enum variant and `handle_compile_subcommand()` function

#### Changed
- Make repl and electrum default features
- Update default feature to not include electrum
- Upgrade to `bdk` v0.7.x

### `bdk-cli` bin

#### Added
- New top level command "Compile" which compiles a miniscript policy to an output descriptor
- `CompactFilterOpts` to `WalletOpts` to enable compact-filter blockchain configuration

#### Changed
- Remove unwraps while handling CLI commands
- Add top level command "Compile" which compiles a miniscript policy to an output descriptor
- Add `CompactFilterOpts` to `WalletOpts` to enable compact-filter blockchain configuration
- Add `verbose` option to `WalletOpts` to display PSBTs and transaction details also in JSON format
- Require at most one blockchain client feature be enabled at a time

## [0.2.0]

### Project

#### Added
- Add support for `wasm`
- `CliOpts` struct and `CliSubCommand` enum representing top level cli options and commands
- `KeySubCommand` enum
- `handle_key_subcommand` function

#### Changed
- Upgrade `bdk` to `0.4.0` and `bdk-macros` to `0.3.0`
- Renamed `WalletOpt` struct to `WalletOpts`
- `WalletSubCommand` enum split into `OfflineWalletSubCommand` and `OnlineWalletSubCommand`
- Split `handle_wallet_subcommand` into two functions, `handle_offline_wallet_subcommand` and `handle_online_wallet_subcommand`
- A wallet without a `Blockchain` is used when handling offline wallet sub-commands

### `bdk-cli` bin

#### Added
- Top level commands "wallet", "key", and "repl"
- "key" sub-commands to "generate" and "restore" a master private key
- "key" sub-command to "derive" an extended public key from a master private key
- Add top level commands "wallet", "key", and "repl"
- Add "key" sub-commands to "generate" and "restore" a master private key
- Add "key" sub-command to "derive" an extended public key from a master private key
- "repl" command now has an "exit" sub-command

#### Changed
- "wallet" sub-commands and options must be proceeded by "wallet" command
- "repl" command loop now includes both "wallet" and "key" sub-commands

## [0.1.0]

### Project
#### Added
- Add CONTRIBUTING.md
- Add CI and code coverage Discord badges to the README
- Add CI and code coverage github actions workflows
- Add scheduled audit check in CI
- Add CHANGELOG.md

#### Changed
- If an invalid network name return an error instead of defaulting to `testnet`

## [0.1.0-beta.1]
Expand Down
Loading