Versions in this module Expand all Collapse all v0 v0.1.0 Dec 10, 2018 Changes in this version + var AccountsPerRound int64 = 10000 + var ErrRetTypeWrong = errors.New("type of returned value is neither LTable nor LTString") + var EthSigner = ethtypes.HomesteadSigner + var InitPrivateKeyHex = "0000000000000000000000000000000000000000000000000000000000000000" + var NumAccounts int64 = 100000 + func CloseLuaState(l *lua.LState) + func CoinSetupTestBase(statedb *state.StateDB) (common.Hash, time.Duration) + func CopyBytes(byts []byte) []byte + func DetermineExternalAddress(listener net.Listener, lAddrIP, lAddrPort string, skipUPNP bool) (string, error) + func ExecLuaWithParam(l *lua.LState, code string, entParams cvtypes.ParamUData) (cvtypes.ParamUData, error) + func ExpandPath(p string) string + func HashKeccak(data []byte) ([]byte, error) + func HomeDir() string + func LuaSyntaxCheck(code string) error + func NewLuaState() *lua.LState + func PbMarshal(msg proto.Message) []byte + func PbUnmarshal(data []byte, msg proto.Message) error + func PreparePrivateKeys(round int, num int64) []*ecdsa.PrivateKey + func ProtocolAndAddress(listenAddr string) (string, string) + func TxFromBytes(bytes []byte, tx cvtypes.ICivilTx) error + func TxHash(tx cvtypes.ICivilTx) ([]byte, error) + func TxSign(tx cvtypes.ICivilTx, p crypto.PrivKey) ([]byte, error) + func TxToBytes(tx cvtypes.ICivilTx) ([]byte, error) + func TxVerifySignature(tx cvtypes.ICivilTx) (bool, error)