Documentation
¶
Overview ¶
Package app bootstraps the MPC node CLI and process lifecycle.
Index ¶
- func LaunchMPCNode(configPath, logLevel string, console bool, logDir, keysDirFlag string) (source string, stop func(), err error)
- func LaunchMPCNodeForTest(configPath string)
- func MigrateShardKeysDir(configPath, keysDirFlag string) error
- func Run()
- func RunGenKey(requireEnc bool, outDir string) (*crypto.Plan2ProvisionResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LaunchMPCNode ¶
func LaunchMPCNode(configPath, logLevel string, console bool, logDir, keysDirFlag string) (source string, stop func(), err error)
LaunchMPCNode loads config, initializes logging/keystore, and connects to the broker. stop closes the broker WebSocket client; callers that outlive a single process (mobile) must keep it.
func LaunchMPCNodeForTest ¶
func LaunchMPCNodeForTest(configPath string)
LaunchMPCNodeForTest starts a node for integration tests (info log, cwd log dir).
func MigrateShardKeysDir ¶
MigrateShardKeysDir encrypts plaintext shards under keysdir and exits.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.