-
- Downloads
Refactor of the ledgerstate prior to merging the message- and value tangle. (#755)
* 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>
Showing
- .gitattributes 3 additions, 0 deletions.gitattributes
- go.mod 1 addition, 1 deletiongo.mod
- go.sum 2 additions, 4 deletionsgo.sum
- packages/database/prefix.go 9 additions, 0 deletionspackages/database/prefix.go
- packages/ledgerstate/address.go 321 additions, 0 deletionspackages/ledgerstate/address.go
- packages/ledgerstate/address_test.go 66 additions, 0 deletionspackages/ledgerstate/address_test.go
- packages/ledgerstate/branch.go 1231 additions, 0 deletionspackages/ledgerstate/branch.go
- packages/ledgerstate/branch_dag.go 1401 additions, 0 deletionspackages/ledgerstate/branch_dag.go
- packages/ledgerstate/branch_dag_test.PNG 0 additions, 0 deletionspackages/ledgerstate/branch_dag_test.PNG
- packages/ledgerstate/branch_dag_test.go 1402 additions, 0 deletionspackages/ledgerstate/branch_dag_test.go
- packages/ledgerstate/color.go 245 additions, 0 deletionspackages/ledgerstate/color.go
- packages/ledgerstate/color_test.go 69 additions, 0 deletionspackages/ledgerstate/color_test.go
- packages/ledgerstate/conflict.go 580 additions, 0 deletionspackages/ledgerstate/conflict.go
- packages/ledgerstate/errors.go 16 additions, 0 deletionspackages/ledgerstate/errors.go
- packages/ledgerstate/inclusion_state.go 77 additions, 0 deletionspackages/ledgerstate/inclusion_state.go
- packages/ledgerstate/inclusion_state_test.go 35 additions, 0 deletionspackages/ledgerstate/inclusion_state_test.go
- packages/ledgerstate/input.go 279 additions, 0 deletionspackages/ledgerstate/input.go
- packages/ledgerstate/objectstorage.go 102 additions, 0 deletionspackages/ledgerstate/objectstorage.go
- packages/ledgerstate/output.go 1387 additions, 0 deletionspackages/ledgerstate/output.go
- packages/ledgerstate/signature.go 344 additions, 0 deletionspackages/ledgerstate/signature.go
Loading
Please register or sign in to comment