Skip to main content

Module core

Module core 

Source
Expand description

Provider-generic node behaviour, shared by every node type.

NodeCore wraps the handle to the running process (the provider’s DynNode) plus the small amount of runtime state zombienet keeps about it, and implements everything that doesn’t depend on what the node is running: logs, lifecycle (pause/resume/restart), scripts and db snapshots.

Chain-flavoured nodes (NetworkNode for substrate, JamNetworkNode for JAM) embed one of these and add their own protocol-specific surface on top.

Structs§

NodeCore
The provider handle and runtime state every spawned node has.