mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
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:
@@ -126,7 +126,8 @@ template = Template("""#ifndef LIGHTNINGD_WALLET_GEN_DB_${f.upper()}
|
||||
|
||||
#include <config.h>
|
||||
#include <ccan/array_size/array_size.h>
|
||||
#include <wallet/db_common.h>
|
||||
#include <db/common.h>
|
||||
#include <db/utils.h>
|
||||
|
||||
#if HAVE_${f.upper()}
|
||||
% for colname, table in colhtables.items():
|
||||
|
||||
Reference in New Issue
Block a user