core-lightning/wallet
Christian Decker b6d583c26a db: Move tracking of pending statements into the struct db
We now have a much stronger consistency check from the combination of
transaction wrapping, tal memory leak detection. Tramsaction wrapping ensures
that each statement is executed before the transaction is committed. The
commit is also driven by the `io_loop`, which means that it is no longer
possible for us to have statements outside of transactions and transactions
are guaranteed to commit at the round's end.

By adding the tal-awareness we can also get a much better indication as to
whether we have un-freed statements flying around, which we can test at the
end of the round as well.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
2019-09-05 23:41:05 +00:00
..
test db: Migrate to DB abstraction layer in db.c 2019-09-05 23:41:05 +00:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
db_common.h db: Move tracking of pending statements into the struct db 2019-09-05 23:41:05 +00:00
db_sqlite3.c db: Add DB-specific db_last_insert_id 2019-09-05 23:41:05 +00:00
db.c db: Move tracking of pending statements into the struct db 2019-09-05 23:41:05 +00:00
db.h db: Move tracking of pending statements into the struct db 2019-09-05 23:41:05 +00:00
invoices.c db: Migrate invoices.c to new abstraction layer 2019-09-05 23:41:05 +00:00
invoices.h ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
Makefile wallet: Add tooling to extract SQL queries and generate driver info 2019-09-05 23:41:05 +00:00
txfilter.c wallet/txfilter: free outpoint filter and scriptpubkeyset on exit. 2019-06-30 16:41:30 +09:30
txfilter.h pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
wallet.c db: Migrate wallet.c to the new abstraction layer 2019-09-05 23:41:05 +00:00
wallet.h db: Migrate wallet.c to the new abstraction layer 2019-09-05 23:41:05 +00:00
walletrpc.c cleanup: Remove unused structure struct withdrawal 2019-09-05 16:05:36 -05:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00