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

Method Register

validator/stateless/stateless_validator.go:97–103  ·  view source on GitHub ↗

Register send RegisterValidator message to txpool

(poolId *actor.PID)

Source from the content-addressed store, hash-verified

95
96// Register send RegisterValidator message to txpool
97func (self *validator) Register(poolId *actor.PID) {
98 poolId.Tell(&vatypes.RegisterValidator{
99 Sender: self.pid,
100 Type: self.VerifyType(),
101 Id: self.id,
102 })
103}
104
105// UnRegister send UnRegisterValidator message to txpool
106func (self *validator) UnRegister(poolId *actor.PID) {

Callers

nothing calls this directly

Calls 1

VerifyTypeMethod · 0.95

Tested by

no test coverage detected