docs: improve mempool docs (#14282)

This commit is contained in:
Julien Robert
2022-12-15 21:49:21 +07:00
committed by GitHub
parent ce167a2074
commit cf9102f549
2 changed files with 76 additions and 19 deletions
+2 -2
View File
@@ -16,8 +16,8 @@ var (
_ Iterator = (*priorityNonceIterator)(nil)
)
// priorityNonceMempool defines the SDK's default mempool implementation which stores
// txs in a partially ordered set by 2 dimensions: priority, and sender-nonce
// priorityNonceMempool is a mempool implementation that stores txs
// in a partially ordered set by 2 dimensions: priority, and sender-nonce
// (sequence number). Internally it uses one priority ordered skip list and one
// skip list per sender ordered by sender-nonce (sequence number). When there
// are multiple txs from the same sender, they are not always comparable by