Guess the Mithril signer and DMQ node parameters for the `mithril-setup` command
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 42/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- rust
- Domain
- blockchain
Research direction
Start by locating the mithril-setup command, its build script, and the repository’s embedded Mithril network values. Then trace how the setup discovers Cardano node facts and selects signer and DMQ configuration; the issue leaves defaults and the guessing interface open for design. Done means the binary can propose the listed parameters without downloading values at runtime.
Written by the indexing model from the issue text.
Description
Why
The setup of the Mithril signer and of the DMQ node must propose their configuration without asking the operator to look up values that depend on the Cardano network and that the Mithril repository already holds.
What
Guess the parameters of the Mithril signer and of the DMQ node from the discovered Cardano node facts and from the Cardano network, using only values embedded in the setup binary from the information available in the repository (no external download).
How
- Embed in the setup binary the values of each Mithril network that the repository holds, so that no value is downloaded at runtime (build script)
- Guess the parameters of the Mithril signer:
-
NETWORKandNETWORK_MAGIC -
DB_DIRECTORY -
AGGREGATOR_ENDPOINT -
ERA_READER_ADAPTER_TYPEandERA_READER_ADAPTER_PARAMS -
PROTOCOL_CONFIGURATION_READER_ADAPTER_CONFIG -
DATA_STORES_DIRECTORY,STORE_RETENTION_LIMITandRUN_INTERVAL? (or maybe they are default values of the fields) -
ENABLE_METRICS_SERVER,METRICS_SERVER_IPandMETRICS_SERVER_PORT? (or maybe they are default values of the fields)
-
- Guess the parameters of the DMQ node:
-
NetworkMagic -
PeerSharing
-
- Design the guessing behind a trait (guessing depends on the Cardano network), whose return type is either an associated type or a reusable type (e.g. a map of parameter names to text values) (depends on the prototype outcome)
- Dominant language
- Rust
- Stars
- 155
- Forks
- 52
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 37
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from IntersectMBO/mithril
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
IntersectMBO/mithril#1605 · 2 comments ·
Maintainers usually reply within 2 days
-
spike :satellite:
Difficulty 5/5 Over a week Newbie friendliness 10/100
IntersectMBO/mithril#3701 ·
Maintainers usually reply within 2 days
-
Publish a DNSLink record of the immutable archives IPNS name in the Mithril networks DNS zonesPossibly taken @jpraynaud claimed this 2 days ago. Openfeature :rocket:
IntersectMBO/mithril#3700 · 1 assignee ·
Maintainers usually reply within 2 days
-
feature :rocket:
Difficulty 4/5 3-5 days Newbie friendliness 25/100
IntersectMBO/mithril#3699 ·
Maintainers usually reply within 2 days
-
feature :rocket:
Difficulty 4/5 3-5 days Newbie friendliness 35/100
IntersectMBO/mithril#3698 ·
Maintainers usually reply within 2 days
All issues in IntersectMBO/mithril
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
storytold/photocraft#14822 ·
Maintainers usually reply within 1 day
-
bug css
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
dginev/latexml-oxide#853 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 2 days
-
[Bug] export_build_environment admits its output directory only after the export ran in the build computerPossibly taken @viniciusdsandrade claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day