Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsActorCmd ¶
Types ¶
type Actor ¶
type Actor struct {
ID ActorID
*GlobalActorData
CurrentPeerstore track.DynamicPeerstore
PeerStatusState status.PeerStatusState
PeerMetadataState metadata.PeerMetadataState
ChainState chain.ChainState
BlocksState blocks.DBState
StatesState states.DBState
Dv5State dv5.Dv5State
GossipState metrics.GossipState
GossipMetrics metrics.GossipMetrics
VisualizerState visualizer.VisualizerState
RPCState rpc.RPCState
HostState host.HostState
LazyEnrState enr.LazyEnrState
ActorCtx context.Context
// contains filtered or unexported fields
}
func NewActor ¶
func NewActor(id ActorID, globals *GlobalActorData) *Actor
func (*Actor) GetPriv ¶
func (r *Actor) GetPriv() *crypto.Secp256k1PrivateKey
type ActorCmd ¶
type GlobalActorData ¶
Click to show internal directories.
Click to hide internal directories.