38 Commits (71b90bf3bbe2d160c3744812b65aff778eea24af)

Author SHA1 Message Date
niftynei 864f2f3e21 channel_id: save to database, dont derive from funding_txid 4 years ago
Rusty Russell 1702c7a69a hsmd: convert to new wire generation style. 4 years ago
niftynei 90b393ca1a hsmd/db: backfill pubkey information so that psbts signing works 4 years ago
niftynei 65c2bac2f3 hsmd/wallet: pass the bip32_key down into migrations 4 years ago
niftynei bb589e0eaf psbt: database migration for converting last_tx to a psbt 5 years ago
Rusty Russell cfb320c972 wire: move remaining bitcoin functions out to bitcoin/ files. 5 years ago
Christian Decker 2c11c54dd2 db: Track the data_version in the database 5 years ago
Christian Decker 097af493dd db: Move db_migrate transaction up one level 5 years ago
Christian Decker 6020a0d587 db: Consolidate access to the changes in a db 5 years ago
Rusty Russell ef7a820ab1 log: make formatting more consistent. 5 years ago
Rusty Russell e433d4ddc1 lightningd: have logging include an optional node_id for each entry. 5 years ago
Christian Decker 712595f0d2 db: Wire in the logs into the database so we can give feedback 5 years ago
Christian Decker e2f7c86271 db: Move remainder of the sqlite3 into the apropriate file 5 years ago
Rusty Russell 91dcd1d55a db: convert pre-Adelaide short_channel_ids. 5 years ago
Christian Decker c68efdfcf4 db: Migrate to DB abstraction layer in db.c 5 years ago
Christian Decker 38601afd17 db: Implement skaffolding for the dispatch of DB-specific functions 6 years ago
Rusty Russell cc70b9c4ec wire: use common/bigsize routines 5 years ago
Rusty Russell 220449e1cd ccan: import ccan/json_out and ccan/json_escape. 6 years ago
trueptolemy 96135dab5e log: add 'warning' notification when log 6 years ago
Rusty Russell a2fa699e0e Use node_id everywhere for nodes. 6 years ago
Rusty Russell b4455d517c common/node_id: new type. 6 years ago
Rusty Russell 7ccf3af51d pytest: test the db hook plugin. 6 years ago
Michael Schmoock 1853b399b0 fix: a pr2444 introduced valgrind complaint 6 years ago
Michael Schmoock 624ec6da27 tests: always call db_migrate() with non-NULL ld. 6 years ago
Rusty Russell 60285187fd db: support more powerful migrations. 6 years ago
Rusty Russell bef7d45f1c db: remove manual db_migration_count function. 6 years ago
Rusty Russell 7fad7bccba common/amount: new types struct amount_msat and struct amount_sat. 6 years ago
Rusty Russell 1dde233a48 wallet: put explicit hook in for fatal error testing. 6 years ago
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 7 years ago
Rusty Russell 76e8a11380 wallet: use json_escaped for invoice label. 7 years ago
practicalswift 1f46262278 Remove unused parameter testname in create_test_db(const char *testname) 7 years ago
practicalswift 91a9c2923f Mark intentionally unused parameters as such (with "UNUSED") 7 years ago
Rusty Russell 63390a58b0 db: log a message to say whether we created or updated db. 7 years ago
Christian Decker ee25547576 Re-enable builds with DEVELOPER=0 7 years ago
Rusty Russell 4957921e02 log: mark ltmp as notleak. 7 years ago
Rusty Russell c956d9f5eb lightningd: tal memleak detection, dev-memleak command. 7 years ago
Rusty Russell 005f3826c9 wallet/tests: add mocks for futureproofing. 7 years ago
Rusty Russell 2931760b5b wallet: move tests into test/ dir like other unit tests. 7 years ago
Rusty Russell 4fb472b7a7 db: we must always be in a transaction, remove nested, call fatal() 7 years ago
Rusty Russell 3282768302 wallet: don't fail, assume db ops will call fatal. 7 years ago
Christian Decker 1522eee528 unittests: Test some more of the db primitives. 8 years ago
Christian Decker 257ecf6222 wallet: Helper to store/retrieve persistent vars to/from DB 8 years ago
Christian Decker 5396335363 wallet: Add wallet_tests and simplify db_tests 8 years ago
Christian Decker 80436d06cb wallet: Create and manage a sqlite3 database for the wallet 8 years ago