|
| 1 | +# Unreleased |
| 2 | + |
| 3 | +## Feature and API updates |
| 4 | +- Added reactive event system for wallet monitoring without polling: |
| 5 | + - **Onchain Transaction Events** (fully implemented): |
| 6 | + - `OnchainTransactionReceived`: Emitted when a new unconfirmed transaction is |
| 7 | + first detected in the mempool (instant notification for incoming payments!) |
| 8 | + - `OnchainTransactionConfirmed`: Emitted when a transaction receives confirmations |
| 9 | + - `OnchainTransactionUnconfirmed`: Emitted when a previously confirmed transaction |
| 10 | + becomes unconfirmed (blockchain reorg) |
| 11 | + - **Sync Completion Event** (fully implemented): |
| 12 | + - `SyncCompleted`: Emitted when onchain wallet sync finishes successfully |
| 13 | + - **Balance Change Event** (fully implemented): |
| 14 | + - `BalanceChanged`: Emitted when onchain or Lightning balances change, allowing |
| 15 | + applications to update balance displays immediately without polling |
| 16 | +- Added `TransactionContext` enum to onchain transaction events, which provides |
| 17 | + information about whether a transaction is related to channel funding, channel |
| 18 | + closure, or regular wallet activity. Applications can cross-reference with |
| 19 | + `ChannelPending` and `ChannelClosed` events to identify channel-related |
| 20 | + transactions. |
| 21 | +- Added `SyncType` enum to distinguish between onchain wallet sync, Lightning |
| 22 | + wallet sync, and fee rate cache updates. |
| 23 | +- Balance tracking is now persisted in `NodeMetrics` to detect changes across restarts. |
| 24 | + |
1 | 25 | # 0.6.2 - Aug. 14, 2025 |
2 | 26 | This patch release fixes a panic that could have been hit when syncing to a |
3 | 27 | TLS-enabled Electrum server, as well as some minor issues when shutting down |
|
0 commit comments