iotaledger / iri

IOTA Reference Implementation
Other
1.15k stars 371 forks source link

Feature: New milestone stage and solidification pipeline #1844

Closed DyrellC closed 4 years ago

DyrellC commented 4 years ago

Description of change

Merges the new milestone solidification logic. This includes the addition of the MilestoneStage in the TransactionProcessingPipeline for handling transactions immediately on receiving them, as well as the consolidation of the LatestMilestoneTracker, MilestoneSolidifier and LatestSolidMilestoneTracker into one efficient MilesotneSolidifier class. These changes streamline the milestone solidification process and no longer requires continuous pulling of transactions from the db, reducing the memory consumption and general CPU usage of the node.

Type of change

How the change has been tested

These changes have been put through every test at our disposal:

Change checklist