Documentation
¶
Index ¶
- Constants
- func GetCandidateFromCurrentSmartContract(backend bind.ContractBackend, t *testing.T) masterNodes
- func GetSnapshotSigner(bc *BlockChain, header *types.Header) (signersList, error)
- func PrepareXDCTestBlockChain(t *testing.T, numOfBlocks int, chainConfig *params.ChainConfig) (*BlockChain, *backends.SimulatedBackend, *types.Block)
- func UpdateSigner(bc *BlockChain) error
Constants ¶
View Source
const GAP = int(450)
Variables ¶
This section is empty.
Functions ¶
func GetCandidateFromCurrentSmartContract ¶
func GetCandidateFromCurrentSmartContract(backend bind.ContractBackend, t *testing.T) masterNodes
func GetSnapshotSigner ¶
func PrepareXDCTestBlockChain ¶
func PrepareXDCTestBlockChain(t *testing.T, numOfBlocks int, chainConfig *params.ChainConfig) (*BlockChain, *backends.SimulatedBackend, *types.Block)
func UpdateSigner ¶
func UpdateSigner(bc *BlockChain) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.