Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractBChainConfig ¶
func ExtractBChainConfig(config *BChainConfig, path string, debug bool) (string, error)
ExtractBChainConfig : extract blockchain configuration from file
Types ¶
type BChainConfig ¶
type BChainConfig struct { VERSION string IMPORTS []string PORT string SOURCEIPS []string NODE NodeConfig BLOCK BlockConfig MAXUTXO int PROPOSEWINDOW int VALIDATE bool }
BChainConfig : struct for the blockchain configuration
func (BChainConfig) Port ¶
func (bcc BChainConfig) Port() string
Port : return the port from the configuration
type BlockConfig ¶
BlockConfig : struct of configuration of single block
type NodeConfig ¶
NodeConfig : struct of configurations about blockchain nodes
Click to show internal directories.
Click to hide internal directories.