Validator returns the current validator.
()
| 502 | |
| 503 | // Validator returns the current validator. |
| 504 | func (bc *BlockChain) Validator() Validator { |
| 505 | bc.procmu.RLock() |
| 506 | defer bc.procmu.RUnlock() |
| 507 | return bc.validator |
| 508 | } |
| 509 | |
| 510 | // Processor returns the current processor. |
| 511 | func (bc *BlockChain) Processor() Processor { |
no outgoing calls
no test coverage detected