Versions in this module Expand all Collapse all v1 v1.0.2 Jan 27, 2022 Changes in this version type LedgerRely + QueryBlockHeader func(blkId []byte) (ledger.BlockHandle, error) + QueryBlockHeaderByHeight func(int64) (ledger.BlockHandle, error) + QueryTipBlockHeader func() ledger.BlockHandle v1.0.1 Dec 1, 2021 Changes in this version + type Address xaddress.Address + type BlockInterface ledger.BlockHandle + type ConsensusCtx struct + Address *Address + BcName string + Contract contract.Manager + Crypto cryptoBase.CryptoClient + Ledger LedgerRely + Network network.Network + type CryptoClient cryptoBase.CryptoClient + type LedgerRely interface + CreateSnapshot func(blkId []byte) (ledger.XMReader, error) + GetConsensusConf func() ([]byte, error) + GetTipBlock func() ledger.BlockHandle + GetTipSnapshot func() (ledger.XMReader, error) + GetTipXMSnapshotReader func() (ledger.XMSnapshotReader, error) + QueryBlock func(blkId []byte) (ledger.BlockHandle, error) + QueryBlockByHeight func(int64) (ledger.BlockHandle, error) + type P2pCtxInConsensus network.Network