mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 06:41:44 +01:00
Plugins: update the doc and add a changelog bragline about 'invoice_payment' notification
This commit is contained in:
parent
34533ead68
commit
5dee59e969
2 changed files with 16 additions and 0 deletions
|
@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
### Changed
|
||||
|
||||
- build: now requires `python3-mako` to be installed, i.e. `sudo apt-get install python3-mako`
|
||||
- plugins: a new notification type `invoice_payment` (sent when an invoice is paid) has been added
|
||||
|
||||
### Deprecated
|
||||
|
||||
|
|
|
@ -223,6 +223,21 @@ to a peer was lost.
|
|||
}
|
||||
```
|
||||
|
||||
#### `invoice_payment`
|
||||
|
||||
A notification for topic `invoice_payment` is sent every time an invoie is paid.
|
||||
|
||||
```json
|
||||
{
|
||||
"invoice_payment": {
|
||||
"label": "unique-label-for-invoice",
|
||||
"preimage": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"msat": "10000msat"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
#### `warning`
|
||||
|
||||
A notification for topic `warning` is sent every time a new `BROKEN`
|
||||
|
|
Loading…
Add table
Reference in a new issue