ElementsProject / ElementsProject/elements

Cannot sign blocks in setup with signblockscript without disabling dynafed

Open
#955 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.2k
Forks
416
Avg merge
1d 23h
Merged PRs (30d)
15

Description

In the elements tutorial covering block signing in a strong federation (i.e. not using generate to create blocks) it uses a 1of1 block signing model and disables dynafed using `con_dyna_deploy_start=9999999999999`. If you don't disable dynafed you get an error:

```
error code: -8
error message:
Signing dynamic blocks requires the witnessScript argument
```

https://elementsproject.org/elements-code-tutorial/block-creation

How can we create blocks that require a set signer/s with dynafed enabled?

This has been like this for a while (version-wise) but tested recently using elements-0.18.1.9

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.