MCPcopy Create free account
hub / github.com/DNAProject/DNA / getPendingListSize

Method getPendingListSize

txnpool/proc/txnpool_server.go:229–233  ·  view source on GitHub ↗

getPendingListSize return the length of the pending tx list.

()

Source from the content-addressed store, hash-verified

227
228// getPendingListSize return the length of the pending tx list.
229func (s *TXPoolServer) getPendingListSize() int {
230 s.mu.Lock()
231 defer s.mu.Unlock()
232 return len(s.allPendingTxs)
233}
234
235// getHeight return current block height
236func (s *TXPoolServer) getHeight() uint32 {

Callers 1

getTxCountMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected