Skip to content

Commit 49c0b61

Browse files
committed
Parse node settings sigop_fee_satoshis, minimum_output_satoshis.
1 parent ac43d73 commit 49c0b61

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/parser.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,18 @@ options_metadata parser::load_settings()
422422
value<float>(&configured.chain.byte_fee_satoshis),
423423
"The minimum fee per byte required for transaction acceptance, defaults to 1."
424424
)
425+
(
426+
/* Internally this is blockchain, but it is conceptually a node setting. */
427+
"node.sigop_fee_satoshis",
428+
value<float>(&configured.chain.sigop_fee_satoshis),
429+
"The minimum fee per sigop, additional to byte fee, defaults to 100."
430+
)
431+
(
432+
/* Internally this is blockchain, but it is conceptually a node setting. */
433+
"node.minimum_output_satoshis",
434+
value<uint64_t>(&configured.chain.minimum_output_satoshis),
435+
"The minimum output value, defaults to 500."
436+
)
425437
(
426438
/* Internally this network, but it is conceptually a node setting. */
427439
"node.relay_transactions",

0 commit comments

Comments
 (0)