Module Flexmasa.Hard_fork

User-activated Upgrades, a.k.a. Hard Forks

This module provides helpers to make “hard-fork” protocol changes happen in sandboxes.

See "src/lib/interactive_mini_network.ml" for an example of usage.

For a given prefix (default "hard-fork"), provide a family of "--<prefix>*" command-line options allowing to configure a user-activated-upgrade.

Get all the protocol-specific executable definitions (the “daemons”) involved in this hard-fork.

val node_network_config : t -> Internal_pervasives.string * [> Ezjsonm.t ]

Generate the JSON field for the "{ network : { ... } }" part of a node's configuration file.

Prepare the baker and endorse daemons to secure the hard-fork.