Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
452 commits
Select commit Hold shift + click to select a range
06310f1
Merge bitcoindevkit/bdk#708: Change configs for source-base code cove…
afilini Sep 2, 2022
fa998de
Add psbt_signer.rs example
notmandatory Sep 2, 2022
1c4d478
Run code coverage on every PR
danielabrozzoni Sep 9, 2022
c3a7bbb
codecov: slightly change the test features
danielabrozzoni Sep 10, 2022
aa0ea6a
codecov: warn about missing features
danielabrozzoni Sep 10, 2022
7b12f35
Merge bitcoindevkit/bdk#747: Run code coverage on every PR
afilini Sep 12, 2022
ab41679
Add fee_amount() and fee_rate() functions to PsbtUtils trait
notmandatory Aug 21, 2022
e06c3f9
Set tx field to none if `include_raw` is false
vladimirfomene Sep 13, 2022
8830704
Add more test to the database module
vladimirfomene Sep 7, 2022
e65edbf
Change parameter name of database in test funcs
vladimirfomene Sep 13, 2022
b12dec3
Merge bitcoindevkit/bdk#744: Add psbt_signer.rs example
afilini Sep 13, 2022
562cb81
Merge bitcoindevkit/bdk#728: Add fee_amount() and fee_rate() function…
afilini Sep 13, 2022
8963e8c
Improve docs w.r.t. PSBT finalization
tnull Sep 15, 2022
dfeb08f
Merge bitcoindevkit/bdk#753: Improve docs regarding PSBT finalization
afilini Sep 15, 2022
e1fa0b6
Fix the new release process
afilini Sep 1, 2022
da76708
Update compiler example.
rajarshimaitra Aug 21, 2022
97b6fb0
Add a policy example
rajarshimaitra Sep 2, 2022
54d7684
Sqlite migrations should either succeed or fail
vladimirfomene Sep 1, 2022
5e9965f
Enable signing taproot transactions with only `non_witness_utxos`
afilini Sep 19, 2022
0a7a1f4
Merge bitcoindevkit/bdk#745: Add tests to improve coverage
danielabrozzoni Sep 22, 2022
aad5461
Merge bitcoindevkit/bdk#757: Enable signing taproot transactions with…
afilini Sep 23, 2022
c3faf05
Merge bitcoindevkit/bdk#713: Add datatype for is_spent sqlite column
afilini Sep 23, 2022
e2bf973
Remove redundant duplicated keys check
afilini Sep 24, 2022
aff41d6
Merge bitcoindevkit/bdk#730: Update compiler example to a Policy example
afilini Sep 26, 2022
dbf6bf5
Merge bitcoindevkit/bdk#761: Remove redundant duplicated keys check
danielabrozzoni Sep 26, 2022
bbf524b
Merge bitcoindevkit/bdk#754: Fix the release process
notmandatory Sep 26, 2022
e6f2d02
Remove genesis_block lazy initialization
shobitb Sep 18, 2022
b14e4ee
Merge bitcoindevkit/bdk#756: Remove genesis_block lazy initialization
notmandatory Sep 26, 2022
92ad487
Add vscode filter to gitignore
evanlinjin Sep 27, 2022
af0b369
Fix `Wallet::descriptor_checksum` to actually return the checksum
evanlinjin Sep 27, 2022
a8cf34e
Merge bitcoindevkit/bdk#763: Fix `Wallet::descriptor_checksum` to act…
danielabrozzoni Sep 28, 2022
5baf46f
Use the external esplora client library
afilini Aug 9, 2022
cf2bc38
Re-export `esplora_client`
tnull Aug 10, 2022
b5b9224
Rename esplora features to -async and -blocking
afilini Sep 28, 2022
fd34956
`get_checksum_bytes` now checks input data for checksum
evanlinjin Sep 29, 2022
e2a4a58
Ensure backward compatibility of the "checksum inception" bug
evanlinjin Sep 29, 2022
b11c86d
Rename internal esplora modules, fix docs
afilini Sep 29, 2022
d7bfe68
Fix broken nightly docs
afilini Sep 28, 2022
8e8fd49
Merge bitcoindevkit/bdk#764: Use the esplora client crate
notmandatory Sep 29, 2022
55145f5
Bump version to 0.23.0
afilini Sep 29, 2022
7de8be4
Add enhancement request github issue template
notmandatory Oct 1, 2022
1331193
Update psbt_signer example to use descriptor! macro
notmandatory Oct 10, 2022
b627455
Merge bitcoindevkit/bdk#780: Update psbt_signer example to use descri…
danielabrozzoni Oct 12, 2022
a4a43ea
Re-export HWI if the hardware-signer feature is set
danielabrozzoni Oct 12, 2022
0695e9f
Bump HWI to 0.2.3
danielabrozzoni Oct 12, 2022
1a71eb1
Update the hardwaresigner module documentation
danielabrozzoni Oct 12, 2022
1437e1e
Add the hardware_signer example
danielabrozzoni Oct 12, 2022
68dd6d2
Add signature grinding for ECDSA signatures
vladimirfomene Oct 6, 2022
1c76084
Merge bitcoindevkit/bdk#779: Add signature grinding for ECDSA signatures
danielabrozzoni Oct 17, 2022
34987d5
Make psbt mod public and add required docs
notmandatory Oct 18, 2022
f2181f5
Merge bitcoindevkit/bdk#782: Make psbt mod public and add required docs
notmandatory Oct 21, 2022
ea47d7a
Merge bitcoindevkit/bdk#758: Add HWI example in docs
afilini Oct 24, 2022
60057a7
Deprecate backward compatible get_checksum_bytes, get_checksum functions
notmandatory Oct 24, 2022
9854fd3
Remove deprecated address validators
afilini Sep 30, 2022
ae4f4e5
Upgrade `rand` to `0.8`
afilini Oct 24, 2022
1ffd59d
Upgrade to rust-bitcoin 0.29
afilini Oct 25, 2022
c7a43d9
Remove unused code
afilini Oct 25, 2022
648282e
Update docs and tests based on review comments
notmandatory Oct 25, 2022
e9bbb87
Fix wallet export rescan height
LLFourn Oct 26, 2022
5720e38
Merge bitcoindevkit/bdk#770: Upgrade to rust-bitcoin 0.29
notmandatory Oct 27, 2022
9cb6f70
Merge branch 'master' into fix_wallet_checksum
notmandatory Oct 27, 2022
5d5b2fb
Merge bitcoindevkit/bdk#765: Fix how descriptor checksums are calculated
notmandatory Oct 27, 2022
5c42102
Bump version to 0.24.0
notmandatory Oct 27, 2022
aedbc8c
add `electrum_backend` example.
w0xlt Aug 3, 2022
f99a6b9
add `esplora_backend` example.
w0xlt Aug 3, 2022
108edc3
Merge bitcoindevkit/bdk#785: Fix wallet export rescan height
notmandatory Nov 22, 2022
1c95ca3
Merge bitcoindevkit/bdk#526: Add code example for each supported backend
notmandatory Nov 22, 2022
150f4d6
fix: ensure the key network is updated in the KeyMap as well
afilini Nov 23, 2022
8b68cf9
Merge bitcoindevkit/bdk#800: fix: ensure the key network is updated i…
notmandatory Nov 24, 2022
df905a8
Add mnemonic to descriptors example.
vladimirfomene Sep 8, 2022
235961a
Merge bitcoindevkit/bdk#746: Add mnemonic_to_descriptors example
notmandatory Nov 24, 2022
5e56c3b
Bump version to 0.25.0
notmandatory Nov 25, 2022
c51d544
[wip] Ensure there are no duplicated script_pubkeys in sqlite
afilini Nov 26, 2022
21c96c9
Add test for issue #801
afilini Nov 26, 2022
d570ff2
Merge bitcoindevkit/bdk#803: Bump version to 0.25.0
afilini Nov 28, 2022
b5fcddc
Add sqlite migration to drop duplicated script_pubkeys rows
notmandatory Nov 29, 2022
4c5ceaf
Merge bitcoindevkit/bdk#806: Ensure there are no duplicated script_pu…
notmandatory Nov 30, 2022
11dcc14
Downgrade ubuntu to 20.04 for test_hardware_wallet CI job
notmandatory Dec 5, 2022
a5d345f
Merge bitcoindevkit/bdk#811: Downgrade ubuntu to 20.04 for test_hardw…
danielabrozzoni Dec 6, 2022
9ddd502
Update ci nightly-docs workflow to use nightly-2022-12-14
notmandatory Dec 14, 2022
c101dea
Merge bitcoindevkit/bdk#822: Update ci nightly-docs workflow to use n…
danielabrozzoni Dec 14, 2022
d1e5b87
Make README.md code examples compile without errors
petertodd Dec 11, 2022
d6e730f
Fix wrong key origin path in public descriptor templates
yukibtc Dec 9, 2022
99930af
Merge bitcoindevkit/bdk#820: Make README.md code examples compile wit…
danielabrozzoni Dec 15, 2022
d72aa7e
chore: make TxCache.save_txs can order independent
bodymindarts Nov 30, 2022
ec9aefa
Merge bitcoindevkit/bdk#808: fix: make save_tx order independent
notmandatory Dec 16, 2022
0b768d6
Merge bitcoindevkit/bdk#818: Fix wrong key origin path in public desc…
notmandatory Dec 16, 2022
d3d0756
Implement ordering for TransactionDetails
benthecarman Dec 6, 2022
634a057
Merge bitcoindevkit/bdk#812: Implement ordering for TransactionDetails
danielabrozzoni Dec 19, 2022
4cad18b
Bump hwi to 0.4.0
danielabrozzoni Dec 19, 2022
2451c00
electrum: add validate_domain to ElectrumBlockchainConfig
icota Nov 25, 2022
14bc9c0
[#344] Add assert_matches
Synesso Dec 12, 2022
8d4cc39
Merge bitcoindevkit/bdk#805: electrum: add validate_domain to Electru…
notmandatory Dec 24, 2022
5a48347
Merge bitcoindevkit/bdk#825: Bump hwi to 0.4.0
notmandatory Dec 26, 2022
5f0870a
Merge bitcoindevkit/bdk#821: [#344] Add assert_matches
notmandatory Dec 26, 2022
3205f0c
Bump version to 0.26.0
notmandatory Dec 26, 2022
6e5873e
Update esplora-client
rajarshimaitra Dec 30, 2022
eac739d
Merge bitcoindevkit/bdk#830: Update esplora-client
notmandatory Jan 3, 2023
3a782b3
Fix Clippy Rust 1.65
yukibtc Dec 8, 2022
fb76c9e
ci: bump rust stable version to 1.65.0
yukibtc Dec 8, 2022
0cce1ce
Merge bitcoindevkit/bdk#815: Bump CI Rust stable version to 1.65.0
notmandatory Jan 24, 2023
b02bfb3
Bump project MSRV to 1.57.0, update stable for all jobs to 1.65.0
notmandatory Jan 24, 2023
2e7a220
Merge bitcoindevkit/bdk#842: Bump project MSRV to 1.57.0
notmandatory Jan 27, 2023
32912ea
Don't default to use `async`/`await` on `wasm32`
tnull Jan 10, 2023
9019793
Improve display error formatting
yukibtc Dec 7, 2022
45d4141
Derive `PartialEq`, `Eq` on `SyncTime`
MaxFangX Dec 15, 2022
6b92a16
Merge bitcoindevkit/bdk#814: Improve display error formatting
notmandatory Jan 30, 2023
41dc7f7
Merge bitcoindevkit/bdk#831: Don't default to use `async`/`await` on …
notmandatory Jan 30, 2023
e678aad
Merge bitcoindevkit/bdk#837: Derive `PartialEq`, `Eq` on `SyncTime`
notmandatory Jan 30, 2023
ff72078
Document return type of `sign` method.
Tibo-lg Jan 13, 2023
f0cec01
Add small clarification to docs
thunderbiscuit Jan 19, 2023
97f8fe3
Merge bitcoindevkit/bdk#834: Document return type of `sign` method.
notmandatory Jan 31, 2023
147a4ed
Update electrsd to version 0.22
notmandatory Jan 31, 2023
cf8cd2f
Update rust-miniscript to version 9.0, hwi to version 0.5
notmandatory Jan 26, 2023
4ada11f
Update CHANGELOG and release process
notmandatory Jan 30, 2023
9e7bad8
Merge bitcoindevkit/bdk#846: Update CHANGELOG and release process
notmandatory Feb 1, 2023
35bbe2b
Merge bitcoindevkit/bdk#838: Add small clarification to docs
notmandatory Feb 2, 2023
0b26fa7
Merge bitcoindevkit/bdk#844: Update rust-miniscript to 9.0
notmandatory Feb 2, 2023
46273fe
Merge bitcoindevkit/bdk#847: Update electrsd to version 0.22
notmandatory Feb 2, 2023
e83bb7c
Bump version to 0.27.0
notmandatory Feb 2, 2023
0c2570a
Pin dev-dependency zip to 0.6.3
notmandatory Feb 3, 2023
c2a4249
Merge bitcoindevkit/bdk#852: Bump version to 0.27.0
notmandatory Feb 3, 2023
5b9e0e3
Fix ci Dockerfile.ledger
notmandatory Feb 11, 2023
2d173a1
Merge bitcoindevkit/bdk#863: Fix ci Dockerfile.ledger
danielabrozzoni Feb 13, 2023
a1a70a5
Check results in the DB tests
silvestrst-crypto Feb 10, 2023
8b2943c
Update rusqlite from 0.27.0 to 0.28.0
notmandatory Feb 15, 2023
74119e7
Merge bitcoindevkit/bdk#867: Update rusqlite from 0.27.0 to 0.28.0
notmandatory Feb 15, 2023
231a1fb
Bump version to 0.27.1
notmandatory Feb 15, 2023
843807b
Merge bitcoindevkit/bdk#869: Bump version to 0.27.1
notmandatory Feb 16, 2023
ced2d05
Merge bitcoindevkit/bdk#857: Check results in the DB tests
danielabrozzoni Feb 24, 2023
544c397
Modified build, clippy and test steps
evanlinjin Nov 4, 2022
aab2b12
bdk_core integration initial commit 🔥
LLFourn Nov 3, 2022
a40da9b
Make bdk no_std
LLFourn Jan 10, 2023
57538e5
Move tests to /tests
LLFourn Feb 14, 2023
5985706
Add wallet persistence
LLFourn Feb 15, 2023
b310a7a
Add Wallet::cancel_tx
LLFourn Feb 15, 2023
3baf972
Use bdk_chain Balance
LLFourn Feb 15, 2023
e1eb025
Make doctests work
LLFourn Feb 21, 2023
fdfc9b9
Delete unused things
LLFourn Feb 21, 2023
8a6de3a
Convert to workspace
LLFourn Feb 21, 2023
22bec6d
Delete unused errors
LLFourn Feb 21, 2023
b60820a
Remove authors.workspace because older cargo don't like
LLFourn Feb 21, 2023
6d05598
Remove test-readme-examples
LLFourn Feb 21, 2023
20e45b7
Add back test-hardware-signer feature
LLFourn Feb 21, 2023
9edbdf5
[ci] Fix feature flags
LLFourn Feb 21, 2023
94a084a
Fix doc links
LLFourn Feb 21, 2023
1c970a9
Fix code coverage CI
danielabrozzoni Feb 22, 2023
f2188f9
Make lib.rs's docs be the README.md
LLFourn Mar 1, 2023
37dfa77
Move bdk_chain into the bdk repo :tada:
danielabrozzoni Mar 1, 2023
03deafb
Move bdk_file_store into the bdk repo :tada:
danielabrozzoni Mar 1, 2023
949608a
Move bdk_electrum into the bdk repo :tada:
danielabrozzoni Mar 1, 2023
c069b0f
Move everything else over 🎉
LLFourn Mar 2, 2023
2e82cd8
Use tempfile for file_store tests
LLFourn Mar 2, 2023
b555976
Rename the stub wallet examples
LLFourn Mar 2, 2023
303a170
Rust fmt
danielabrozzoni Mar 2, 2023
3f5a78a
Disable test-hardware-signer
danielabrozzoni Mar 2, 2023
1805bd3
Fix clippy
danielabrozzoni Mar 2, 2023
c61b360
Fix cargo clippy warnings
danielabrozzoni Mar 2, 2023
8c9bceb
Fix the "repository" field in Cargo.toml
danielabrozzoni Mar 2, 2023
5acee82
Update rust stable in CI (1.67.0)
danielabrozzoni Mar 2, 2023
5708bf0
Fix docs
danielabrozzoni Mar 2, 2023
96d932c
Add clippy.toml
danielabrozzoni Mar 2, 2023
3a5d727
Update workspace dependencies to be relative paths
notmandatory Mar 3, 2023
38ef170
Make bdk and bdk_chain work under 1.57.0
notmandatory Mar 3, 2023
a38f633
Make bdk_file_store use bincode v1
LLFourn Mar 3, 2023
0ba41c5
Make bdk_esplora wasm compatible again
danielabrozzoni Mar 3, 2023
dfcbafd
Use action-rs/toolchain in CI
danielabrozzoni Mar 3, 2023
0c7a0ab
Disable code coverage
danielabrozzoni Mar 3, 2023
d267517
NewError implements StdError (fix typo)
danielabrozzoni Mar 3, 2023
b082932
Add the wallet_esplora example
danielabrozzoni Mar 3, 2023
b3836cb
Use hardcoded send amount for `wallet_esplora` example
evanlinjin Mar 6, 2023
69cf6d7
Use os-specific temp dir for `wallet_esplora` example
evanlinjin Mar 6, 2023
de9457f
Changed `inflate_update` logic to not depend on `Cow`
evanlinjin Mar 7, 2023
0505cd7
Remove transaction-based type parameters and traits
evanlinjin Mar 7, 2023
eddd748
Add `wallet_electrum` example
evanlinjin Mar 7, 2023
9d26121
Improve stdout output for wallet esplora/electrum examples
evanlinjin Mar 8, 2023
47faa88
Fix cargo clippy
danielabrozzoni Mar 8, 2023
0aaf420
examples: exit if balance < SEND_AMOUNT
danielabrozzoni Mar 8, 2023
ab9242d
Replace current caching solution with Rust Cache
vladimirfomene Mar 8, 2023
26ab2e2
Implement EsploraExt for Async client
vladimirfomene Mar 7, 2023
def0c9e
Add `wallet_esplora_async` example and various fixes
evanlinjin Mar 8, 2023
ae9b19d
`bdk` README improvements
evanlinjin Mar 9, 2023
5dd4ce7
More documentation improvements
evanlinjin Mar 10, 2023
2fcf9c4
Make async esplora futures Send
LLFourn Mar 10, 2023
352f95f
[ci] misc fixes
danielabrozzoni Mar 10, 2023
bc3e05c
Doc fixes
danielabrozzoni Mar 13, 2023
cd4945a
Merge bitcoindevkit/bdk#793: bdk v1.0.0-alpha.0
notmandatory Mar 14, 2023
24df03a
Add documentation fixes
rajarshimaitra Mar 10, 2023
82f5d9c
Merge pull request #888 from rajarshimaitra/greamarly-fixes
evanlinjin Mar 15, 2023
877b658
Add docs for `EsploraAsyncExt` and make doctests runnable
evanlinjin Mar 10, 2023
2ae69ca
Merge pull request #889 from evanlinjin/add-async-syncing-esplora
evanlinjin Mar 17, 2023
72b1e2a
Simplify `reveal_to_target` logic
evanlinjin Mar 15, 2023
919e74a
Merge pull request #890 from evanlinjin/simplify-reveal-to-target-logic
evanlinjin Mar 18, 2023
3b68a7b
For examples and nursery remove workspace dependency versions
notmandatory Mar 20, 2023
82f9cad
Bump bdk version to 1.0.0-alpha.0
notmandatory Mar 20, 2023
30c1190
Add bdk_chain README
notmandatory Mar 20, 2023
f99eb32
Remove keyword from file_store cargo metadata
notmandatory Mar 20, 2023
5a090fa
Add description to file_store cargo metadata
notmandatory Mar 20, 2023
5ae5fe3
[bdk_chain_redesign] Introduce `BlockAnchor` trait
evanlinjin Mar 24, 2023
61a8606
[bdk_chain_redesign] Introduce `ChainOracle` and `TxIndex` traits
evanlinjin Mar 24, 2023
43b648f
[bdk_chain_redesign] Add `..in_chain` methods
evanlinjin Mar 26, 2023
784cd34
[bdk_chain_redesign] List chain data methods can be try/non-try
evanlinjin Mar 27, 2023
6cbb18d
[bdk_chain_redesign] MOVE: `IndexedTxGraph` into submodule
evanlinjin Mar 27, 2023
d0a2aa8
[bdk_chain_redesign] Add `apply_additions` to `IndexedTxGraph`
evanlinjin Mar 27, 2023
db7883d
[bdk_chain_redesign] Add balance methods to `IndexedTxGraph`
evanlinjin Mar 27, 2023
313965d
[bdk_chain_redesign] `mut_index` should be `index_mut`
evanlinjin Mar 27, 2023
e902c10
[bdk_chain_redesign] Fix `apply_additions` logic for `IndexedTxGraph`.
evanlinjin Mar 27, 2023
236c50f
[bdk_chain_redesign] `IndexedTxGraph` keeps track of the last synced …
evanlinjin Mar 27, 2023
3440a05
[bdk_chain_redesign] Add docs
evanlinjin Mar 28, 2023
34d0277
[bdk_chain_redesign] Rm anchor type param for structs that don't use it
evanlinjin Mar 28, 2023
468701a
[bdk_chain_redesign] Initial work on `LocalChain`.
evanlinjin Mar 29, 2023
8c90617
[bdk_chain_redesign] Make default anchor for `TxGraph` as `()`
evanlinjin Mar 30, 2023
a1172de
[bdk_chain_redesign] Revert some API changes
evanlinjin Mar 30, 2023
a63ffe9
[bdk_chain_redesign] Simplify `TxIndex`
evanlinjin Mar 31, 2023
7810059
[bdk_chain_redesign] `TxGraph` tweaks
evanlinjin Mar 31, 2023
c09cd2a
[bdk_chain_redesign] Added methods to `LocalChain`
evanlinjin Mar 31, 2023
a7eaebb
[bdk_chain_redesign] Add serde support for `IndexedAdditions`
evanlinjin Mar 31, 2023
ebd6103
Fix policy condition calculation
afilini Mar 31, 2023
6e59dce
[bdk_chain_redesign] `chain_oracle::Cache`
evanlinjin Apr 5, 2023
89cfa4d
[bdk_chain_redesign] Better names, comments and generic bounds
evanlinjin Apr 5, 2023
da4cef0
[bdk_chain_redesign] Introduce `Append` trait for additions
evanlinjin Apr 5, 2023
ddd5e95
[bdk_chain_redesign] Modify signature of `TxIndex`
evanlinjin Apr 5, 2023
24cd8c5
[bdk_chain_redesign] More tweaks and renamings
evanlinjin Apr 5, 2023
bff80ec
[bdk_chain_redesign] Improve `BlockAnchor` docs
evanlinjin Apr 7, 2023
611d2e3
[bdk_chain_redesign] Consistent `ChainOracle`
evanlinjin Apr 10, 2023
ee1060f
[bdk_chain_redesign] Simplify `LocalChain`
evanlinjin Apr 10, 2023
a7fbe0a
[bdk_chain_redesign] Documentation improvements
evanlinjin Apr 10, 2023
7d92337
[bdk_chain_redesign] Remove `IndexedTxGraph::last_height`
evanlinjin Apr 10, 2023
10ab77c
[bdk_chain_redesign] MOVE `TxIndex` into `indexed_chain_graph.rs`
evanlinjin Apr 12, 2023
001efdd
Include tests for new updates of TxGraph
rajarshimaitra Apr 8, 2023
5e026cf
Merge bitcoindevkit/bdk#932: Fix policy condition calculation
notmandatory Apr 15, 2023
81436fc
[bdk_chain_redesign] Fix `Anchor` definition + docs
evanlinjin Apr 17, 2023
8e36a2e
[bdk_chain_redesign] Remove incomplete logic
evanlinjin Apr 19, 2023
7175a82
[bdk_chain_redesign] Add tests for `TxGraph::relevant_heights`
evanlinjin Apr 19, 2023
1003fe2
[bdk_chain_redesign] Test `LocalChain`
evanlinjin Apr 20, 2023
6c49570
[bdk_chain_redesign] Rm `HashSet` from `TxGraph::relevant_heights`
evanlinjin Apr 20, 2023
34a7bf5
[bdk_chain_redesign] Rm unnecessary code and premature optimisation
evanlinjin Apr 20, 2023
03c1283
[bdk_chain_redesign] Revert changes to `SparseChain`
evanlinjin Apr 21, 2023
f3e7b67
[bdk_chain_redesign] Various tweaks and fixes
evanlinjin Apr 21, 2023
165b874
[bdk_chain_redesign] Add test for `insert_relevant_txs`
evanlinjin Apr 21, 2023
ac336aa
[bdk_chain_redesign] Make `insert_relevant_txs` topologically-agnostic
evanlinjin Apr 22, 2023
ecc74ce
[bdk_chain_redesign] Docs for `is_mature` and `is_confirmed_and_spend…
evanlinjin Apr 22, 2023
1b15264
[bdk_chain_redesign] Change `insert_relevant_txs` method
evanlinjin Apr 22, 2023
f101dde
[bdk_chain_redesign] Fix `tx_graph::Additions::append` logic
evanlinjin Apr 25, 2023
e536307
[bdk_chain_redesign] Fix `tx_graph::Additions::append` logic
evanlinjin Apr 28, 2023
911af34
[bdk_chain_redesign] Fix calculation bugs.
rajarshimaitra Apr 27, 2023
8cd0328
[bdk_chain_redesign] Implement `OwnedIndexer` for indexers
rajarshimaitra Apr 27, 2023
b799a57
[bdk_chain_redesign] Add tests for `IndexedTxGraph` with `LocalChain`
rajarshimaitra Apr 27, 2023
139e3d3
Merge bitcoindevkit/bdk#926: Introduce redesigned `bdk_chain` structures
danielabrozzoni Apr 28, 2023
38a3baa
Additions structure field tx changed to txs
Shourya742 Apr 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Enhancement request
about: Request a new feature or change to an existing feature
title: ''
labels: 'enhancement'
assignees: ''

---

**Describe the enhancement**
<!-- A clear and concise description of what you would like added or changed. -->

**Use case**
<!-- Tell us how you or others will use this new feature or change to an existing feature. -->

**Additional context**
<!-- Add any other context about the enhancement here. -->
99 changes: 99 additions & 0 deletions .github/ISSUE_TEMPLATE/minor_release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
---
name: Minor Release
about: Create a new minor release [for release managers only]
title: 'Release MAJOR.MINOR+1.0'
labels: 'release'
assignees: ''

---

## Create a new minor release

### Summary

<--release summary to be used in announcements-->

### Commit

<--latest commit ID to include in this release-->

### Changelog

<--add notices from PRs merged since the prior release, see ["keep a changelog"]-->

### Checklist

Release numbering must follow [Semantic Versioning]. These steps assume the current `master`
branch **development** version is *MAJOR.MINOR.0*.

#### On the day of the feature freeze

Change the `master` branch to the next MINOR+1 version:

- [ ] Switch to the `master` branch.
- [ ] Create a new PR branch called `bump_dev_MAJOR_MINOR+1`, eg. `bump_dev_0_22`.
- [ ] Bump the `bump_dev_MAJOR_MINOR+1` branch to the next development MINOR+1 version.
- Change the `Cargo.toml` version value to `MAJOR.MINOR+1.0`.
- Update the `CHANGELOG.md` file.
- The commit message should be "Bump version to MAJOR.MINOR+1.0".
- [ ] Create PR and merge the `bump_dev_MAJOR_MINOR+1` branch to `master`.
- Title PR "Bump version to MAJOR.MINOR+1.0".

Create a new release branch and release candidate tag:

- [ ] Double check that your local `master` is up-to-date with the upstream repo.
- [ ] Create a new branch called `release/MAJOR.MINOR+1` from `master`.
- [ ] Bump the `release/MAJOR.MINOR+1` branch to `MAJOR.MINOR+1.0-rc.1` version.
- Change the `Cargo.toml` version value to `MAJOR.MINOR+1.0-rc.1`.
- The commit message should be "Bump version to MAJOR.MINOR+1.0-rc.1".
- [ ] Add a tag to the `HEAD` commit in the `release/MAJOR.MINOR+1` branch.
- The tag name should be `vMAJOR.MINOR+1.0-rc.1`
- Use message "Release MAJOR.MINOR+1.0 rc.1".
- Make sure the tag is signed, for extra safety use the explicit `--sign` flag.
- [ ] Push the `release/MAJOR.MINOR` branch and new tag to the `bitcoindevkit/bdk` repo.
- Use `git push --tags` option to push the new `vMAJOR.MINOR+1.0-rc.1` tag.

If any issues need to be fixed before the *MAJOR.MINOR+1.0* version is released:

- [ ] Merge fix PRs to the `master` branch.
- [ ] Git cherry-pick fix commits to the `release/MAJOR.MINOR+1` branch.
- [ ] Verify fixes in `release/MAJOR.MINOR+1` branch.
- [ ] Bump the `release/MAJOR.MINOR+1` branch to `MAJOR.MINOR+1.0-rc.x+1` version.
- Change the `Cargo.toml` version value to `MAJOR.MINOR+1.0-rc.x+1`.
- The commit message should be "Bump version to MAJOR.MINOR+1.0-rc.x+1".
- [ ] Add a tag to the `HEAD` commit in the `release/MAJOR.MINOR+1` branch.
- The tag name should be `vMAJOR.MINOR+1.0-rc.x+1`, where x is the current release candidate number.
- Use tag message "Release MAJOR.MINOR+1.0 rc.x+1".
- Make sure the tag is signed, for extra safety use the explicit `--sign` flag.
- [ ] Push the new tag to the `bitcoindevkit/bdk` repo.
- Use `git push --tags` option to push the new `vMAJOR.MINOR+1.0-rc.x+1` tag.

#### On the day of the release

Tag and publish new release:

- [ ] Bump the `release/MAJOR.MINOR+1` branch to `MAJOR.MINOR+1.0` version.
- Change the `Cargo.toml` version value to `MAJOR.MINOR+1.0`.
- The commit message should be "Bump version to MAJOR.MINOR+1.0".
- [ ] Add a tag to the `HEAD` commit in the `release/MAJOR.MINOR+1` branch.
- The tag name should be `vMAJOR.MINOR+1.0`
- The first line of the tag message should be "Release MAJOR.MINOR+1.0".
- In the body of the tag message put a copy of the **Summary** and **Changelog** for the release.
- Make sure the tag is signed, for extra safety use the explicit `--sign` flag.
- [ ] Wait for the CI to finish one last time.
- [ ] Push the new tag to the `bitcoindevkit/bdk` repo.
- [ ] Publish **all** the updated crates to crates.io.
- [ ] Create the release on GitHub.
- Go to "tags", click on the dots on the right and select "Create Release".
- Set the title to `Release MAJOR.MINOR+1.0`.
- In the release notes body put the **Summary** and **Changelog**.
- Use the "+ Auto-generate release notes" button to add details from included PRs.
- Until we reach a `1.0.0` release check the "Pre-release" box.
- [ ] Make sure the new release shows up on [crates.io] and that the docs are built correctly on [docs.rs].
- [ ] Announce the release, using the **Summary**, on Discord, Twitter and Mastodon.
- [ ] Celebrate 🎉

[Semantic Versioning]: https://semver.org/
[crates.io]: https://crates.io/crates/bdk
[docs.rs]: https://docs.rs/bdk/latest/bdk
["keep a changelog"]: https://keepachangelog.com/en/1.0.0/
71 changes: 71 additions & 0 deletions .github/ISSUE_TEMPLATE/patch_release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
name: Patch Release
about: Create a new patch release [for release managers only]
title: 'Release MAJOR.MINOR.PATCH+1'
labels: 'release'
assignees: ''

---

## Create a new patch release

### Summary

<--release summary to be used in announcements-->

### Commit

<--latest commit ID to include in this release-->

### Changelog

<--add notices from PRs merged since the prior release, see ["keep a changelog"]-->

### Checklist

Release numbering must follow [Semantic Versioning]. These steps assume the current `master`
branch **development** version is *MAJOR.MINOR.PATCH*.

### On the day of the patch release

Change the `master` branch to the new PATCH+1 version:

- [ ] Switch to the `master` branch.
- [ ] Create a new PR branch called `bump_dev_MAJOR_MINOR_PATCH+1`, eg. `bump_dev_0_22_1`.
- [ ] Bump the `bump_dev_MAJOR_MINOR` branch to the next development PATCH+1 version.
- Change the `Cargo.toml` version value to `MAJOR.MINOR.PATCH+1`.
- Update the `CHANGELOG.md` file.
- The commit message should be "Bump version to MAJOR.MINOR.PATCH+1".
- [ ] Create PR and merge the `bump_dev_MAJOR_MINOR_PATCH+1` branch to `master`.
- Title PR "Bump version to MAJOR.MINOR.PATCH+1".

Cherry-pick, tag and publish new PATCH+1 release:

- [ ] Merge fix PRs to the `master` branch.
- [ ] Git cherry-pick fix commits to the `release/MAJOR.MINOR` branch to be patched.
- [ ] Verify fixes in `release/MAJOR.MINOR` branch.
- [ ] Bump the `release/MAJOR.MINOR.PATCH+1` branch to `MAJOR.MINOR.PATCH+1` version.
- Change the `Cargo.toml` version value to `MAJOR.MINOR.MINOR.PATCH+1`.
- The commit message should be "Bump version to MAJOR.MINOR.PATCH+1".
- [ ] Add a tag to the `HEAD` commit in the `release/MAJOR.MINOR` branch.
- The tag name should be `vMAJOR.MINOR.PATCH+1`
- The first line of the tag message should be "Release MAJOR.MINOR.PATCH+1".
- In the body of the tag message put a copy of the **Summary** and **Changelog** for the release.
- Make sure the tag is signed, for extra safety use the explicit `--sign` flag.
- [ ] Wait for the CI to finish one last time.
- [ ] Push the new tag to the `bitcoindevkit/bdk` repo.
- [ ] Publish **all** the updated crates to crates.io.
- [ ] Create the release on GitHub.
- Go to "tags", click on the dots on the right and select "Create Release".
- Set the title to `Release MAJOR.MINOR.PATCH+1`.
- In the release notes body put the **Summary** and **Changelog**.
- Use the "+ Auto-generate release notes" button to add details from included PRs.
- Until we reach a `1.0.0` release check the "Pre-release" box.
- [ ] Make sure the new release shows up on [crates.io] and that the docs are built correctly on [docs.rs].
- [ ] Announce the release, using the **Summary**, on Discord, Twitter and Mastodon.
- [ ] Celebrate 🎉

[Semantic Versioning]: https://semver.org/
[crates.io]: https://crates.io/crates/bdk
[docs.rs]: https://docs.rs/bdk/latest/bdk
["keep a changelog"]: https://keepachangelog.com/en/1.0.0/
6 changes: 5 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
<!-- 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 -->

### Changelog notice

<!-- Notice the release manager should include in the release tag message changelog -->
<!-- See https://keepachangelog.com/en/1.0.0/ for examples -->

### Checklists

#### All Submissions:
Expand All @@ -21,7 +26,6 @@ of the PR were done in a specific way -->

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

#### Bugfixes:

Expand Down
63 changes: 40 additions & 23 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,54 @@
on: [push]
on: [push, pull_request]

name: Code Coverage

jobs:

Codecov:
name: Code Coverage
runs-on: ubuntu-latest
env:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off'
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off'
RUSTFLAGS: "-Cinstrument-coverage"
RUSTDOCFLAGS: "-Cinstrument-coverage"
LLVM_PROFILE_FILE: "report-%p-%m.profraw"

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install rustup
run: curl https://sh.rustup.rs -sSf | sh -s -- -y
- name: Set default toolchain
run: rustup default nightly
- name: Set profile
run: rustup set profile minimal
- name: Update toolchain
run: rustup update
- name: Install lcov tools
run: sudo apt-get install lcov -y
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: "1.65.0"
override: true
profile: minimal
components: llvm-tools-preview
- name: Rust Cache
uses: Swatinem/[email protected]
- name: Install grcov
run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install grcov; fi
- name: Build simulator image
run: docker build -t hwi/ledger_emulator ./ci -f ci/Dockerfile.ledger
- name: Run simulator image
run: docker run --name simulator --network=host hwi/ledger_emulator &
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install python dependencies
run: pip install hwi==2.1.1 protobuf==3.20.1
- name: Test
run: cargo test --features all-keys,compiler,esplora,ureq,compact_filters --no-default-features

- id: coverage
name: Generate coverage
uses: actions-rs/[email protected]

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
run: cargo test --all-features
- name: Run grcov
run: mkdir coverage; grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '/*' -o ./coverage/lcov.info
- name: Generate HTML coverage report
run: genhtml -o coverage-report.html ./coverage/lcov.info
# - name: Coveralls upload
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
file: ${{ steps.coverage.outputs.report }}
directory: ./coverage/reports/
name: coverage-report
path: coverage-report.html
Loading