Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MerkleSyncer ¶
type MerkleSyncer struct {
// contains filtered or unexported fields
}
MerkleSyncer represents the necessary data for sync block wrappers from bitxhub
func New ¶
func New(ag agent.Agent, validators []types.Address, storage storage.Storage) (*MerkleSyncer, error)
New creates instance of MerkleSyncer given agent interacting with bitxhub, validators addresses of bitxhub and local storage
func (*MerkleSyncer) QueryWrapper ¶
func (syncer *MerkleSyncer) QueryWrapper(height uint64) (*pb.MerkleWrapper, error)
Directories
¶
Path | Synopsis |
---|---|
Package mock_syncer is a generated GoMock package.
|
Package mock_syncer is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.