- 05 Feb, 2021 5 commits
-
-
Acha Bill authored
refactor: attachments
-
Acha Bill authored
-
Acha Bill authored
-
Acha Bill authored
-
Hans Moog authored
* Feat: added booking of data messages * Feat: added ApproverType * Fix: fixed prefix iteration for Approvers * Fix: temporarily changed TransactionType of payload package * Feat: added optional ApproverType for Approvers * Refactor: renamed a method * Feat: added IsInPastCone (not fully done, yet) * Feat: added pastconecheck for messages * Feat: WIPWIPWIPWIP * WIP2WIP2WIP2 * Fix: execute tests online * Fix: fixed test * Fix: fixed some stuff * Fix: fixed invalid bug * Fix: fixed test issues on windows * Fix: fixed last issues with the test * Refactor: refactored remaining code * Fix: fixed bug with tipselector * Fix: fixed solidification * Refactor: removed extraneous Solidification * Fix: fixed walker * Docs: fixed the comment to match the refactor * Docs: changed docs again Co-authored-by:
Hans Moog <hm@mkjc.net> Co-authored-by:
jonastheis <mail@jonastheis.de>
-
- 03 Feb, 2021 2 commits
-
-
Hans Moog authored
* Refactor: cleaned up some code * Fix: fixed a logical bug with invalid messages still having Metadata Co-authored-by:
Hans Moog <hm@mkjc.net>
-
Hans Moog authored
* Feat: updated to latest hive.go * Docs: added docs accoding to lint error * Refactor: renamed config variables * Ledgerstate Refactor: Address (#747) * Feat: refactored address * Fix: fixed some error handling logic * test: Add Address unit tests * fix: Fix typos * Fix: fixed issues according to comments * Refactor: made error messages more specific * Feat: added base58 decode for specific addresses Co-authored-by:
Hans Moog <hm@mkjc.net> Co-authored-by:
jkrvivian <jkrvivian@gmail.com> * Refactor of the ledgerstate / Feat: Added Colors and ColoredBalances (#756) * Feat: added Colors and ColoredBalances * Refactor: changed things according to comments * Refactor: changed tests * Refactor: renamed bytes parameter to not collide with bytes package * Update packages/ledgerstate/color.go Co-authored-by:
Jonas Theis <mail@jonastheis.de> Co-authored-by:
Hans Moog <hm@mkjc.net> Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Refactor of the ledgerstate / Feat: Added Signatures (#757) * Feat: added models for the signatures * Fix: fixed typo Co-authored-by:
Hans Moog <hm@mkjc.net> * Refactor of the ledgerstate / Feat: Added Conflict models for BranchDAG (#760) * Feat: added conflict models * Update packages/ledgerstate/conflict.go Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Update packages/ledgerstate/conflict.go Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Update packages/ledgerstate/conflict.go Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Update packages/ledgerstate/conflict.go Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Update packages/ledgerstate/conflict.go Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Feat: added suggestions * Update packages/ledgerstate/conflict.go Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Update packages/ledgerstate/conflict.go * Fix: fixed var naming error Co-authored-by:
Hans Moog <hm@mkjc.net> Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Refactor of the ledgerstate / Feat: Added Output models for UTXODAG (#762) * Feat: added Output models * Fix: fixed wrong comment for SigLockedColoredOutput * Feat: refactored setters Co-authored-by:
Hans Moog <hm@mkjc.net> * Refactor of the ledgerstate / Feat: Added UnlockBlock models of Transactions (#763) * Feat: added UnlockBlock models * Fix: fixed errors in code according to comments Co-authored-by:
Hans Moog <hm@mkjc.net> * Refactor of the ledgerstate / Feat: Added Branch models (#776) * Feat: Added Branch * Feat: added CachedBranch model * Fix: fixed wrong method signature for FromObjectStorage methods * Update packages/ledgerstate/branch.go Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Update packages/ledgerstate/branch.go Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Feat: started to adjust according to comments * Feat: adjusted according to comments * Feat: more changed according to comments * Fix: fixed receiver names Co-authored-by:
Hans Moog <hm@mkjc.net> Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Refactor of the ledgerstate / Feat: Added Input models (#782) * Feat: added input models * Fix: fixed errors * Refactor: refactored comment * Update packages/ledgerstate/input.go Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Fix: removed unnecessary pointer * Fix: renamed variable and fixed comment Co-authored-by:
Hans Moog <hm@mkjc.net> Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Feat: Added model for Transaction (#802) * Feat: Added model for Transaction * Feat: refactored the test * Docs: updated docs * Docs: fixed typo in comments * Fix: fixed format errors? * Fix: fixed a bug with optional payloads * Fix: fixed linting error? * Fix: what the actual fuck * Fix: is it still passing? * Fix: git push * Feat: added check for MaxOutputBalance * Update packages/ledgerstate/transaction_test.go Co-authored-by:
Ching-Hua (Vivian) Lin <jkrvivian@gmail.com> * Fix: fixed erroneous constraints * Feat: added several Clone methods to the existing model * Update packages/ledgerstate/output.go Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Update packages/ledgerstate/transaction.go Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Update packages/ledgerstate/transaction.go Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Update packages/ledgerstate/transaction.go Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Fix: fixed cloning issues Co-authored-by:
Hans Moog <hm@mkjc.net> Co-authored-by:
Ching-Hua (Vivian) Lin <jkrvivian@gmail.com> Co-authored-by:
Jonas Theis <mail@jonastheis.de> * Feat: update hive.go * Fix: fixed bug after merging * Fix: Fixed bug with missing payload length (#871) * Fix: fixed bug with missing payload length * Fix: fixed missing type logic in collectivebeacon * Fix: fixed parsing errors for two payloads * Fix: fixed statement payload *
⬆ ️ Update drng image Co-authored-by:Hans Moog <hm@mkjc.net> Co-authored-by:
capossele <angelocapossele@gmail.com> * Feat: Implemented Markers for faster past cone checks (#821) * Feat: started implementing markers * Feat: added more stuff :P * Feat: Fulfill marker(s) methods and add tests * Feat: started implementing inheritance * Feat: updated test * Feat: intermediary commit * Feat: updated to hive.go * Fix: fixed compiler error * Feat: added ParentReferences * Fix: fixed some refactoring issues * Feat: intermediary commit * chores: Add comments * fix: Fix sequence test * fix: Fix test and comments * Refactor: started refactoring the models * Refactor: refactored names * Feat: finalizing markers * Feat: added comments and cleaned up the code :P * Feat: added more features to the markers * Feat: moved markers to its own package * Feat: started adding checkreference method * Feat: started adding unit tests * Feat: refactored the API * Feat: started making model threadsafe * Feat: fixed issues with earlier commit * Fix: fixed logic for inheriting future markers * Feat: commit before additional refactor * Feat: refactor finished * Feat: markers finally work - only cleanup required * Feat: started cleaning up the code and correcting comments * Refactor: more refactors * Refactor: reverted some changes * Refactor: reverted some changes * Refactor: updated objectstorage related settings * Feat: made parentreferences thread safe * Fix: fixed naming issue with prefix * Refactor: some last refactors * Refactor: final refactor of Markers * Refactor: renamed marker package to markers * Refactor: updated comments Co-authored-by:
Hans Moog <hm@mkjc.net> Co-authored-by:
jkrvivian <jkrvivian@gmail.com> * Feat: Implement the BranchDAG (#853) * Feat: started implementing BranchDAG * Feat: added storage options for ChildBranch storage * Docs: started writing doc comments for the new methods and structs * Feat: finished the ConflictBranch creation methods * Docs: added missing doc comments * Fix: removed superfluous concat * Fix: fixed wrong error message * Feat: implemented more logic * Feat: implemented NormalizeMarkers * Refactor: refactored errors to use cerrors * Refactor: refactored the code * Feat: implemented more storage accessor methods and models * Feat: added a Prune method to the BranchDAG * Feat: started adding propagation methods * Refactor: refactored the code to make it more readable * Feat: added missing String methods for the CachedObjects * Feat: added InclusionState to replace confirmed/rejected/pending * Feat: its really me * Feat: added unit test for normalizedBranches * Feat: added unit tests for SetPreferred * Feat: added unit tests * Feat: added more test + public methods * Feat: implemented SetLiked method * Feat: added more tests * Feat: added Test for SetFinalized * Feat: added more tests to increase code coverage * Feat: added a picture for the test cases * Feat: added MergeToMaster * Fix: fixed bug in MergeToMaster * Feat: added tests for MergeToMaster * Fix: fixed MergeToMaster * Refactor: refactored code * Refactor: refactored the test * Feat: fixed linter comments about files not being formatted correctly * Feat: added variable for color to avoid erroneous golinter message * Feat: added comment to MergToMaster * Feat: refactored some code * Feat: fixed golint errors and added RejectedBranch * Feat: allowed to book branches with already normalized parents * Feat: added a UpdateConflictBranchParents method * Refactor: renamed preferred to liked and liked to monotonically liked Co-authored-by:
Hans Moog <hm@mkjc.net> * Feat/utxo dag (#922) * Feat: started implementing BranchDAG * Feat: added storage options for ChildBranch storage * Docs: started writing doc comments for the new methods and structs * Feat: finished the ConflictBranch creation methods * Docs: added missing doc comments * Fix: removed superfluous concat * Fix: fixed wrong error message * Feat: implemented more logic * Feat: implemented NormalizeMarkers * Refactor: refactored errors to use cerrors * Refactor: refactored the code * Feat: implemented more storage accessor methods and models * Feat: added a Prune method to the BranchDAG * Feat: started adding propagation methods * Refactor: refactored the code to make it more readable * Feat: added missing String methods for the CachedObjects * Feat: added InclusionState to replace confirmed/rejected/pending * Feat: its really me * Feat: added unit test for normalizedBranches * Feat: added unit tests for SetPreferred * Feat: added unit tests * Feat: added more test + public methods * Feat: implemented SetLiked method * Feat: added more tests * Feat: added Test for SetFinalized * Feat: added more tests to increase code coverage * Feat: added a picture for the test cases * Feat: added MergeToMaster * Fix: fixed bug in MergeToMaster * Feat: added tests for MergeToMaster * Feat: started implementing BranchDAG * Fix: fixed MergeToMaster * Refactor: refactored code * Refactor: refactored the test * Feat: started implementing Book function * Refactor: refactored the code * Feat: added more models * Feat: implemented accessor of the object storage * Feat: implemented more logic * Feat: fixed linter comments about files not being formatted correctly * Feat: added variable for color to avoid erroneous golinter message * Feat: added comment to MergToMaster * Feat: refactored some code *
✅ Add TestTransactionBalancesValid unit test *✅ Add TestUnlockBlocksValid unit test * Feat: implemented some stuff *✅ Add TransactionInputs and InputsSolid unit test * Refactor: refactored some code * Refactor: refactored some code * Feat: fixed golint errors and added RejectedBranch * Feat: added first book transactions * Feat: updated hive.go * Feat: added some code * Feat: allowed to book branches with already normalized parents * Feat: added booking of happy case * Feat: finished the booking logic *♻ ️ Refactor unit test * Feat: cleaned up the code and refactored some stuff * Fix: reverted accidental rename *✅ Add new unit tests *✅ Add TestOutputsUnspent * Feat: BookTransaction now returns the Branch * Refactor: simplified code * Feat: started implementing different logic for updating Branches * Feat: added a UpdateConflictBranchParents method * Feat: added update of ConflictBranch *🐛 Fix several bugs *✅ Add more unit tests *🐛 Fix SetLazyBooked mutex bug *✅ Add more unit tests *🐛 Add LazyBookedConflictsBranchID initialization *✅ Add TestBookRejectedConflictingTransaction *✅ Fix unit test *✅ Add TestBookConflictingTransaction *✅ Improve unit tests *🚧 *✅ Add TestBookTransaction * Refactor: refactored some code *✅ Add ExampleA and ExampleB unit test * Add timestamp and pledgeIDs to transaction essence (#942) *✅ Add utxo exampleC unit test * Refactor: removed unnecessary code * Fix: fixed some smaller issues Co-authored-by:Hans Moog <hm@mkjc.net> Co-authored-by:
capossele <angelocapossele@gmail.com> Co-authored-by:
Levente Pap <levente.pap@iota.org> Co-authored-by:
Hans Moog <hm@mkjc.net> Co-authored-by:
jkrvivian <jkrvivian@gmail.com> Co-authored-by:
Jonas Theis <mail@jonastheis.de> Co-authored-by:
capossele <angelocapossele@gmail.com> Co-authored-by:
Levente Pap <levente.pap@iota.org>
-
- 02 Feb, 2021 1 commit
-
-
Angelo Capossele authored
* feat: Extract stores from tangle to MessageStore (#900) * feat: Extract stores from tangle to MessageStore *
🔧 Change FPC shutdown priority * chores: Update wording * fix: Store MessageMetadata automatically * feat: Introduce booked flag to MessageMetadata * feat: Introduce MessageBooked event * Fix: Fix🐶 Co-authored-by:capossele <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
🐶 * fix: Fix comments * test: Implement data flow unit test - from filter to solidifier *♻ ️ Add inbox workerpool to FilterStoreSolidify unit test * test: Use WP at start and use default parameters in unit test *🔍 Enable Leak detection for debugging *🐛 Fix FPC round duration *🔇 Disable Leak detection *♻ ️ Assign shutdown order to value tangle *🚑 Dump stacktrace in case of shutdown failure * Release msg and metadata if findByID fails * Ensure to set right issuanceTime in messageFactory *🐛 Fix transaction could not be booked in time issue *🚨 Fix linter warnings * chores: Remove debugging codes * Revert "chores: Remove debugging codes" This reverts commit b35ec269a762583b2a06e5a3235c80bf61945ed3. Co-authored-by:capossele <angelocapossele@gmail.com> * Add core logic for timestamp voting (#930) *
✨ Add timestampOpinion *✨ Add TimestampQuality unit test *🔇 Remove debug print *♻ ️ 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🐶 * fix: Fix comments * test: Implement data flow unit test - from filter to solidifier *♻ ️ Add inbox workerpool to FilterStoreSolidify unit test * test: Use WP at start and use default parameters in unit test *🔍 Enable Leak detection for debugging *🐛 Fix FPC round duration *🔇 Disable Leak detection *♻ ️ Assign shutdown order to value tangle *🚑 Dump stacktrace in case of shutdown failure * Release msg and metadata if findByID fails * Ensure to set right issuanceTime in messageFactory *🐛 Fix transaction could not be booked in time issue *🚨 Fix linter warnings *🚧 WIP *♻ ️ Fix messagemetadata *📝 Add missing comment *🐛 Fix MessageMetadataFromMarshalUtil *💚 Address review comments *♻ ️ Refactor err usage Co-authored-by:jkrvivian <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 *
♻ ️ 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🐶 * Fix sigsev in faucet * Get rid of ugly read/write lock business Co-authored-by:Ching-Hua (Vivian) Lin <jkrvivian@gmail.com> Co-authored-by:
Levente Pap <levente.pap@iota.org> Co-authored-by:
jonastheis <mail@jonastheis.de>
-
- 01 Feb, 2021 2 commits
-
-
Hans Moog authored
* Fix: fixed bug with missing payload length * Fix: fixed missing type logic in collectivebeacon * Fix: fixed parsing errors for two payloads * Fix: fixed statement payload *
⬆ ️ Update drng image * Update drand image Co-authored-by:Hans Moog <hm@mkjc.net> Co-authored-by:
capossele <angelocapossele@gmail.com>
-
Angelo Capossele authored
-
- 25 Jan, 2021 1 commit
-
-
Angelo Capossele authored
*
🐛 Fix unregistering WS handler *🐛 Fix concurrent map read/write
-
- 20 Jan, 2021 1 commit
-
-
Angelo Capossele authored
*
🏗 Add data structure and table description *📝 Add comments *🚧 Add FutureCone iterator and FirstApprovalAnalysis *🐛 Fix return value *♻ ️ Simplify CSV conversion *♻ ️ Improve code readability *📝 Add comments *🚧 Add approval API endpoint *🐛 Fix missing fields *🔧 Use filePath *🚨 Fix linter warning *🔨 Add tooling - script to conveniently trigger approval checks in docker-network and collect the results. - works for all network sizes, extracts data from peer_master plus all replicas. *📝 Update docker-network README * Refactor approversInfo initialization Co-authored-by:Levente Pap <levente.pap@iota.org> Co-authored-by:
Levente Pap <levente.pap@iota.org>
-
- 13 Jan, 2021 3 commits
-
-
Angelo Capossele authored
-
Angelo Capossele authored
-
Angelo Capossele authored
-
- 07 Jan, 2021 2 commits
-
-
Angelo Capossele authored
-
Levente Pap authored
* Update hive.go * Update hive.go for integration tests
-
- 05 Jan, 2021 1 commit
-
-
Angelo Capossele authored
-
- 28 Dec, 2020 1 commit
-
-
Hans Moog authored
* Feat: updated to latest hive.go * Fix: fixed changes according to new API * Docs: added a reason why no graceful shutdown for the tips broadcaster Co-authored-by:
Hans Moog <hm@mkjc.net>
-
- 22 Dec, 2020 1 commit
-
-
Hans Moog authored
Co-authored-by:
Hans Moog <hm@mkjc.net>
-
- 21 Dec, 2020 1 commit
-
-
Hans Moog authored
Co-authored-by:
Hans Moog <hm@mkjc.net>
-
- 19 Dec, 2020 1 commit
-
-
Hans Moog authored
Co-authored-by:
Hans Moog <hm@mkjc.net>
-
- 18 Dec, 2020 1 commit
-
-
Jonas Theis authored
-
- 17 Dec, 2020 3 commits
-
-
Angelo Capossele authored
-
Ching-Hua (Vivian) Lin authored
-
Ching-Hua (Vivian) Lin authored
* feat: Load old messages in visualizer * fix: Fix
🐶
-
- 15 Dec, 2020 5 commits
-
-
Hans Moog authored
Co-authored-by:
Hans Moog <hm@mkjc.net>
-
Dries Vandenneucker authored
-
dependabot[bot] authored
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8 ) Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8 ) Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Levente Pap authored
By waiting avgNetworkDelay after unsubscribing from message layer. This should be enough time for any possible fcob sheduled setPrefered to trigger.
-
- 11 Dec, 2020 6 commits
-
-
Angelo Capossele authored
Merge v0.3.4 changes to master
-
Angelo Capossele authored
-
Angelo Capossele authored
Update version
-
capossele authored
-
Angelo Capossele authored
Revert pebble
-
capossele authored
-
- 10 Dec, 2020 3 commits
-
-
Angelo Capossele authored
Merge v0.3.3 changes into master
-
Angelo Capossele authored
-
Angelo Capossele authored
-