mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
Add plugin notification topic "block_processed".
Changelog-Added: Plugins: Added notification topic "block_processed".
This commit is contained in:
@@ -873,6 +873,20 @@ current accounts (`account_id` matches the `account_id` emitted from
|
||||
}
|
||||
```
|
||||
|
||||
### `block_processed`
|
||||
|
||||
Emitted after each block is received from bitcoind, either during the initial sync or
|
||||
throughout the node's life as new blocks appear.
|
||||
|
||||
```json
|
||||
{
|
||||
"block_processed": {
|
||||
"hash": "000000000000000000034bdb3c01652a0aa8f63d32f949313d55af2509f9d245",
|
||||
"height": 753304
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### `openchannel_peer_sigs`
|
||||
|
||||
When opening a channel with a peer using the collaborative transaction protocol
|
||||
|
||||
Reference in New Issue
Block a user