]> Untitled Git - bdk/commit
feat(tx_graph)!: change TxGraph::calculate_fee to return Result<u64,CalculateFeeError>
authorSteve Myers <steve@notmandatory.org>
Tue, 1 Aug 2023 17:42:37 +0000 (12:42 -0500)
committerSteve Myers <steve@notmandatory.org>
Wed, 30 Aug 2023 16:55:17 +0000 (11:55 -0500)
commitd443fe7f6613776a3dce00def0b655c4b2b36728
tree8e0fdc4817c3b8dfe1f05e6dcd4de1887daae011
parentb4c31cd5bad4fea18044aab2cffd657b16ec185b
feat(tx_graph)!: change TxGraph::calculate_fee to return Result<u64,CalculateFeeError>

added
- tx_graph::CalculateFeeError enum

BREAKING CHANGES:

changed
- TxGraph::calculate_fee function to return Result<u64,CalculateFeeError> instead of Option<i64>
crates/bdk/src/error.rs
crates/bdk/src/lib.rs
crates/bdk/src/wallet/mod.rs
crates/bdk/tests/wallet.rs
crates/chain/src/tx_graph.rs
crates/chain/tests/test_tx_graph.rs