Skip to content

Commit ac19c19

Browse files
committed
New RpcBlockchain implementation with various fixes
The new implementation fixes the following: * We can track more than 100 scriptPubKeys * We can obtain more than 1000 transactions per sync * `TransactionDetails` for already-synced transactions are updated when new scriptPubKeys are introduced (fixing the missing balance/coins issue of supposedly tracked scriptPubKeys) `RpcConfig` changes: * Introduce `RpcSyncParams`. * Remove `RpcConfig::skip_blocks` (this is replaced by `RpcSyncParams::start_time`).
1 parent ef03da0 commit ac19c19

File tree

4 files changed

+547
-258
lines changed

4 files changed

+547
-258
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
- Add the ability to specify whether a taproot transaction should be signed using the internal key or not, using `sign_with_tap_internal_key` in `SignOptions`
1414
- Consolidate params `fee_amount` and `amount_needed` in `target_amount` in `CoinSelectionAlgorithm::coin_select` signature.
1515
- Change the meaning of the `fee_amount` field inside `CoinSelectionResult`: from now on the `fee_amount` will represent only the fees asociated with the utxos in the `selected` field of `CoinSelectionResult`.
16+
- New `RpcBlockchain` implementation with various fixes.
1617

1718
## [v0.20.0] - [v0.19.0]
1819

examples/rpcwallet.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ fn main() -> Result<(), Box<dyn Error>> {
103103
auth: bitcoind_auth,
104104
network: Network::Regtest,
105105
wallet_name,
106-
skip_blocks: None,
106+
sync_params: None,
107107
};
108108

109109
// Use the above configuration to create a RPC blockchain backend

0 commit comments

Comments
 (0)