Processor returns the current processor.
()
| 509 | |
| 510 | // Processor returns the current processor. |
| 511 | func (bc *BlockChain) Processor() Processor { |
| 512 | bc.procmu.RLock() |
| 513 | defer bc.procmu.RUnlock() |
| 514 | return bc.processor |
| 515 | } |
| 516 | |
| 517 | // State returns a new mutable state(public) based on the current HEAD block. |
| 518 | func (bc *BlockChain) State() (*state.StateDB, error) { |
no outgoing calls