setHeight set current block height
(height uint32)
| 241 | |
| 242 | // setHeight set current block height |
| 243 | func (s *TXPoolServer) setHeight(height uint32) { |
| 244 | s.mu.Lock() |
| 245 | defer s.mu.Unlock() |
| 246 | s.height = height |
| 247 | } |
| 248 | |
| 249 | // getGasPrice returns the current gas price enforced by the transaction pool |
| 250 | func (s *TXPoolServer) getGasPrice() uint64 { |
no outgoing calls
no test coverage detected