Skip to content
Snippets Groups Projects
Unverified Commit e13f0926 authored by Angelo Capossele's avatar Angelo Capossele Committed by GitHub
Browse files

New data flow (#944)

* feat: Extract stores from tangle to MessageStore (#900)

* feat: Extract stores from tangle to MessageStore

* :wrench: Change FPC shutdown priority

* chores: Update wording

* fix: Store MessageMetadata automatically

* feat: Introduce booked flag to MessageMetadata

* feat: Introduce MessageBooked event

* Fix: Fix :dog:



Co-authored-by: default avatarcapossele <angelocapossele@gmail.com>

* refactor: Refactor solidifier (#923)

* feat: Add parents check and introduce eligible flag to MessageMetadata

* feat: Hook events to parents check

* feat: Add MessageEligible event

* refactor: Update to the data flow figure and remove the solidifier workerpool

* test: Add InvalidParentsAgeMessage unit test

* fix: Fix :dog:

* fix: Fix comments

* test: Implement data flow unit test - from filter to solidifier

* :recycle: Add inbox workerpool to FilterStoreSolidify unit test

* test: Use WP at start and use default parameters in unit test

* :mag: Enable Leak detection for debugging

* :bug: Fix FPC round duration

* :mute: Disable Leak detection

* :recycle: Assign shutdown order to value tangle

* :ambulance: Dump stacktrace in case of shutdown failure

* Release msg and metadata if findByID fails

* Ensure to set right issuanceTime in messageFactory

* :bug: Fix transaction could not be booked in time issue

* :rotating_light:

 Fix linter warnings

* chores: Remove debugging codes

* Revert "chores: Remove debugging codes"

This reverts commit b35ec269a762583b2a06e5a3235c80bf61945ed3.

Co-authored-by: default avatarcapossele <angelocapossele@gmail.com>

* Add core logic for timestamp voting (#930)

* :sparkles: Add timestampOpinion

* :sparkles: Add TimestampQuality unit test

* :mute: Remove debug print

* :recycle: Simplify code

* feat: Add parents check and introduce eligible flag to MessageMetadata

* feat: Hook events to parents check

* feat: Add MessageEligible event

* refactor: Update to the data flow figure and remove the solidifier workerpool

* test: Add InvalidParentsAgeMessage unit test

* fix: Fix :dog:

* fix: Fix comments

* test: Implement data flow unit test - from filter to solidifier

* :recycle: Add inbox workerpool to FilterStoreSolidify unit test

* test: Use WP at start and use default parameters in unit test

* :mag: Enable Leak detection for debugging

* :bug: Fix FPC round duration

* :mute: Disable Leak detection

* :recycle: Assign shutdown order to value tangle

* :ambulance: Dump stacktrace in case of shutdown failure

* Release msg and metadata if findByID fails

* Ensure to set right issuanceTime in messageFactory

* :bug: Fix transaction could not be booked in time issue

* :rotating_light: Fix linter warnings

* :construction: WIP

* :recycle: Fix messagemetadata

* :pencil: Add missing comment

* :bug: Fix MessageMetadataFromMarshalUtil

* :green_heart: Address review comments

* :recycle:

 Refactor err usage

Co-authored-by: default avatarjkrvivian <jkrvivian@gmail.com>

* test: Add invalid timestamp msgs to data flow unit test (#935)

* test: Add invalid ts msgs to data flow unit test

* fix: Unexport testing methods

* fix: Fix unit test

* :recycle: Refactor filter setup (#937)

* feat: Introduce invalid to MessageMetadata (#938)

* feat: Hook DeleteMessage to MessageInvalid event

* feat: Introduce invalid flage to MessageMetadata

* fix: Fix comments

* refactor: Remove double locking in boolean setters

* fix: Fix typo

* refactor: Apply defer to unlock mutexes

* feat: Avoid gossiping requested messages (#941)

* feat: Avoid gossiping requested messages

* chores: Format with gofmt

* refactor: Make requestedMsgs a structure

* fix: Fix :dog:



* Fix sigsev in faucet

* Get rid of ugly read/write lock business

Co-authored-by: default avatarChing-Hua (Vivian) Lin <jkrvivian@gmail.com>
Co-authored-by: default avatarLevente Pap <levente.pap@iota.org>
Co-authored-by: default avatarjonastheis <mail@jonastheis.de>
parent ad30e2ba
No related branches found
No related tags found
No related merge requests found
Showing
with 1395 additions and 483 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment