rgb-cln/wallet
Christian Decker 257ecf6222 wallet: Helper to store/retrieve persistent vars to/from DB
Not the nicest code, but it allows us to store the bip32_max_index so
that we don't forget our addresses upon restart. We could have done
the same by retrieving the max index from our index, but then we'd
forget addresses that don't have an associated output. Conversion
to/from string is so that we can store arbitrary one off values in the
DB in the future, independent of type.
2017-06-06 09:16:10 +09:30
..
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
Makefile wallet: Add compile dependency on CCAN 2017-06-06 09:16:10 +09:30
db.c wallet: Helper to store/retrieve persistent vars to/from DB 2017-06-06 09:16:10 +09:30
db.h wallet: Helper to store/retrieve persistent vars to/from DB 2017-06-06 09:16:10 +09:30
db_tests.c wallet: Helper to store/retrieve persistent vars to/from DB 2017-06-06 09:16:10 +09:30
test_utils.h wallet: Add wallet_tests and simplify db_tests 2017-06-06 09:16:10 +09:30
wallet.c wallet: Reserve UTXOs used in build_utxos 2017-06-06 09:16:10 +09:30
wallet.h wallet: Reserve UTXOs used in build_utxos 2017-06-06 09:16:10 +09:30
wallet_tests.c wallet: Reserve UTXOs used in build_utxos 2017-06-06 09:16:10 +09:30