Skip to content
Snippets Groups Projects
  1. 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
  2. Jun 11, 2020
  3. Jun 10, 2020
    • Jonas Theis's avatar
      Uniform usage of base58 over base64 and hex (#452) · df5b6b25
      Jonas Theis authored
      * Adjust autopeering/neighbors endpoint to display public key in default (base58)
      
      * Allow to specify node seed as base58 or base64 + add flag to show seed
      
      * Interpret entry node public key as base58
      
      * Adjust integration tests to use base58 instead of base64
      
      * Hex to base58
      
      * Remove flag to print seed
      
      * Update hive.go
      df5b6b25
  4. Jun 02, 2020
    • jkrvivian's avatar
      fix: Fix bugs while enabling value transfers dapp (#442) · 85e92abc
      jkrvivian authored
      * fix: Fix bugs while enabling value transfer
      
      * :heavy_minus_sign: Remove unused plugin
      
      * feat: Implement value web api & client library (#438)
      
      * feat: Implement value api: Attachment
      
      * feat: Implement value api: UnspentOutputs
      
      * feat: Implement value api: transactionByID
      
      * feat: Implement client lib & value api: sendTransaction
      
      * fix: minor tweak
      
      * fix: minor fix
      
      * refactor: Refactor sendTransaction api
      
      * Refactor: Fix :dog:
      
      * refactor: Fix :dog:
      
      * refactor: Rename api route of testSendTxn to camel case
      
      * fix: Fix bugs in webapi
      
      * Release object storage after retreiving it
      * Handle IOTA color specifically
      
      * refactor: Add balances in unspentOutput api
      
      * Fix entry node disabled plugins for integration tests
      
      * Fix grpc server nil
      
      * :bug: Fix FPC round initiator
      
      * :lipstick: Fix backgroundWorker name
      
      * :rotating_light: Adjust imports order
      
      * Wait for autopeering when node starts
      
      * Fix background worker name conflict with message tangle
      
      * :art: Use Voter()
      
      * :bug:
      
       Re-fix ValueTangle BackgroundWorker name
      
      Co-authored-by: default avatarcapossele <angelocapossele@gmail.com>
      Co-authored-by: default avatarjonastheis <mail@jonastheis.de>
      85e92abc
  5. May 25, 2020
  6. May 14, 2020
    • Levente Pap's avatar
      Use TLV protocol for Analysis Plugin (#424) · 6026d479
      Levente Pap authored
      * Refactor heartbeat packet into message for TLV
      
      * Refactor Analysis-Server for TLV protocol
      
      * Adjust Heartbeat packet tests for TLV
      
      * Remove obsolete ping packet
      
      * Add comments
      
      * Add message registry for analysis packet types
      
      * Update hive.go
      
      * Refactor analysis message registry initialization
      
      * go mod tidy for integration tests
      
      * format files with gofmt
      
      * Linter warning fix
      
      * Small fix
      6026d479
  7. 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
  8. May 07, 2020
  9. May 04, 2020
  10. Apr 30, 2020
  11. 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
  12. 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
  13. Apr 24, 2020
  14. Apr 14, 2020
  15. Apr 07, 2020
  16. Apr 06, 2020
    • lunfardo314's avatar
      BLS signatures: fixes and improvements (#315) · f6b6cf58
      lunfardo314 authored
      * minor bug fix
      
      * BLS signatures: bug fix in test, removed unnecessary function, added new test
      
      * BLS signatures: bug fix in test, removed unnecessary function, added new test
      
      * BLS signatures: bug fix in test, removed unnecessary function, added new test
      
      * BLS signatures: bug fix in test, removed unnecessary function, added new test
      
      * BLS signatures: bug fix in test, removed unnecessary function, added new test
      f6b6cf58
  17. Apr 05, 2020
    • Hans Moog's avatar
      Message refactor (#322) · aae4b1ec
      Hans Moog authored
      * Feat: refactored message + started to add tests
      
      * Refactor: go mod tidy
      
      * Refactor: continued to refactor message
      
      * Feat: updated to last hive.go + added Signature() methid
      
      * Feat: go mod tidy
      
      * Feat: added mutex to the signature write in Bytes()
      
      * Fix: fixed Signature method
      
      * Feat: refactored message methods
      
      * Feat: refactored output
      
      * Fix: fixed signature mismatch in tangle factory methods
      
      * Refactor: go mod tidy
      
      * Feat: added solditification logic to value tangle
      
      * Feat: fixed some code related to objectstorage factories
      
      * Feat: model refactor
      
      * Fix: fixed a bug in the models of the valuetangle
      
      * Feat: refactored storageprefix framework
      
      * Feat: refactored some code
      
      * Refactor: additional refactor in OS logic
      
      * Refactor: refactored MissingPayload model
      
      * Refactor: refactored further models
      aae4b1ec
  18. Apr 03, 2020
  19. Apr 02, 2020
  20. Mar 30, 2020
  21. Mar 28, 2020
    • Hans Moog's avatar
    • Jonas Theis's avatar
      Message factory (#286) · 6b3723fa
      Jonas Theis authored
      
      * Added plugin structure and DB sequence number. WIP
      
      * First version of transaction factory and builders for payloads #275
      
      * Move marshalutil to hive.go
      
      * Refactor existing code (before binary) to use new hive.go/identity #282
      
      * Adjust binary code to use hive.go/identity and remove signature/ed25519 #282
      
      * Adjust moved files from merge to use hive.go/marshalutil
      
      * Adjust moved files from merge to use hive.go/identity and hive.go/crypto
      
      * Adjust to merged changes
      
      * Rename to MessageFactory
      
      * Use local identity and tip selector
      
      * Rename package
      
      * Add tests
      
      * Changed BuildMessage to receive an interface value instead of pointer
      
      * Refactoring and comments
      
      * Fix: fixed issues due to refactor
      
      * Refactor: refactored the code
      
      * Refactor: removed unnecessary messagefactory plugin
      
      * Refactor: cleaned up code
      
      * Feat: made spammer use messagefactory
      
      * Refactor: refactored method name and docs
      
      * Refactor: additional refactor
      
      * Refactor: go mod tidy
      
      Co-authored-by: default avatarHans Moog <hm@mkjc.net>
      6b3723fa
    • Hans Moog's avatar
      Feat: started reworking output model (#311) · b9404478
      Hans Moog authored
      * Feat: started reworking output model
      
      * Refactor: refactored some of the model
      
      * Refactor: started to refactor some additional models
      
      * Refactor: started to refactor message layer
      
      * Refactor: still refactoring :/
      
      * Refactor: refactored some more
      
      * Refactor: some error messages are gone YAY
      
      * Refactor: refactor complete
      b9404478
  22. Mar 26, 2020
    • Hans Moog's avatar
      Feat: merged latest changes · 0a4e09aa
      Hans Moog authored
      0a4e09aa
    • Jonas Theis's avatar
      Move marshalutil to hive.go (#303) · 6bd8e421
      Jonas Theis authored
      * Move marshalutil to hive.go
      
      * Adjust moved files from merge to use hive.go/marshalutil
      
      * Update go.mod
      
      * Change to use hive.go/marshalutil
      
      * Update go.mod
      6bd8e421
    • Hans Moog's avatar
      Modifications due to hive.go objectstorage refactor (#306) · 4204a171
      Hans Moog authored
      * Feat: initial commit
      
      * Feat: Added Consumer model and fixed some smaller issues in Attachment
      
      * Feat: Consumers get stored on transaction arrival
      
      * Feat: added TransactionMetadata to solidifer
      
      * Refactor: started refactoring according to hive.go changes
      
      * Feat: upgrade to latest hive.go
      
      * Fix: fixed some errors after refactor
      
      * Refactor: refactored factory method signature
      
      * Fix: fixed some bugs
      
      * Fix: more fixes
      
      * Fix: fixed some more stuff
      4204a171
    • capossele's avatar
      :arrow_up: adds drand dependency · b7a3eb44
      capossele authored
      b7a3eb44
  23. Mar 25, 2020
  24. Mar 23, 2020
    • Wolfgang Welz's avatar
      Feat: Use autopeering update (#302) · 1844afac
      Wolfgang Welz authored
      * upgrade hive.go
      
      * adapt to hive autopeering changes
      
      * use fixed version
      
      * check for valid gossip service
      
      * fix linter warnings
      
      * use netutil to check port number
      
      * clean up code
      
      * adjust autopeering port check
      
      * update hive.go
      
      * use a new discovery instance
      
      * set network ID
      
      * increase DB version
      
      * upgrade hive.go
      1844afac
  25. Mar 19, 2020
  26. 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
      682a9a1b
  27. Mar 05, 2020
  28. Mar 04, 2020
Loading