From bb36f60f84e4beaab6a48d21b5ab128725568b5f Mon Sep 17 00:00:00 2001 From: opacey Date: Fri, 1 Apr 2022 19:36:20 +0100 Subject: [PATCH] DynaFed note for con_max_block_sig_size Included a note that the signature size constant under DynaFed is 77, rather than 74 prior to DynaFed. The formula for con_max_block_sig_size is affected. The guide doesnt yet use DynaFed so this may not be the most appropriate place for this note, feel free to reject it and put in a more appropriate location. --- elements-code-tutorial/block-creation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements-code-tutorial/block-creation.md b/elements-code-tutorial/block-creation.md index 01c188c..bf4cddf 100644 --- a/elements-code-tutorial/block-creation.md +++ b/elements-code-tutorial/block-creation.md @@ -58,7 +58,7 @@ e1-cli stop e2-cli stop ~~~~ -Define the requirements of block creation (must be valid against our redeemscript) and store in a variable. Note that the value "214" comes from (required_signers * 74) + (number_of_nodes * 33). Also note that the "evbparams=dynafed:0:::" parameter is to prevent dynamic federations from activating which complicates block signing: +Define the requirements of block creation (must be valid against our redeemscript) and store in a variable. Note that the value "214" comes from (required_signers * 74) + (number_of_nodes * 33). Also note that the "evbparams=dynafed:0:::" parameter is to prevent dynamic federations from activating which complicates block signing. NB, If you are using DynaFed then the formula becomes (required_signers * 77) + (number_of_nodes * 33): ~~~~ SIGNBLOCKARGS=("-signblockscript=$(echo $REDEEMSCRIPT)" "-con_max_block_sig_size=214" "-evbparams=dynafed:0:::")