- Nov 06, 2020
-
-
Hans Moog authored
Co-authored-by:
Hans Moog <hm@mkjc.net>
-
- Oct 30, 2020
-
-
Levente Pap authored
Naming of marhsalutil size variables changed.
-
- Oct 09, 2020
-
-
Hans Moog authored
* Fix: refactored Payload to have its own package * Fix: fixed comment * Fix: fixed wrong comment * Fix: reverted some changes to keep the PR as small as possible * Refactor: refactored Data to GenericDataPayload * Fix: fixed last refactor issues Co-authored-by:
Hans Moog <hm@mkjc.net>
-
- Oct 06, 2020
-
-
Jonas Theis authored
* Remove storageprefix package and merge with flattened database package * Bump up database version * Update packages/database/prefix.go Co-authored-by:
Ching-Hua (Vivian) Lin <jkrvivian@gmail.com> Co-authored-by:
Angelo Capossele <angelocapossele@gmail.com> Co-authored-by:
Ching-Hua (Vivian) Lin <jkrvivian@gmail.com>
-
- Sep 23, 2020
-
-
Ching-Hua (Vivian) Lin authored
* refactor: Move spammer and storageprefix to packages * refactor: Import spammer and storageprefix with new path
-
- Sep 21, 2020
-
-
Ching-Hua (Vivian) Lin authored
* refactor: Move messagelayer/message to tangle/ * refactor: Modify the method receiver and annotate the error messages * refactor: Move messagelayer/payload to tangle/ * refactor: Modify the method receiver and annotate err messages in payload * refactor: Move messagelayer/messagerequester to tangle/ * refactor: Modify the method receiver in requester * refactor: Move messageparser/builtinfilter to tangle/ * refactor: Move messageparser/ to tangle/ * fix: Import fmt and minor fixes * refactor: Move messagefactory/ to tangle/ * refactor: Move tipselector/ to tangle/ * refactor: Rename method receivers in tipselector * refactor: Move messagelayer/tangle to tangle/ * refactor: Rename method receivers and annotate error messages in tangle * refactor: Move messagelayer/test to tangle/ * fix: Update to the develop branch * refactor: Create data payload in testing message creation * refactor: Use tangle package in gossip * fix: Fix
* fix: Rename for consistency * fix: Move message related const from payload.go to message.go * refactor: Use single character for method receivers * fix: Fix the unit test by using the correct variable name * refactor: Use tangle package in spammer * refactor: Use tangle package in faucet * refactor: Use tangle package in networkdelay * refactor: Use tangle package in valuetransfer * refactor: Use tangle package in messagelayer plugin * refactor: Use tangle package in gossip plugin * refactor: Use tangle package in syncbeacon plugin * refactor: Use tangle package in syncbeaconfollower plugin * refactor: Use tangle package in webapi plugin * refactor: Use tangle package in issuer plugin * refactor: Use tangle package in pow plugin * refactor: Use tangle package in metrics plugin * refactor: Use tangle package in drng plugin * refactor: Use tangle package in prometheus plugin * refactor: Use tangle package in dashboard plugin * refactor: Use tangle package in integration tests * fix: Fix unit tests * refactor: Remove binary/messaglayer * Feat: merged marshal changes * Feat: removed superfluous test * Fix: fixed wrong comment * refactor: Annotate error messages in marshal functions * refactor: Import fmt package * refactor: Aggregate all filters into filter.go * refactor: Rename Factory to MessageFactory to clarify the functionality * refactor: Rename Parser to MessageParser to clarify the functionality * refactor: Rename Requester to MessageRequester to clarify the functionality * refactor: Rename Parse to FromMarshalUtil for naming consistency * refactor: Fix comments * refactor: Fix comments * fix: Use the correct function Co-authored-by:Hans Moog <hm@mkjc.net>
-
- Sep 16, 2020
-
-
Ching-Hua (Vivian) Lin authored
* refactor: Move messagelayer/message to tangle/ * refactor: Modify the method receiver and annotate the error messages * refactor: Move messagelayer/payload to tangle/ * refactor: Modify the method receiver and annotate err messages in payload * refactor: Move messagelayer/messagerequester to tangle/ * refactor: Modify the method receiver in requester * refactor: Move messageparser/builtinfilter to tangle/ * refactor: Move messageparser/ to tangle/ * fix: Import fmt and minor fixes * refactor: Move messagefactory/ to tangle/ * refactor: Move tipselector/ to tangle/ * refactor: Rename method receivers in tipselector * refactor: Move messagelayer/tangle to tangle/ * refactor: Rename method receivers and annotate error messages in tangle * refactor: Move messagelayer/test to tangle/ * fix: Update to the develop branch * refactor: Create data payload in testing message creation * fix: Fix
* fix: Rename for consistency * fix: Move message related const from payload.go to message.go * refactor: Use single character for method receivers * fix: Fix the unit test by using the correct variable name * Feat: merged marshal changes * Feat: removed superfluous test * Fix: fixed wrong comment * refactor: Annotate error messages in marshal functions * refactor: Import fmt package * refactor: Aggregate all filters into filter.go * refactor: Rename Factory to MessageFactory to clarify the functionality * refactor: Rename Parser to MessageParser to clarify the functionality * refactor: Rename Requester to MessageRequester to clarify the functionality * refactor: Rename Parse to FromMarshalUtil for naming consistency * refactor: Fix comments Co-authored-by:Hans Moog <hm@mkjc.net>
-
- Sep 14, 2020
-
-
Hans Moog authored
* Feat: updated hive.go * Feat: started refactoring parsing of entities * Feat: first changes due to hive.go new marshaling logic * Feat: fixed MessageMetadata * Feat: fixed Approver * Feat: updated MissingMessage * Feat: started updating first branch models * Feat: ported ConflictSet * Fix: fixed bug with Conflict * Fix: fixed some issues * Fix: fixed branchmanager refactor * Feat: refactored payload marshaling * Feat: finished reworking PayloadMetadata * Feat: finished refactoring PayloadApprover * Fix: fixed some more models * Feat: fixed some more issues * Fix: one model left :P * Fix: fixed last model * Feat: fixed test * Fix: fixed unused var bug due to debug * Feat: fixed something in faucet payload * Fix: fixed some issues * Fix: fixed a bug in the refactor * Feat: added debug output if error in drng test *
Update drand docker image Co-authored-by:Hans Moog <hm@mkjc.net> Co-authored-by:
capossele <angelocapossele@gmail.com>
-
- Sep 09, 2020
-
-
Hans Moog authored
* Feat: updated to latest hive.go * Fix: started fixing some issued due to the refactor * Fix: fixed some more issues Co-authored-by:
Hans Moog <hm@mkjc.net>
-
- Sep 07, 2020
-
-
Ching-Hua (Vivian) Lin authored
* refactor: Refactor messagelayer events * refactor: Refactor drng events * fix: Fix messagelayer unit tests * refactor: Refactor value events * fix: Fix wrong parameter in TransactionBooked event * refactor: Fix
* refactor: Rename event parameter structure for consistency * refactor: Rename parameters * fix: Fix message tangle unit tests * refactor: Refactor messagerequester events * fix: Minor fix * refactor: Rename Txn to Transaction * refactor: Rename OutputIDs in ForkEvent to InputIDs * refactor: Use the pointer of events structure for consistency * refactor: Minor fix -
Ching-Hua (Vivian) Lin authored
* refactor: Rename trunk and branch to parent1 and parent2 * refactor: Minor fixes * refactor: Update packr file * refactor: Rename trunk/branch in tools api handlers
-
- Jul 28, 2020
-
-
Acha Bill authored
-
- Jul 23, 2020
-
-
Hans Moog authored
* Feat: started adding new logic to the wallet package * Feat: intermediary commit * Feat: added Outputs to wallet * Feat: started implementing SendFunds * Feat: added AddressManager + refactored code * Feat: tx gets constructed * Feat: txs get sent now * Feat: fixed bug after merge * Fix: fixed faucet * Fix: fix double spend tool * Fix: refactored broken tests * Fix: fixed additional tests * Fix: fixed some integration tests * Fix: fixed some issues * Fix: fixed further bugs in integration tests * Fix: fixed some bugs *
Make WaitToKillTimeInSeconds a parameter * Set default ParaWaitToKill to 60 seconds * Fix bug * Feat: added an output manager * Fix: fixed bug * Feat: added new features to the wallet * Feat: added missing comments * Feat: updated some stuff * Feat: started to implement a cli wallet * Feat: added new features to cli wallet * Feat: added more features to cli wallet * Feat: MOAR FEATURES * Feat: finished wallet * Fix: fixed bug due to refactor * Fix: fixed bugs * Refactor: removed comments from private methods * do not ignore client lib * move wallet inside of the client dir * do not ignore client in docker build * go fmt yourself * Feat: added config to wallet * Feat: exe creates default config upon first launch * Feat: updated gitignore * Feat: refactored some code * Feat: added ERROR to all "non-fatal" error messages * Feat: removed error prefix from call and moved to func * Feat: indented error message * Feat: make commands look like params in useage print * Feat: reordered commands and params * Feat: fixed bug with colored coins creation * Fix: fixed missing unit tests * Feat: added message to sendfunds * Feat: added message for faucet POW call * Feat: intermediary commit * Fix: Enable server-status to get server information * Fix: Fix dependency cycle * Fix: Fix unit test errors * Fix: Fix integration test * Fix: Fix consensus integration test * Fix: fix * Refactor: Reorganize the wallet files to make it cleaner * Fix: Fix * Add script for building cli-wallet binaries Co-authored-by:Hans Moog <hm@mkjc.net> Co-authored-by:
capossele <angelocapossele@gmail.com> Co-authored-by:
Wolfgang Welz <welzwo@gmail.com> Co-authored-by:
jkrvivian <jkrvivian@gmail.com>
-
- Jul 20, 2020
-
-
Angelo Capossele authored
*
Add workerpools load on Prometheus * Fix bug * Change unlock order in MessageRequester StartRequest * Refactor gossip manager workerpools * Disable filter workerpools * Increase WorkerPools size * Increase docker shutdown timeout * Clean up code * Refactor * Remove filter shutdown * Increase messageRequestWorkerCount -
Jonas Theis authored
* Add check for allowed payload size to message factory * Fix factory usage in tests * Add test * Remove invalid payload size checks * Adjust maxPacketSize in gossip and buffconn to 65KB * Bones * Upgrade to latest hive.go version * Bones for the good boy!
-
- Jul 16, 2020
-
-
Wolfgang Welz authored
-
Acha Bill authored
* validate max transaction inputs count * add tests for tx.InputsCountValid * fix linting
-
- Jul 09, 2020
-
-
Acha Bill authored
* validate tx signature before issueing tx * Fix typo Co-authored-by:
Angelo Capossele <angelocapossele@gmail.com> * refactor Co-authored-by:
Angelo Capossele <angelocapossele@gmail.com> Co-authored-by:
Angelo Capossele <angelocapossele@gmail.com>
-
- 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>
-
Hans Moog authored
* 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>
-
- 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
-