Skip to content
Snippets Groups Projects
  1. Jun 26, 2020
  2. 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>
      Unverified
      ef1754f0
  3. 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
      Unverified
      9039716c
  4. 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
      Unverified
      18dba17c
  5. 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
      Unverified
      ec373339
  6. Mar 23, 2020
    • Hans Moog's avatar
      Feat: Refactor and cleanup some code (#301) · 490f10e3
      Hans Moog authored
      * Feat: refactored the address
      
      * Feat: started adding solidification of transferOutputs
      
      * Feat: cleaned up checker code
      
      * Feat: going to bed - good night world
      
      * Feat: refactored transferoutput package
      
      * Fix: fixed a bug from refactoring
      
      * Refactor: removed old transferoutputmetadata package
      
      * Refactor: started refactoring transfer package
      
      * Refactor: refactored transfer/id package
      
      * Refactor: moved transfer struct to new package
      
      * Refactor: fixed issues after refactor
      
      * Refactor: fixed sth
      
      * Refactor: continued to move files
      
      * Refactor: commit before migration of last refactored files
      
      * Refactor: another refactor before move
      
      * Refactor: refactor test
      
      * Fix: fixed some bugs connected to refactor
      
      * Refactor: continued refactor
      
      * Refactor: fixed some bugs
      
      * Refactor: does it work now?
      
      * Feat: added a method to generate a random transferid
      
      * Feat: rename transfer to transaction
      
      * Refactor: refactor according to new names
      
      * Refactor: continued to refactor transaction package
      
      * Refactor: moved payload id to payload package
      
      * Refactor: moved signatures to transaction package
      
      * Refactor: moved signature to transaction
      
      * Fix: fixed bug due to refactor
      
      * Fix: fixed bugs due to refactor
      
      * Refactor: fixed some bugs after refactor
      
      * Fix: fixed additional bugs
      
      * Fix: bug fix
      
      * Refactor: moved signature to signaturescheme package
      
      * Fix: fixed signatures test
      
      * Fix: fixed bug in tangle
      
      * Fix: fixed payloadmetadata test
      
      * Fix: fixed payload test
      
      * Refactor: moved payloadmetadata to payload package
      
      * Fix: fixed some refactor bugs
      
      * Fix: fixed a bug due to refactor
      
      * Fix: fixed broken test
      
      * Refactor: moved approver to payload package
      
      * Refactor: moved missingpayload to payload package
      
      * Refactor: refactored coloredbalance package
      
      * Fix: fixed bug due to refactor
      
      * Refactor: moved address signaturescheme to address package
      
      * Fix: fixed refactor bug
      
      * Feat: added missing outputs to tangle
      
      * Fix: fixed issues due to refactor
      
      * Refactor: started moving tangle classes to tangle package
      
      * Refactor: moved payloadmetadata to tangle
      
      * Fix: fixed bugs due to refactor
      
      * Refactor: moved TransactionMetadata to tangle package
      
      * Refactor: moved some files to tangle
      
      * Fix: fixed bug due to refactor
      
      * Feat: added TransactionMetadata storage
      
      * Fix: fixed some issues
      
      * Fix: fixed some issues
      
      * Fix: fixed missing release
      Unverified
      490f10e3
  7. Mar 16, 2020
    • Hans Moog's avatar
      Implemented value tangle (#288) · 682a9a1b
      Hans Moog authored
      * Refactor: cleaned up unused files
      
      * Refactor: changing branches (need to commit)
      
      * Refactor: refactored some code
      
      * Feat: finished signature scheme for value transactions
      
      * Fix: fix broken merge
      
      * Refactor: refactored some code
      
      * Refactor: refactored transaction marshaling and unmarshaling
      
      * Fix: fixed missing err check
      
      * Feat: added payload string method
      
      * Feat: added Bytes() method to transactionid
      
      * Feat: refactored the marshaling
      
      * Refactor: refactored serialization code
      
      * Feat: started implementing the payload metadata
      
      * Docs: added some doc comments
      
      * Docs: added some additional docs
      
      * Feat: added a CachedObject of the payloadmetadata + added comments
      
      * Feat: updated hive.go + added further models
      
      * Feat: pc died - rescued files from disk
      
      * Feat: further models implemented
      
      * Feat: added missing model for value tangle
      
      * Feat: started writing test cases for value tangle
      
      * Feat: started to adjust marshaling of transaction
      
      * Feat: refactored marshaling of payload
      
      * Feat: intermediary commit before bigger refactor
      
      * Feat: removed identity package
      
      * Fix: fixed bugs due to refactor
      
      * Fix: fixed further bugs
      
      * Fix: fixed further bugs
      
      * Fix: hopefully last bugs :p
      
      * Feat: changed time marshal to use nanoseconds
      
      * Fix: fixed time marshaling
      
      * Fix: fixed serialization bug
      
      * Docs: added a comment to handling the zero value
      
      * Refactor: refactored transaction to separate issuerKey
      
      * Feat: added a parse method for Signatures
      
      * Feat: updated to latest hive.go
      Unverified
      682a9a1b
Loading