MCPcopy Create free account
hub / github.com/DNAProject/DNA / SoloService

Struct SoloService

consensus/solo/solo.go:49–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47const ContextVersion uint32 = 0
48
49type SoloService struct {
50 Account *account.Account
51 poolActor *actorTypes.TxPoolActor
52 incrValidator *increment.IncrementValidator
53 existCh chan interface{}
54 genBlockInterval time.Duration
55 pid *actor.PID
56 sub *events.ActorSubscriber
57}
58
59func NewSoloService(bkAccount *account.Account, txpool *actor.PID) (*SoloService, error) {
60 service := &SoloService{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected