Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func (*Collector) GetAccountState ¶
type Listener ¶
type Listener interface { OnNetworkInfo(genesisId string, genesisTime uint64, epochNumLayers uint32, maxTransactionsPerSecond uint64, layerDuration uint64, postUnitSize uint64) OnNodeStatus(connectedPeers uint64, isSynced bool, syncedLayer uint32, topLayer uint32, verifiedLayer uint32) OnLayer(layer *pb.Layer) OnAccount(account *pb.Account) OnAccounts(accounts []*types.Account) OnReward(reward *pb.Reward) OnMalfeasanceProof(proof *pb.MalfeasanceProof) OnTransactionReceipt(receipt *pb.TransactionReceipt) GetLastLayer(parent context.Context) uint32 LayersInQueue() int IsLayerInQueue(layer *pb.Layer) bool GetEpochNumLayers() uint32 }
Click to show internal directories.
Click to hide internal directories.