You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Guess the Mithril signer and DMQ node parameters for the mithril-setup command #3678
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:
NETWORK and NETWORK_MAGIC
AGGREGATOR_ENDPOINT
ERA_READER_ADAPTER_TYPE and ERA_READER_ADAPTER_PARAMS
PROTOCOL_CONFIGURATION_READER_ADAPTER_CONFIG
DATA_STORES_DIRECTORY, STORE_RETENTION_LIMIT and RUN_INTERVAL? (or maybe they are default values of the fields)
ENABLE_METRICS_SERVER, METRICS_SERVER_IP and METRICS_SERVER_PORT? (or maybe they are default values of the fields)
Guess the parameters of the DMQ node:
NetworkMagic
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)
Activity
mithril-setupcommand #3698