Skip to content
Snippets Groups Projects
  1. Sep 16, 2020
    • Ching-Hua (Vivian) Lin's avatar
      refactor: Flatten messagelayer (#732) · 45a94bcd
      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 :dog:
      
      
      
      * 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: default avatarHans Moog <hm@mkjc.net>
      45a94bcd
  2. Sep 14, 2020
    • Hans Moog's avatar
      Feat: updated hive.go (#729) · 14592f27
      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
      
      * :arrow_up:
      
       Update drand docker image
      
      Co-authored-by: default avatarHans Moog <hm@mkjc.net>
      Co-authored-by: default avatarcapossele <angelocapossele@gmail.com>
      14592f27
  3. Sep 09, 2020
  4. Sep 07, 2020
    • Ching-Hua (Vivian) Lin's avatar
      Change event parameters to struct (#704) · 50295559
      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 :dog:
      
      * 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
      50295559
    • Ching-Hua (Vivian) Lin's avatar
      refactor: Rename trunk and branch to parent1 and parent2 (#711) · b6b6228a
      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
      b6b6228a
  5. Jul 28, 2020
  6. Jul 23, 2020
    • Hans Moog's avatar
      Feat/wallet (#533) · 7ba94158
      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
      
      * :white_check_mark: Make WaitToKillTimeInSeconds a parameter
      
      * :wrench: Set default ParaWaitToKill to 60 seconds
      
      * :bug: 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 :dog:
      
      * Refactor: Reorganize the wallet files to make it cleaner
      
      * Fix: Fix :dog:
      
      * :package:
      
       Add script for building cli-wallet binaries
      
      Co-authored-by: default avatarHans Moog <hm@mkjc.net>
      Co-authored-by: default avatarcapossele <angelocapossele@gmail.com>
      Co-authored-by: default avatarWolfgang Welz <welzwo@gmail.com>
      Co-authored-by: default avatarjkrvivian <jkrvivian@gmail.com>
      7ba94158
  7. Jul 20, 2020
    • Angelo Capossele's avatar
      Various sync related fixes (#650) · 439e8ab8
      Angelo Capossele authored
      * :mag: Add workerpools load on Prometheus
      
      * :bug: Fix bug
      
      * :zap: Change unlock order in MessageRequester StartRequest
      
      * :recycle: Refactor gossip manager workerpools
      
      * :recycle: Disable filter workerpools
      
      * :recycle: Increase WorkerPools size
      
      * :recycle: Increase docker shutdown timeout
      
      * :recycle: Clean up code
      
      * :recycle: Refactor
      
      * :heavy_minus_sign: Remove filter shutdown
      
      * :zap: Increase messageRequestWorkerCount
      439e8ab8
    • Jonas Theis's avatar
      Enforce max message size/max payload size in message factory (#647) · 82d4b6bb
      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!
      82d4b6bb
  8. Jul 16, 2020
  9. Jul 09, 2020
  10. Jul 01, 2020
  11. Jun 29, 2020
  12. Jun 26, 2020
  13. Jun 25, 2020
  14. Jun 24, 2020
    • Wolfgang Welz's avatar
      Feat: Add PoW for messages (#511) · f4711320
      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: default avatarLuca Moser <moser.luca@gmail.com>
      f4711320
  15. Jun 19, 2020
    • Luca Moser's avatar
      Adds consensus integration test (#468) · 57fb70b7
      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
      
      * :white_check_mark: adds orderedMap unit tests
      
      * :rotating_light: Fix linter warnings
      
      * test: Add queue unit tests
      
      * Add more tests
      
      * :lipstick: Adjust imports order
      
      * WIP more tests
      
      * :white_check_mark: Add TestBookTransaction
      
      * :white_check_mark: Update TestBookTransaction
      
      * Add more tests
      
      * :construction: WIP tests
      
      * :white_check_mark: Add TestCalculateBranchOfTransaction
      
      * :white_check_mark: Add TestMoveTransactionToBranch
      
      * :white_check_mark: Add TestFork
      
      * :white_check_mark: Add TestBookPayload
      
      * Add test for checkPayloadSolidity
      
      * :white_check_mark: Add TestSetTransactionPreferred
      
      * Add more tests
      
      * :white_check_mark: 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
      
      * :white_check_mark: Add test for 2nd Reattachment
      
      * feat: Add first value transfer integration test
      
      * fix: fix wrong plugin name
      
      * :white_check_mark: Add aggregated branches test cases
      
      * Feat: added a method to generate AggregatedBranchIDs
      
      * :art: Use GenerateAggregatedBranchID in test
      
      * Feat: refactored delete logic
      
      * Fix: fixed broken test
      
      * Feat: added final test cases for invalid txs / payloads
      
      * :construction:
      
       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: default avatarHans Moog <hm@mkjc.net>
      Co-authored-by: default avatarWolfgang Welz <welzwo@gmail.com>
      Co-authored-by: default avatarjonastheis <mail@jonastheis.de>
      Co-authored-by: default avatarcapossele <angelocapossele@gmail.com>
      Co-authored-by: default avatarjkrvivian <jkrvivian@gmail.com>
      57fb70b7
  16. Jun 18, 2020
  17. Jun 17, 2020
  18. Jun 15, 2020
    • Jonas Theis's avatar
      Value tangle unit tests (#434) · ef1754f0
      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
      
      * :white_check_mark: adds orderedMap unit tests
      
      * :rotating_light: Fix linter warnings
      
      * test: Add queue unit tests
      
      * Add more tests
      
      * :lipstick: Adjust imports order
      
      * WIP more tests
      
      * :white_check_mark: Add TestBookTransaction
      
      * :white_check_mark: Update TestBookTransaction
      
      * Add more tests
      
      * :construction: WIP tests
      
      * :white_check_mark: Add TestCalculateBranchOfTransaction
      
      * :white_check_mark: Add TestMoveTransactionToBranch
      
      * :white_check_mark: Add TestFork
      
      * :white_check_mark: Add TestBookPayload
      
      * Add test for checkPayloadSolidity
      
      * :white_check_mark: Add TestSetTransactionPreferred
      
      * Add more tests
      
      * :white_check_mark: 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
      
      * :white_check_mark: Add test for 2nd Reattachment
      
      * :white_check_mark: Add aggregated branches test cases
      
      * Feat: added a method to generate AggregatedBranchIDs
      
      * :art: Use GenerateAggregatedBranchID in test
      
      * Feat: refactored delete logic
      
      * Fix: fixed broken test
      
      * Feat: added final test cases for invalid txs / payloads
      
      * :construction:
      
       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: default avatarHans Moog <hm@mkjc.net>
      Co-authored-by: default avatarLuca Moser <moser.luca@gmail.com>
      Co-authored-by: default avatarWolfgang Welz <welzwo@gmail.com>
      Co-authored-by: default avatarcapossele <angelocapossele@gmail.com>
      Co-authored-by: default avatarjkrvivian <jkrvivian@gmail.com>
      ef1754f0
  19. Jun 11, 2020
  20. Jun 02, 2020
    • Hans Moog's avatar
      Feat: Starting to implement the propagation of the confirmed flag (#440) · 9039716c
      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
      9039716c
  21. May 26, 2020
    • Jonas Theis's avatar
      TipManager & ValueObject factory (#417) · 7db8e8e1
      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: default avatarWolfgang Welz <welzwo@gmail.com>
      Co-authored-by: default avatarHans Moog <hm@mkjc.net>
      7db8e8e1
    • Hans Moog's avatar
      Feat: Refactor Preferred / Liked logic (#428) · 0355aee5
      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: default avatarWolfgang Welz <welzwo@gmail.com>
      0355aee5
  22. May 25, 2020
  23. May 16, 2020
    • Hans Moog's avatar
      Feat: Adding the ability to book ValueObjects into their corresponding branch (#414) · 99da8900
      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
      99da8900
  24. May 08, 2020
    • Hans Moog's avatar
      Refactor / Cleanup Branchmanager (#380) · 3f27e3aa
      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: default avatarLuca Moser <moser.luca@gmail.com>
      3f27e3aa
  25. Apr 29, 2020
    • Hans Moog's avatar
      Fix the golint-ci warning (#381) · 18dba17c
      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
      18dba17c
  26. Apr 27, 2020
    • Hans Moog's avatar
      Refactor value transfer logic (#330) · ec373339
      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
      ec373339
Loading