iotaledger / cliri

Coo Less IRI
Other
24 stars 8 forks source link

findNMostRecentTransactions: only add to queue txs that have never been visited #98

Closed alon-e closed 5 years ago

alon-e commented 5 years ago

this fixes a regression in tip connected components selection. the queue would fill with duplicate transactions and grow rapidly.

tested on a local Tangle.

to reproduce the bug:

  1. start a node with an empty DB.
  2. spam for ~70 transactions.
  3. you will see that the timing of GTTA degrades rapidly after that.