cln/wallet
Christian Decker 89ff46f1e6 db: Added DB migrations to get the correct sync height
The no-rescan change requires us to rescan one last time from the first_blocknum
of our channels (if we have any). The migrations just drop blocks that are
higher, then insert a dummy with the first_blocknum, and then clean up after
us. If we don't have any channels we don't go back at all.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
2018-04-25 14:33:38 +02:00
..
test onchaind: Add a level of indirection to txwatches and txowatches 2018-04-25 14:33:38 +02:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
db.c db: Added DB migrations to get the correct sync height 2018-04-25 14:33:38 +02:00
db.h wallet: use json_escaped for invoice label. 2018-03-26 00:20:53 +00:00
invoices.c wallet: use json_escaped for invoice label. 2018-03-26 00:20:53 +00:00
invoices.h wallet: use json_escaped for invoice label. 2018-03-26 00:20:53 +00:00
Makefile wallet: add check-source to makefile. 2018-03-07 18:55:51 +01:00
txfilter.c Reduce variable scopes 2018-03-26 01:31:21 +00:00
txfilter.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
wallet.c chaintopology: Simplify rescan offset computation 2018-04-25 14:33:38 +02:00
wallet.h chaintopology: Simplify rescan offset computation 2018-04-25 14:33:38 +02:00
walletrpc.c walletrpc: Refactor out encoding of pubkey to address. 2018-04-22 12:51:03 +02:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00