database: pull out database code into a new module

We're going to reuse the database controllers for the accounting plugin
This commit is contained in:
niftynei
2022-01-03 12:45:35 -06:00
committed by Rusty Russell
parent 03c950bae8
commit ce12d2b8a9
37 changed files with 1478 additions and 1292 deletions

View File

@@ -2,6 +2,7 @@
#include <bitcoin/feerate.h>
#include <common/key_derive.h>
#include <common/type_to_string.h>
#include <db/exec.h>
#include <errno.h>
#include <hsmd/capabilities.h>
#include <inttypes.h>