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 gossip.GossipState
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 ¶ added in v0.2.1
func (r *Actor) GetPriv() *crypto.Secp256k1PrivateKey
type ActorCmd ¶
type ActorCmd struct {
*Actor
// To log things while the command runs, including spawned processes
Log logrus.FieldLogger
// Control the execution of a command
Control base.Control
}
type GlobalActorData ¶
Click to show internal directories.
Click to hide internal directories.