core-lightning/wallet
Christian Decker 048680d0f2 db: Add db_prepare and db_exec_prepared to expose native binding
This makes executing a query/command a two step process, but allows us
to use the native binding and avoid having to build queries as SQL
strings. Two major advantages are that we are no longer vulnerable to
SQL injections and that we do not have to hex-encode binary fields
like private keys, hashes, and routing onions, halving the storage
requirements for those.

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
db_tests.c unittests: Test some more of the db primitives. 2017-06-23 16:02:20 +09:30
db.c db: Add db_prepare and db_exec_prepared to expose native binding 2017-10-09 11:51:13 +10:30
db.h db: Add db_prepare and db_exec_prepared to expose native binding 2017-10-09 11:51:13 +10:30
Makefile wallet: Added loading of HTLCs from the database 2017-10-09 11:51:13 +10:30
test_utils.h wallet: Add wallet_tests and simplify db_tests 2017-06-06 09:16:10 +09:30
wallet_tests.c wallet_tests: Testing the rewiring of loaded htlcs 2017-10-09 11:51:13 +10: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
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