Skip to content

Commit 1205e6a

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 * `stop_gap` is enforced to ensure no missing balances `RpcConfig` changes: * Introduce `RpcSyncParams`. * Remove `RpcConfig::skip_blocks` (this is replaced by `RpcSyncParams::start_time`).
1 parent 6bae52e commit 1205e6a

File tree

4 files changed

+580
-251
lines changed

4 files changed

+580
-251
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
- Add `descriptor::checksum::get_checksum_bytes` method.
99
- Add `Excess` enum to handle remaining amount after coin selection.
1010
- Move change creation from `Wallet::create_tx` to `CoinSelectionAlgorithm::coin_select`.
11+
- New `RpcBlockchain` implementation with various fixes.
1112

1213
## [v0.20.0] - [v0.19.0]
1314

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)