getTxCount returns current tx count, including pending and verified
()
| 510 | |
| 511 | // getTxCount returns current tx count, including pending and verified |
| 512 | func (s *TXPoolServer) getTxCount() []uint32 { |
| 513 | ret := make([]uint32, 0) |
| 514 | ret = append(ret, uint32(s.txPool.GetTransactionCount())) |
| 515 | ret = append(ret, uint32(s.getPendingListSize())) |
| 516 | return ret |
| 517 | } |
| 518 | |
| 519 | // getPendingTxs returns a currently pending tx list |
| 520 | func (s *TXPoolServer) getPendingTxs(byCount bool) []*tx.Transaction { |
no test coverage detected