rgb-cln/wallet
Christian Decker df9b8e22b4 wallet: Added helper to rewire HTLCs after loading from DB
This is a necessary evil since at the time we load `struct htlc_out`
associated with a channel we might not have loaded the `struct
htlc_in` that it depends on, so we defer the rewiring until we have
loaded all HTLCs for all channels. At that point rewiring MUST work,
otherwise we report a failure.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
2017-10-09 11:51:13 +10:30
..
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
Makefile wallet: Added loading of HTLCs from the database 2017-10-09 11:51:13 +10:30
db.c wallet: Add primitives to store htlcs in the database 2017-10-09 11:51:13 +10:30
db.h common: absorb remaining files from daemon/ 2017-08-29 17:54:14 +02:00
db_tests.c unittests: Test some more of the db primitives. 2017-06-23 16:02:20 +09:30
test_utils.h wallet: Add wallet_tests and simplify db_tests 2017-06-06 09:16:10 +09:30
wallet.c wallet: Added helper to rewire HTLCs after loading from DB 2017-10-09 11:51:13 +10:30
wallet.h wallet: Added helper to rewire HTLCs after loading from DB 2017-10-09 11:51:13 +10:30
wallet_tests.c wallet: Added loading of HTLCs from the database 2017-10-09 11:51:13 +10:30
walletrpc.c moveonly: Move make wallet_extract_owned available publicly 2017-09-10 10:48:53 +09:30
walletrpc.h walletrpc: Implemented the withdrawal flow 2017-06-23 16:02:20 +09:30