mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Merge #733: Fix assets_tutorial.py signblock dynafed error
f302515f7 Fix assets_tutorial.py signblock dynafed error (wintercooled)
Pull request description:
Versions 0.18+ require a witnessScript argument for signblock unless the start arguments specify the ``con_dyna_deploy_start`` argument as ``0``.
Tree-SHA512: cb12eaf7664868ad741a72188db8e5c6337e9376b48972698eda7c333afbaf8f99b138aadba3b877977a2b34d0a32551c6c0606e1836af2c41939b227dd58647
This commit is contained in:
commit
d93e27ef93
1 changed files with 2 additions and 1 deletions
|
|
@ -312,7 +312,8 @@ time.sleep(5)
|
||||||
signblockarg="-signblockscript=5221"+pubkey1+"21"+pubkey2+"52ae"
|
signblockarg="-signblockscript=5221"+pubkey1+"21"+pubkey2+"52ae"
|
||||||
# Anti-DoS argument, custom chain default is ~1 sig so let's make it at least 2 sigs
|
# Anti-DoS argument, custom chain default is ~1 sig so let's make it at least 2 sigs
|
||||||
blocksign_max_size="-con_max_block_sig_size=150"
|
blocksign_max_size="-con_max_block_sig_size=150"
|
||||||
extra_args=signblockarg+" "+blocksign_max_size
|
dyna_deploy_start="-con_dyna_deploy_start=0"
|
||||||
|
extra_args=signblockarg+" "+blocksign_max_size+" "+dyna_deploy_start
|
||||||
|
|
||||||
# Wipe out datadirs, start over
|
# Wipe out datadirs, start over
|
||||||
shutil.rmtree(e1_datadir)
|
shutil.rmtree(e1_datadir)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue