Versions in this module Expand all Collapse all v6 v6.4.0 May 18, 2020 Changes in this version + func GetDefaultConfig() *types.Chain33Config + func ModifyParaClient(cfg *types.Chain33Config, gaddr string) + type Chain33Mock struct + func New(cfgpath string, mockapi client.QueueProtocolAPI) *Chain33Mock + func NewWithConfig(cfg *types.Chain33Config, mockapi client.QueueProtocolAPI) *Chain33Mock + func (mock *Chain33Mock) Close() + func (mock *Chain33Mock) GetAPI() client.QueueProtocolAPI + func (mock *Chain33Mock) GetAccount(stateHash []byte, addr string) *types.Account + func (mock *Chain33Mock) GetBlock(height int64) *types.Block + func (mock *Chain33Mock) GetBlockChain() *blockchain.BlockChain + func (mock *Chain33Mock) GetCfg() *types.Config + func (mock *Chain33Mock) GetClient() queue.Client + func (mock *Chain33Mock) GetExecAccount(stateHash []byte, execer, addr string) *types.Account + func (mock *Chain33Mock) GetGenesisAddress() string + func (mock *Chain33Mock) GetGenesisKey() crypto.PrivKey + func (mock *Chain33Mock) GetHotAddress() string + func (mock *Chain33Mock) GetHotKey() crypto.PrivKey + func (mock *Chain33Mock) GetJSONC() *jsonclient.JSONClient + func (mock *Chain33Mock) GetLastBlock() *types.Block + func (mock *Chain33Mock) GetRPC() *rpc.RPC + func (mock *Chain33Mock) Listen() + func (mock *Chain33Mock) SendAndSign(priv crypto.PrivKey, hextx string) ([]byte, error) + func (mock *Chain33Mock) SendAndSignNonce(priv crypto.PrivKey, hextx string, nonce int64) ([]byte, error) + func (mock *Chain33Mock) SendHot() error + func (mock *Chain33Mock) SendTx(tx *types.Transaction) []byte + func (mock *Chain33Mock) SendTxRPC(tx *types.Transaction) []byte + func (mock *Chain33Mock) SetLastSend(hash []byte) + func (mock *Chain33Mock) Wait() error + func (mock *Chain33Mock) WaitHeight(height int64) error + func (mock *Chain33Mock) WaitTx(hash []byte) (*rpctypes.TransactionDetail, error) Other modules containing this package github.com/33cn/chain33