Commit a2c8a55
committed
Use BDK events in
Replace the full transaction list scan in `update_payment_store` with
handling of BDK's `WalletEvent` stream during sync. This leverages the
new events in BDK 2.2, reduces redundant work, and prepares the
foundation for reliable RBF/CPFP tracking via `WalletEvent::TxReplaced`.update_payment_store instead of scanning all transactions1 parent 1a134b4 commit a2c8a55
File tree
4 files changed
+311
-75
lines changed- bindings
- src
- payment
- wallet
- tests
4 files changed
+311
-75
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
| 425 | + | |
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
294 | 303 | | |
295 | 304 | | |
296 | 305 | | |
| |||
351 | 360 | | |
352 | 361 | | |
353 | 362 | | |
| 363 | + | |
| 364 | + | |
354 | 365 | | |
355 | 366 | | |
356 | 367 | | |
| |||
448 | 459 | | |
449 | 460 | | |
450 | 461 | | |
| 462 | + | |
451 | 463 | | |
452 | 464 | | |
453 | 465 | | |
| |||
540 | 552 | | |
541 | 553 | | |
542 | 554 | | |
| 555 | + | |
543 | 556 | | |
544 | 557 | | |
545 | 558 | | |
| |||
555 | 568 | | |
556 | 569 | | |
557 | 570 | | |
| 571 | + | |
558 | 572 | | |
559 | 573 | | |
560 | 574 | | |
| |||
570 | 584 | | |
571 | 585 | | |
572 | 586 | | |
573 | | - | |
574 | | - | |
575 | | - | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
576 | 592 | | |
577 | 593 | | |
578 | 594 | | |
| |||
593 | 609 | | |
594 | 610 | | |
595 | 611 | | |
| 612 | + | |
596 | 613 | | |
597 | 614 | | |
598 | 615 | | |
| |||
0 commit comments