Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ContainsCurrentNode ¶
func ContainsCurrentNode(genesisInfoList []*abci.SideChainGenesis) (genesisInfo *abci.SideChainGenesis, ok bool)
ContainsCurrentNode if genesisInfoList contains current node,
return genesis info and true, or else return nil and false
Types ¶
type SideChain ¶
type SideChain struct { GenesisInfo *abci.SideChainGenesis TempPath string }
func NewSideChain ¶
func NewSideChain(genesisInfo *abci.SideChainGenesis) *SideChain
NewSideChain new SideChain instance
func (*SideChain) CopyGenesisFiles ¶
CopyGenesisFiles copy config files to genesis dir
func (*SideChain) NeedSCGenesis ¶
NeedSCGenesis return true if has side chain need genesis
func (*SideChain) PrepareSCGenesis ¶
PrepareSCGenesis generate temp files for side chain genesis.
Click to show internal directories.
Click to hide internal directories.