Skip to content

Commit

Permalink
move maxmempoolback to advanced
Browse files Browse the repository at this point in the history
  • Loading branch information
BitcoinMechanic committed Oct 14, 2024
1 parent 9536c6b commit 83dba5c
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions scripts/services/getConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 <n> 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 <n> megabytes.",
// range: "[1,*)",
// integral: true,
// units: "MiB",
// default: 300,
// },
mempoolexpiry: {
type: "number",
nullable: false,
Expand Down Expand Up @@ -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 <n> megabytes.",
range: "[1,*)",
integral: true,
units: "MiB",
default: 300,
},
peers: {
type: "object",
name: "Peers",
Expand Down

0 comments on commit 83dba5c

Please sign in to comment.