aboutsummaryrefslogtreecommitdiff
path: root/src/node/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/types.h')
-rw-r--r--src/node/types.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/node/types.h b/src/node/types.h
index d4e7d93015..bb8d17ef43 100644
--- a/src/node/types.h
+++ b/src/node/types.h
@@ -32,6 +32,17 @@ struct BlockCreateOptions {
* Set false to omit mempool transactions
*/
bool use_mempool{true};
+ /**
+ * The maximum additional weight which the pool will add to the coinbase
+ * scriptSig, witness and outputs. This must include any additional
+ * weight needed for larger CompactSize encoded lengths.
+ */
+ size_t coinbase_max_additional_weight{4000};
+ /**
+ * The maximum additional sigops which the pool will add in coinbase
+ * transaction outputs.
+ */
+ size_t coinbase_output_max_additional_sigops{400};
};
} // namespace node