iotaledger / iri

IOTA Reference Implementation
Other
1.15k stars 371 forks source link

Update queue size for solidifier #1849

Closed DyrellC closed 4 years ago

DyrellC commented 4 years ago

Description of change

The TransactionSolidifier has a set value of 50k transactions for analyzed hashes as legacy from the previous milestone logic. With high tps environments it's possible for this low threshold to be reached between milestones and slow or stall out synchronisation. To accommodate this the max value should be increased to 300k minimum to account for the possibility of a 1000TPS environment with a 30 second tick rate for compass.

Type of change

How the change has been tested

Less false returns for solidification as a result of the maximum capacity of analyzed transactions being reached.

Change checklist