core-lightning/wallet
Michael Schmoock d86855d1f7 feat: adds channel_state_changed notification
This notification will be raised whenever a channel state changes.
The payload includes the channel and peer identifiers and the
old and the new state.

Example payload:

```
{
    "channel_state_changed": {
        "peer_id": "03bc9337c7a28bb784d67742ebedd30a93bacdf7e4ca16436ef3798000242b2251",
        "channel_id": "a2d0851832f0e30a0cf778a826d72f077ca86b69f72677e0267f23f63a0599b4",
        "short_channel_id" : "561820x1020x1",
        "old_state": "CHANNELD_NORMAL",
        "new_state": "AWAITING_UNILATERAL"
    }
}
```

Changelog-Added: Plugins: channel_state_changed notification
2020-09-10 10:24:06 +09:30
..
test feat: adds channel_state_changed notification 2020-09-10 10:24:06 +09:30
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
db_common.h allow building without sqlite3 2020-08-30 12:44:56 +02:00
db_postgres_sqlgen.c feat: adds channel_state_changed notification 2020-09-10 10:24:06 +09:30
db_postgres.c Makefile: protect .po file and gen_db files with SHA256STAMP. 2020-08-31 21:33:26 -05:00
db_sqlite3_sqlgen.c feat: adds channel_state_changed notification 2020-09-10 10:24:06 +09:30
db_sqlite3.c Makefile: protect .po file and gen_db files with SHA256STAMP. 2020-08-31 21:33:26 -05:00
db.c psbt: clean up interface for setting metadata on PSBT inputs 2020-09-09 19:54:20 +09:30
db.h channel_id: save to database, dont derive from funding_txid 2020-09-09 19:54:20 +09:30
invoices.c wallet: db_bind_talarr and db_column_talarr helpers. 2020-09-02 09:46:37 +09:30
invoices.h wallet: add invoice features into db. 2019-11-24 23:33:17 +00:00
Makefile Makefile: fix up sqlgen and docgen rules. 2020-09-08 12:49:02 +09:30
reservation.c build: exclude dualopend from non-experimental builds 2020-09-09 19:54:20 +09:30
statements_gettextgen.po feat: adds channel_state_changed notification 2020-09-10 10:24:06 +09:30
txfilter.c common: tal_dup_talarr() helper. 2020-02-27 14:16:16 +10:30
txfilter.h pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
wallet.c channel_id: save to database, dont derive from funding_txid 2020-09-09 19:54:20 +09:30
wallet.h wallet: Remove in-memory utxoset filter 2020-09-09 09:24:29 +09:30
walletrpc.c utxo: expose is_reserved, make enum constants upper case. 2020-09-08 10:14:42 +09:30
walletrpc.h wallet: new JSON commands reserveinputs and unreserveinputs. 2020-07-15 18:49:02 +09:30