From 83dba5c0256a46e6ef58f1b4338883d88d161fb1 Mon Sep 17 00:00:00 2001 From: BitcoinMechanic Date: Mon, 14 Oct 2024 13:00:10 -0700 Subject: [PATCH] move maxmempoolback to advanced --- scripts/services/getConfig.ts | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/scripts/services/getConfig.ts b/scripts/services/getConfig.ts index e4cc245..80a52bd 100644 --- a/scripts/services/getConfig.ts +++ b/scripts/services/getConfig.ts @@ -68,17 +68,17 @@ export const getConfig: T.ExpectedExports.getConfig = async (effects) => { description: "Save the mempool on shutdown and load on restart.", default: true, }, - maxmempool: { - type: "number", - nullable: false, - name: "Max Mempool Size", - description: - "Keep the transaction memory pool below megabytes.", - range: "[1,*)", - integral: true, - units: "MiB", - default: 300, - }, + // maxmempool: { + // type: "number", + // nullable: false, + // name: "Max Mempool Size", + // description: + // "Keep the transaction memory pool below megabytes.", + // range: "[1,*)", + // integral: true, + // units: "MiB", + // default: 300, + // }, mempoolexpiry: { type: "number", nullable: false, @@ -365,6 +365,17 @@ export const getConfig: T.ExpectedExports.getConfig = async (effects) => { name: "Advanced", description: "Advanced Settings", spec: { + maxmempool: { + type: "number", + nullable: false, + name: "Max Mempool Size", + description: + "Keep the transaction memory pool below megabytes.", + range: "[1,*)", + integral: true, + units: "MiB", + default: 300, + }, peers: { type: "object", name: "Peers",