core-lightning/wallet
Rusty Russell 44c469d52b disableoffer: fix disabling of already-used offers.
Turns out we didn't actually test this at all, and next commit does :(

    offer_status_in_db: 4 is invalid
    lightningd: FATAL SIGNAL 6 (version v0.10.0-459-g48fbd45-modded)
    0x5608cd360855 send_backtrace
	common/daemon.c:39
    0x5608cd3608ff crashdump
	common/daemon.c:52
    0x7f9af1dae20f ???
	???:0
    0x7f9af1dae18b ???
	???:0
    0x7f9af1d8d858 ???
	???:0
    0x5608cd30a47e fatal
	lightningd/log.c:819
    0x5608cd3430c5 offer_status_in_db
	wallet/wallet.h:1424
    0x5608cd34f1f3 wallet_offer_disable
	wallet/wallet.c:4494
    0x5608cd33ae2e json_disableoffer
	lightningd/offer.c:256
    0x5608cd3038fc command_exec
	lightningd/jsonrpc.c:643

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-07-21 13:27:27 -04:00
..
test channel: wire blockheight updates from channeld in to database 2021-07-20 13:28:38 -04:00
.gitignore reorganize .gitignore entries across subdirs. 2021-05-18 09:43:50 +09:30
db_common.h allow building without sqlite3 2020-08-30 12:44:56 +02:00
db_postgres_sqlgen.c disableoffer: fix disabling of already-used offers. 2021-07-21 13:27:27 -04:00
db_postgres.c Makefile: make check-includes check all the non-generated files. 2020-10-22 12:14:34 +10:30
db_sqlite3_sqlgen.c disableoffer: fix disabling of already-used offers. 2021-07-21 13:27:27 -04:00
db_sqlite3.c Makefile: make check-includes check all the non-generated files. 2020-10-22 12:14:34 +10:30
db.c channel utxo: persist the 'csv' lock value to database 2021-07-20 13:28:38 -04:00
db.h db: add helper for db_col_psbt 2020-10-20 12:50:31 +10:30
invoices.c listinvoice: populate local_offer_id when iterating whole db. 2021-07-03 12:13:45 +09:30
invoices.h invoice: add an optional local_offer_id. 2020-12-15 12:05:02 +01:00
Makefile Makefile: allow postfixes to SHA256STAMP. 2021-05-27 20:28:49 +09:30
reservation.c utxo: don't add outputs that aren't currently eligible to be spent 2021-07-20 13:28:38 -04:00
statements_gettextgen.po disableoffer: fix disabling of already-used offers. 2021-07-21 13:27:27 -04:00
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 disableoffer: fix disabling of already-used offers. 2021-07-21 13:27:27 -04:00
wallet.h disableoffer: fix disabling of already-used offers. 2021-07-21 13:27:27 -04:00
walletrpc.c channel utxo: persist the 'csv' lock value to database 2021-07-20 13:28:38 -04:00
walletrpc.h common: pull up param_psbt 2020-10-20 12:50:31 +10:30