Versions in this module Expand all Collapse all v0 v0.6.1 Jan 21, 2020 Changes in this version + const ERR_ACTOR_COMM + const REQ_TIMEOUT + var DisableSyncVerifyTx = false + func AppendTxToPool(txn *types.Transaction) (ontErrors.ErrCode, string) + func ConsensusSrvHalt() error + func ConsensusSrvStart() error + func CurrentBlockHash() common.Uint256 + func GetBlockByHeight(height uint32) (*types.Block, error) + func GetBlockFromStore(hash common.Uint256) (*types.Block, error) + func GetBlockHashFromStore(height uint32) common.Uint256 + func GetConnectionCnt() (uint32, error) + func GetConnectionState() (uint32, error) + func GetContractStateFromStore(hash common.Address) (*payload.DeployCode, error) + func GetCurrentBlockHeight() uint32 + func GetEventNotifyByHeight(height uint32) ([]*event.ExecuteNotify, error) + func GetEventNotifyByTxHash(txHash common.Uint256) (*event.ExecuteNotify, error) + func GetHeaderByHeight(height uint32) (*types.Header, error) + func GetID() (uint64, error) + func GetMerkleProof(proofHeight uint32, rootHeight uint32) ([]common.Uint256, error) + func GetNeighborAddrs() []common.PeerAddr + func GetNodePort() (uint16, error) + func GetNodeTime() (int64, error) + func GetNodeType() (uint64, error) + func GetRelayState() (bool, error) + func GetStorageItem(address common.Address, key []byte) ([]byte, error) + func GetTransaction(hash common.Uint256) (*types.Transaction, error) + func GetTxFromPool(hash common.Uint256) (tcomn.TXEntry, error) + func GetTxnCount() ([]uint32, error) + func GetTxnWithHeightByTxHash(hash common.Uint256) (uint32, *types.Transaction, error) + func GetTxsFromPool(byCount bool) map[common.Uint256]*types.Transaction + func GetVersion() (uint32, error) + func PreExecuteContract(tx *types.Transaction) (*cstate.PreExecResult, error) + func SetConsensusPid(actr *actor.PID) + func SetNetServerPID(actr *actor.PID) + func SetTxPid(actr *actor.PID) + func SetTxnPoolPid(actr *actor.PID) + func SubscribeEvent(topic string, handler func(v interface{})) + func Xmit(msg interface{}) error + type EventActor struct + func (t *EventActor) Receive(c actor.Context)