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

Method Register

validator/stateful/stateful_validator.go:115–121  ·  view source on GitHub ↗
(poolId *actor.PID)

Source from the content-addressed store, hash-verified

113}
114
115func (self *validator) Register(poolId *actor.PID) {
116 poolId.Tell(&vatypes.RegisterValidator{
117 Sender: self.pid,
118 Type: self.VerifyType(),
119 Id: self.id,
120 })
121}
122
123func (self *validator) UnRegister(poolId *actor.PID) {
124 poolId.Tell(&vatypes.UnRegisterValidator{

Callers

nothing calls this directly

Calls 1

VerifyTypeMethod · 0.95

Tested by

no test coverage detected