rgb-cln/wallet
trueptolemy 96135dab5e log: add 'warning' notification when log
- Related Changes for `warning` notification

Add a `bool` type parameter in `log_()` and `lov()`, this `bool` flag
 indicates if we should call `warning` notifier.

1) The process of copying `log_book` of every peer to the `log_book` of
`ld` is usually included in `log_()` and `lov()`, and it may lead to
repeated `warning` notification. So a `bool`, which explicitly indicates
if the `warning` notification is disabled during this call, is necessary
.
2) The `LOG_INFO` and `LOG_DEBUG` level don't need to call
warning, so set that `bool` paramater as `FALSE` for these log level and
only set it as `TRUE` for `LOG_UNUAUSL`/`LOG_BROKEN`. As for `LOG_IO`,
it use `log_io()` to log, so we needn't think about notifier for it.
2019-06-07 01:23:51 +00:00
..
test log: add 'warning' notification when log 2019-06-07 01:23:51 +00:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
Makefile wallet: fix Makefile to include correct dependencies. 2018-09-14 22:11:48 +02:00
db.c DB: Store the remote channel announcement signatures into DB 2019-05-29 11:46:33 +02:00
db.h db: Add timestamp primitives so we can store them in the DB 2019-04-10 23:48:39 +00:00
invoices.c autoclean: make this a plugin. 2019-05-22 00:18:29 +02:00
invoices.h wallet: use amount_sat/amount_msat. 2019-02-21 08:01:37 +00:00
txfilter.c pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
txfilter.h pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
wallet.c wallet: clean reserved inputs on startup. 2019-06-06 04:47:44 +00:00
wallet.h wallet: clean reserved inputs on startup. 2019-06-06 04:47:44 +00:00
walletrpc.c wallet: new commands 'txprepare', 'txsend' and 'txdiscard'. 2019-06-06 04:47:44 +00:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00