- Jul 01, 2020
-
-
Luca Moser authored
* Fix setup wiki article link in readme (#594) * add snapshot file to releaser archives (#592) * Double spend check (#606) * Fix: added a check for doublespends * Fix: added a check for double spends * Fix: fixed iport cycle * Feat: replaced error with error variable * Feat: store tangle in factory * Update dapps/faucet/packages/faucet.go Co-authored-by:
Wolfgang Welz <welzwo@gmail.com> * makes send tx web API handler synced Co-authored-by:
Hans Moog <hm@mkjc.net> Co-authored-by:
Wolfgang Welz <welzwo@gmail.com> Co-authored-by:
Luca Moser <moser.luca@gmail.com> * Adds tips broadcaster to gossip plugin (#608) * adds tips broadcaster to gossip plugin * adds missing for loop * addresses review comments * bumps network and database versions (#610) * Revert "bumps network and database versions (#610)" This reverts commit 3e626eac. * Revert "Revert "bumps network and database versions (#610)"" This reverts commit 9aa3d1bb. * Adds blacklist and PoW requirement to the faucet (#609) * adds blacklist and PoW requirement to the faucet * fixes wrong condition to check pow * fix faucet payload marhsaling * don't test payload data if not payload data set * updates changelog for v0.2.1 (#611) Co-authored-by:
Rajiv Shah <rajivshah1@icloud.com> Co-authored-by:
Wolfgang Welz <welzwo@gmail.com> Co-authored-by:
Hans Moog <3293976+hmoog@users.noreply.github.com> Co-authored-by:
Hans Moog <hm@mkjc.net>
-
- Jun 29, 2020
-
-
Angelo Capossele authored
-
Acha Bill authored
* Adjust inbox worker pool capacity to default * Adjust inbox worker pool capacity to default (#505) * validate api requests * release cachedInputs Co-authored-by:
Angelo Capossele <angelocapossele@gmail.com> * add payload size validation to sendPayload api * Apply suggestions from code review * validate transaction signatures * refactor: move validation to packages * update ValidateTransactionToAttach * define errors * Apply suggestions from code review * fixes from codereview Co-authored-by:
jonastheis <mail@jonastheis.de> Co-authored-by:
Wolfgang Welz <welzwo@gmail.com> Co-authored-by:
Angelo Capossele <angelocapossele@gmail.com> Co-authored-by:
Luca Moser <moser.luca@gmail.com>
-
- Jun 26, 2020
-
-
Luca Moser authored
* fixes typos * lets make the dog shut up
-
- Jun 25, 2020
-
-
Wolfgang Welz authored
-
- Jun 24, 2020
-
-
Wolfgang Welz authored
* add pow and nonce to the message * add pow plugin * fix pow tests * fix linter warnings * fix typo * fix panic when messagelayer is disabled * improve logging * fix typo * make the pow check a byte filter * decrease the test PoW difficulty even further * expose the pow filter and use it in the pow plugin * Apply suggestions from code review * make length of nonce a const Co-authored-by:
Luca Moser <moser.luca@gmail.com>
-
- Jun 19, 2020
-
-
Luca Moser 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 * feat: Add first value transfer integration test * fix: fix wrong plugin name * 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 * Add colored tokens test * Add value tangle test to github workflow * fix: Fix wrong function name in comments * refactor: Make testSnapshots disabled in default and minor tweaks * 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 * adds snapshot type * Fix: finalized wasn't propagated when a branch was rejected * implements ReadFrom and WriteTo for Snapshot * read in snapshot file if snapshot path is defined * renames snapshot test file * WIP debugging concurrency bug of death * Feat: added more reliable fails in test case * Fix: fixes a race condition in solidification * Clean up test * adds assets volume to integration test containers * fixes some asserts * adds non-working conflict integration test * check transaction availability in partition * renames integration test * lower amount of peers * first passing version of consensus integration test * remove debug printlns * do all integration tests again * increases avg. network delay fcob rule, removes debug printlns * go mod tidy by Marie Kondō * renames incl. state. conflict to conflicting * go fmt tangle.go * go fmt tangle_test, goimports dapp.go * goimports again because the dog is sad * run consensus integration test on the CI * use explicit pumba version 0.7.2 * pray to the CI gods for the test to pass * fix panic when tangle.Fork() is called * readd all tests again * reset integration framework paras * removes test snapshot plugin * get rid of test snapshot plugin * fixes wrong use of Println * removes random tool * removes duplicated value entry in GH CI workflows * xxx * wip * fixes integration test Co-authored-by:Hans Moog <hm@mkjc.net> Co-authored-by:
Wolfgang Welz <welzwo@gmail.com> Co-authored-by:
jonastheis <mail@jonastheis.de> Co-authored-by:
capossele <angelocapossele@gmail.com> Co-authored-by:
jkrvivian <jkrvivian@gmail.com>
-
- Jun 18, 2020
-
-
Luca Moser authored
-
Wolfgang Welz authored
* upgrade hive.go * upgrade testify * fix minor errors * test that the correct events are triggered * add test for MissingPayloadReceived event * remove unused PayloadUnsolidifiable event * fix TODOs * Fix: fixed wrong testcase * Fix: fixed wrong pending parameter in tests * Feat: added missing PayloadInvalid Event * upgrade testify * Feat: propagate payload invalid events * Feat: added error variables * Refactor: added missing comment for error * Refactor: final refactor Co-authored-by:
Hans Moog <hm@mkjc.net>
-
Hans Moog authored
Co-authored-by:
Hans Moog <hm@mkjc.net>
-
Hans Moog authored
* Feat: outputs inherit status of transaction * Refactor: fixed erroneous rename * Fix: fixed missing marshaling of output bools * Fix: fixed decision pending * Feat: fixed missing event * Update dapps/valuetransfers/packages/tangle/tangle.go Co-authored-by:
Wolfgang Welz <welzwo@gmail.com> * Refactor: made some setter private * Refactor: made more setters private Co-authored-by:
Hans Moog <hm@mkjc.net> Co-authored-by:
Wolfgang Welz <welzwo@gmail.com>
-
- Jun 17, 2020
-
-
Jonas Theis authored
-
Hans Moog authored
* Feat: Added Signature checks for value transfers to MessageParser * Refactor: renamed to SignatureFilter * Update dapps/valuetransfers/packages/tangle/signature_filter.go Co-authored-by:
Angelo Capossele <angelocapossele@gmail.com> * Update dapps/valuetransfers/packages/tangle/signature_filter.go Co-authored-by:
Angelo Capossele <angelocapossele@gmail.com> * Refactor: refactored code according to guard programming style * Refactor: refactored some code * Refactor: refactored code + adjusted go import settings * Refactor: changed goimport of value dapp * Refactor: refactored some more code * Feat: more refactor :D * Refactor: simplified constructor * Refactor: reordered properties of struct * Refactor: test * Fix: fixed bug in payload parser (fallback to generic) * Refactor: adjusted comment * Fix: fixed conditions for third test case * Refactor: refactored comment Co-authored-by:
Hans Moog <hm@mkjc.net> Co-authored-by:
Angelo Capossele <angelocapossele@gmail.com>
-
- 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
-