Register send RegisterValidator message to txpool
(poolId *actor.PID)
| 95 | |
| 96 | // Register send RegisterValidator message to txpool |
| 97 | func (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 |
| 106 | func (self *validator) UnRegister(poolId *actor.PID) { |
nothing calls this directly
no test coverage detected