mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 02:27:51 +01:00
4ffda340d3
And turn "" includes into full-path (which makes it easier to put config.h first, and finds some cases check-includes.sh missed previously). config.h sets _GNU_SOURCE which really needs to be done before any '#includes': we mainly got away with it with glibc, but other platforms like Alpine may have stricter requirements. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
28 lines
682 B
C
28 lines
682 B
C
#include "config.h"
|
|
#include "test_utils.h"
|
|
|
|
/*
|
|
* Copy of lightnind/options.c testnet_config
|
|
* To reduce code duplication move testnet_config from options.c to options.h.
|
|
*/
|
|
const struct config test_config = {
|
|
.locktime_blocks = 6,
|
|
.locktime_max = 14 * 24 * 6,
|
|
.anchor_confirms = 1,
|
|
.commitment_fee_min_percent = 0,
|
|
.commitment_fee_max_percent = 0,
|
|
.cltv_expiry_delta = 6,
|
|
.cltv_final = 10,
|
|
.commit_time_ms = 10,
|
|
.fee_base = 1,
|
|
.fee_per_satoshi = 10,
|
|
.broadcast_interval_msec = 60000,
|
|
.channel_update_interval = 1209600/2,
|
|
.ignore_fee_limits = true,
|
|
.rescan = 30,
|
|
.max_fee_multiplier = 10,
|
|
.use_dns = true,
|
|
.min_capacity_sat = 10000,
|
|
.use_v3_autotor = true,
|
|
};
|