- Jun 15, 2020
-
-
Jonas Theis authored
* Feat: initial commit * Feat: added setPreferred to TransactionMetadata * Feat: added a Conflicting() method to the transactionMetadata * Fix: fixed logic bug * Feat: refactored fcob * Refactor: refactored additional code * Fix: fixed a bug in ForeachConsumers * Refactor: cleaned up code * Feat: implemented FCOB consensus into the valuetransfer dapp * Refactor: refactored FCOB * Docs: added some additional comments * Docs: fixed comments * add branch manager conflict test * cleans failing test * Refactor: commit before branch change * Fix: fixed bug in AggregateBranches * assert aggr. branch IDs * expands branch conflict detection test * add visualisation of branch graph of test * Feat: added PayloadLiked Event * Refactor: fixed some missing comments + added liked to marshal * Feat: reworked the preferred and liked propagation * Refactor: cleaned up some logic * Refactor: simplified code * Refactor: cleaned up more stuff :P * Refactor: refactor * Feat: moved test + refactored fcob * adds more tests * fixes liked state not getting updated correctly of conflict members * adds additional liked/preferred propagation test * Fix: fixed missing preferred propagation to aggregated branches * Fix: fixed a few bugs in liked propagation * adapt to new hive.go version * upgrade hive.go * Feat: started implementing a wallet * Feat: extended wallet files * remove weird test * use mem db for tests * more tests * use store backed sequence * add option to use in-memory database * address review comments * First tests for individual components of AttachPayloadSync * Fix: fixed missing events in branchmanaer * Feat: propagate changes from branch to transaction * Add tests for checkTransactionOutputs * Feat: started implementing confirmed propagation * Fix: fixed unreachable code * Add more tests * Refactor: refactored some code according to wolfgangs review * Refactor: cleaned up the code according to DRY * Refactor: refactored according to wollac * Refactor: refactored according to wollac * Refactor: refactored according to wollac * Refactor: refactored the code to make it more readable * Refactor: added some doc comments + cleaned up some more code *
adds orderedMap unit tests * Fix linter warnings * test: Add queue unit tests * Add more tests * Adjust imports order * WIP more tests * Add TestBookTransaction * Update TestBookTransaction * Add more tests * WIP tests * Add TestCalculateBranchOfTransaction * Add TestMoveTransactionToBranch * Add TestFork * Add TestBookPayload * Add test for checkPayloadSolidity * Add TestSetTransactionPreferred * Add more tests * Fix Tangle test * Feat: started implementing lucas test cases * Feat: fixed some issued + further tests * Feat: started adding invalid txs check * Feat: added removal logic for invalid transactions * Refactor: removed Println * Add test for 2nd Reattachment * Add aggregated branches test cases * Feat: added a method to generate AggregatedBranchIDs * Use GenerateAggregatedBranchID in test * Feat: refactored delete logic * Fix: fixed broken test * Feat: added final test cases for invalid txs / payloads * WIP * Value tangle concurrency tests (#451) * Add simple concurrency test * Add reverse and concurrent transaction and value object solidification tests and fix bug when value object was visited more than once * Add some documentation to make tests easily understandable * WIP propagation tests but fixed already couple of bugs * Fix: fixed some bugs * Feat: added propagation to inclusion states to tx and its outputs * Feat: finished the propagation down to the tx and its outputs * WIP propagation tests and fix bugs * Feat: fixed some issues and introduced a Debugger * Refactor: added a few comments * Split massive test file into slightly more digestible chunks * Clean up propagation tests * Feat: fixed bugs * Feat: enabled missing tests * Add some documentation and missing checks for aggregated branches * Clean up tangle tests * Fix: finalized wasn't propagated when a branch was rejected * WIP debugging concurrency bug of death * Feat: added more reliable fails in test case * Fix: fixes a race condition in solidification * Clean up test Co-authored-by:Hans Moog <hm@mkjc.net> Co-authored-by:
Luca Moser <moser.luca@gmail.com> Co-authored-by:
Wolfgang Welz <welzwo@gmail.com> Co-authored-by:
capossele <angelocapossele@gmail.com> Co-authored-by:
jkrvivian <jkrvivian@gmail.com>
-
- Jun 11, 2020
-
-
Hans Moog authored
Co-authored-by:
Hans Moog <hm@mkjc.net>
-
Hans Moog authored
* Fix: fixed some bugs * Feat: added propagation to inclusion states to tx and its outputs * Feat: finished the propagation down to the tx and its outputs Co-authored-by:
Hans Moog <hm@mkjc.net>
-
- Jun 02, 2020
-
-
Hans Moog authored
* Fix: fixed marshal/unmarshal of branch regarding finalized flag * Feat: added confirmed propagation to branch dag * Feat: added rejected marshaling * Feat: added comment for SetBranchFinalized * Feat: finished confirmed propagation * Feat: private setters so one can not mess with the tangle * Refactor: refactored some code * Feat: linked branchmanager to tangle * Feat: refactored confirmed propagation * Feat: started to clean up the code / resort methods * Feat: cleaned up more code * Refactor: reordered methods
-
- May 26, 2020
-
-
Jonas Theis authored
* Add TipManager with naive locking and some basic tests * Add ValueObjectFactory * Bones * Refactor TipManager to be able to handle tips in the context of branches * Add unit tests * Add more tests * Feat: initial commit * Feat: added setPreferred to TransactionMetadata * Feat: added a Conflicting() method to the transactionMetadata * Fix: fixed logic bug * Feat: refactored fcob * Refactor: refactored additional code * Fix: fixed a bug in ForeachConsumers * Refactor: cleaned up code * Feat: implemented FCOB consensus into the valuetransfer dapp * Refactor: refactored FCOB * Docs: added some additional comments * Docs: fixed comments * Refactor: commit before branch change * Feat: added PayloadLiked Event * Refactor: fixed some missing comments + added liked to marshal * Feat: reworked the preferred and liked propagation * Refactor: cleaned up some logic * Refactor: simplified code * Refactor: cleaned up more stuff :P * Refactor: refactor * Feat: moved test + refactored fcob * Fix: fixed a few bugs in liked propagation * Rewrite TipManager to maintain a simple flat map of tips. The value transfers plugin needs to call the corresponding functions AddTip and RemoveTip when a value object is liked or disliked, respectively. * adapt to new hive.go version * upgrade hive.go * Feat: started implementing a wallet * Feat: extended wallet files * Integrate tipmanager on tangle events * Rename TipCount to Size Co-authored-by:
Wolfgang Welz <welzwo@gmail.com> Co-authored-by:
Hans Moog <hm@mkjc.net>
-
Hans Moog authored
* Feat: initial commit * Feat: added setPreferred to TransactionMetadata * Feat: added a Conflicting() method to the transactionMetadata * Fix: fixed logic bug * Feat: refactored fcob * Refactor: refactored additional code * Fix: fixed a bug in ForeachConsumers * Refactor: cleaned up code * Feat: implemented FCOB consensus into the valuetransfer dapp * Refactor: refactored FCOB * Docs: added some additional comments * Docs: fixed comments * Refactor: commit before branch change * Feat: added PayloadLiked Event * Refactor: fixed some missing comments + added liked to marshal * Feat: reworked the preferred and liked propagation * Refactor: cleaned up some logic * Refactor: simplified code * Refactor: cleaned up more stuff :P * Refactor: refactor * Feat: moved test + refactored fcob * Fix: fixed a few bugs in liked propagation * adapt to new hive.go version * upgrade hive.go * Feat: started implementing a wallet * Feat: extended wallet files * use store backed sequence * add option to use in-memory database * address review comments * Fix: fixed missing events in branchmanaer * Feat: propagate changes from branch to transaction * Feat: started implementing confirmed propagation * Fix: fixed unreachable code * Refactor: refactored some code according to wolfgangs review * Refactor: cleaned up the code according to DRY * Refactor: refactored according to wollac * Refactor: refactored according to wollac * Refactor: refactored according to wollac * Refactor: refactored the code to make it more readable * Refactor: added some doc comments + cleaned up some more code Co-authored-by:
Wolfgang Welz <welzwo@gmail.com>
-
- May 25, 2020
-
-
Wolfgang Welz authored
* adapt to new hive.go version * upgrade hive.go * use store backed sequence * add option to use in-memory database * address review comments
-
- May 16, 2020
-
-
Hans Moog authored
* Feat: added valueobjectbooking model * Docs: adjusted docs * Docs: updated another comment * Feat: added first function to book ValueObjects * Feat: intermediary commit so nothing gets lost * Feat: nearly done with the refactor * Feat: nearly finished the tangle refactor * Feat: finished refactor * Fix: fixed unreleased object * Refactor: removed comment * Feat: added LedgerState.Balances * Feat: first successful test for valuetransfer * Feat: refactor * Fix: fixed bug in BranchesConflicting * Fix: fixed annotations from cilint * Feat: commit so we can merge :D
-
- May 08, 2020
-
-
Hans Moog authored
* Feat: started adding conflict checls * Feat: finished BranchConflicting function * Fix: fixed bugs in BranchesConflicting * Feat: InheritBranches now checks conflicts * Feat: completed AddBranch method * Feat: refactored InheritBranches * Refactor: refactored AddBranch * Feat: started implementing objectstorage in branchmanager * Refactor: refactored Parse functions * Feat: added KeyPartitions to branchmanager objectstorage * Refactor: refactored some code * Feat: added events to Branch * Refactor: refactored event logic * Refactor: removed unnecessary code * Refactor: replaced events with manager based implementation * Refactor: refactored branchmanager to update branches * Feat: removed unused property * Refactor: removed unused method (fork does everything) * Refactor: commit before branch change * Feat: added a method to update the parent branch * Feat: added SetModified in models * Feat: completed different logics * Feat: added ability to uncolor coins * Refactor: refactored some code + comments * Refactor: renamed ancestor to descendant :P * adds comments from meeting (#411) * Refactor: refactored some last stuff before merge * Feat: updated to latest hive.go * Feat: updated hive.go in tester Co-authored-by:
Luca Moser <moser.luca@gmail.com>
-
- Apr 29, 2020
-
-
Hans Moog authored
* Fix: fixed some error must be last param * Refactor: continued refactoring according to golint * Refactor: addresses more golint warnings * Refactor: refactored error last * Fix: fixed hive.go * Refactor: refactored alot according to golang-ci-list * Refactor: intermediary commit * Refactor: refactored additional code according to golint-ci * Refactor: continued to refactor according to golint * Refactor: refactored according to golint * Fix: fixed last golinter reports
-
- Apr 27, 2020
-
-
Hans Moog authored
* Feat: value transfers are working * Feat: tangle now detects invalid transactions * Refactor: refactored some code * Feat: finished unit test for value transaction * Feat: added ledger state (reads information from value tangle) * Refactor: refactored some code * Feat: finished refactoring isTransactionSolid method * Feat: added RealityId model for parallel reality based ledger * Refactor: moved Output to tangle and introduced branches * Refactor: refactored some code * Refactor: renamed "NEW" color * Feat: started adding branches * Feat: nothing works anymore :p Started to refactor * Feat: cleaned up tangle in valuetransfers * Fix: fixed most refactor related bugs * Feat: introduced branchmanager and utxodag * Refactor: cleaned up some code * Feat: introduced ledgerstate * Feat: balances get booked into branches * Feat: started implementing fork logic * Feat: added some more logic :P * Feat: commit before develop rebase * Fix: fixed comments from golangci-lint * Refactor: refactored moveTransaction logic * Refactor: refactor * Refactor: refactored valuetransfers to be a selfcontained app * Fix: fixed errors due to merge * Fix: fixed bug * Feat: added preferred/liked to branch * Feat: added a lot of branchmanager logic * Feat: implemented FPC in the valuetransfers DAPP * Refactor: refactored according to golint
-