0

Can somebody explain what role of the tendermint cache? How cache and mempool communicate between itself? How mempool of different nodes synchronized?

godvlpr
  • 141
  • 1
  • 3
  • 11

1 Answers1

0

If by "tendermint cache" you mean mempool's cache, then it's for replay protection. When transaction arrives, we first check if we have it in cache (LRU). If we don't, we add transaction to it and send CheckTx request to the ABCI application. If we do, we simply log that we already have this transaction.

melekes
  • 1,880
  • 2
  • 24
  • 30