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
    • Jonas Theis's avatar
      Move datastructures to hive.go (#724) · 6518b46d
      Jonas Theis authored
      * Update to latest hive.go changes
      
      * Move datastructures from GoShimmer to hive.go
      6518b46d
    • 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. Aug 24, 2020
  6. Jul 28, 2020
  7. Jul 25, 2020
    • Angelo Capossele's avatar
      minor improvements (#672) · 97fd9862
      Angelo Capossele authored
      * :wrench: Add syncbeacon to config
      
      * :recycle: Refactor syncbeaconfollower
      
      * Fix syncbeacon integration test
      
      * :bug: Fix double-spend tool
      
      * :lipstick: Fix analysis dashboard title
      
      * :construction: Add Shutdown method to messageRequester
      
      * :poop: Dirty FCOB shutdown fix
      
      * :loud_sound: Add debug logs for message tangle shutdown
      
      * :pencil2: Fix typo
      
      * :bug:
      
       Fix message Tangle objects released
      
      * Load all missing messages into message requester on startup
      
      * Fix pointer issue for anonymous function
      
      * Fix consensus integration test
      
      Co-authored-by: default avatarjonastheis <mail@jonastheis.de>
      97fd9862
  8. 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
  9. Jul 21, 2020
    • Angelo Capossele's avatar
      Add sendTransactionByJson API (#641) · f5bfc7f7
      Angelo Capossele authored
      * :sparkles: Add sendTransactionByJson API
      
      * :sparkles: Add SendTransactionByJson to the client lib
      
      * :rotating_light: Fix linter warnings
      
      * :recycle: Make data field a slice of bytes
      
      * :sparkles: Add signatures getter
      
      * :pencil2: Fix typo
      f5bfc7f7
  10. 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
  11. Jul 16, 2020
  12. Jul 09, 2020
  13. Jul 01, 2020
  14. Jun 29, 2020
  15. Jun 26, 2020
  16. Jun 25, 2020
    • Luca Moser's avatar
      Enriches the message dashboard page with additional fields (#554) · b26c1140
      Luca Moser authored
      * adds missing port to default bind address
      
      * defer backgroundworker stop log
      
      * terminate bootstrapper first
      
      * fix weird background worker name
      
      * fix msg metadata not getting released, add msg timestamp to explorer msg
      
      * adds additional fields to the message view on the dashboard
      b26c1140
    • Ching-Hua (Vivian) Lin's avatar
      feat: Implement faucet dApp (#531) · a15f2729
      Ching-Hua (Vivian) Lin authored
      * Feat: Integrate faucet page to SPA plugin
      
      * Feat: Add Link to get txn of issued address
      
      * Feat: Add faucet payload
      
      * Feat: Add faucet plugin and minor tweaks
      
      * Fix: Check payload type after the txn is solid
      
      * Fix: Update package name
      
      * Fix: Fix payload test
      
      * Test: Add faucet test
      
      * Refactor: Minor tweaks in plugin/faucet.go
      
      * Feat: Add faucet webapi
      
      * Feat: Apply faucet plugins
      
      * Feat: Apply messagefactory and update to latest develop
      
      * Fix: Fix import error
      
      * Fix: Fix tests in binary/faucet
      
      * Feat: Integrate faucet page to SPA plugin
      
      * Feat: Add Link to get txn of issued address
      
      * Feat: Add faucet payload
      
      * Feat: Add faucet plugin and minor tweaks
      
      * Fix: Check payload type after the txn is solid
      
      * Fix: Update package name
      
      * Fix: Fix payload test
      
      * Test: Add faucet test
      
      * Refactor: Minor tweaks in plugin/faucet.go
      
      * Feat: Add faucet webapi
      
      * Feat: Apply faucet plugins
      
      * Feat: Apply messagefactory and update to latest develop
      
      * Fix: Fix import error
      
      * Fix: Fix tests in binary/faucet
      
      * refactor: Update to latest usage
      
      * fix: Update go.mod, go.sum
      
      * refactor: Disable faucet plugin by default
      
      * fix: Update to latest changes
      
      * feat: Add faucet payload layout
      
      * refactor: Move faucet to dapps
      
      * feat: Enable the faucet to send funds :sparkles:
      
      * Fix: fix tests
      
      * fix: Fix test
      
      * fix: Initiate LedgerState
      
      * Update packr on dashboard
      
      * refactor: refactor SendFunds in faucet dapp
      
      * feat: Add faucet integration test
      
      * feat: Add faucet integration test to script
      
      * doc: Add function descriptions
      
      * fix: fix wrong parameter in CheckBalances
      
      * fix: fix :dog:
      
      * fix some stuff
      
      * make the faucet configurable via CLI flags
      
      * make the faucet seed a parameter in the integration tests
      
      * activate the faucet on the peer master in docker-network
      
      * fixes wrong address route in faucet view
      
      * improves faucet processing log message
      
      * fix log messages in faucet dapp
      
      * improve error message further
      
      * fixes unit tests
      
      * adds tool to auto. gen. address
      
      * dog
      
      * wait for faucet funding tx to get booked before processing the next request
      
      * make the dog stay silent
      
      * decrease pow difficulty to 1 in int. tests
      
      * use 4 as the pow difficulty in integration tests
      
      * :dog:
      
      
      
      * fix integration tests
      
      * dec. pow diff to 1
      
      * use 0 for the faucet integration test
      
      * use a worker pool to serve faucet funding requests
      
      Co-authored-by: default avatarLuca Moser <moser.luca@gmail.com>
      a15f2729
    • Acha Bill's avatar
      Make singleton instances on plugins only accessible through getters (#477) · 68fdcf49
      Acha Bill authored
      
      * refactor plugins
      
      * fix fmt
      
      * fix compile err
      
      * fix errors
      
      * expose singletons via sync.once
      
      * re-disable remotelog and webauth plugins
      
      * re-enable autopeering plugin
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      
      * add descriptive comments for getters
      
      Co-authored-by: default avatarLuca Moser <moser.luca@gmail.com>
      68fdcf49
    • Wolfgang Welz's avatar
  17. Jun 24, 2020
  18. Jun 23, 2020
  19. Jun 22, 2020
    • Angelo Capossele's avatar
      Adds new analysis-dashboard, improves analysis server, adds proper metrics... · f4b7f3f8
      Angelo Capossele authored
      Adds new analysis-dashboard, improves analysis server, adds proper metrics collection and Prometheus exporter (#502)
      
      * :recycle: Clean up
      
      * :white_check_mark: Add TestCalculateBranchOfTransaction
      
      * :rocket: Upgrade fpc dashboard
      
      * :whale: Fix docker-compose
      
      * :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
      
      * ja nei was gaht dän da ab
      
      * :construction: Make FPCHeartbeat smaller
      
      * :construction: Split vote context to fit into an FPC update
      
      * :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
      
      * :card_box: Add FPC analysis data persistence
      
      * :sparkles: Add Prometheus
      
      * :white_check_mark: Update FPC test
      
      * :rotating_light: Remove linter warning
      
      * :rotating_light: Remove linter warnings
      
      * :recycle: Fix event closure
      
      * :wrench: Add prometheus config
      
      * 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
      
      * :construction: WIP
      
      * :whale: update docker-network entry node
      
      * :see_no_evil: Add .gitignore
      
      * :chart_with_upwards_trend: Update Prometheus
      
      * :bug: Fix MongoDB ctx bug
      
      * WIP propagation tests and fix bugs
      
      * :fire: Delete finalized conflicts
      
      * 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
      
      * Initial commit for metrics collections package
      
      * Clean up propagation tests
      
      * Feat: fixed bugs
      
      * Feat: enabled missing tests
      
      * Add some documentation and missing checks for aggregated branches
      
      * :construction: WIP
      
      * Clean up tangle tests
      
      * adds snapshot type
      
      * Fix: finalized wasn't propagated when a branch was rejected
      
      * Skeleton for implementation
      
      * Measure isSynced
      
      * UI Improvements
      
      * Make it compile
      
      * Measure TPS in value tangle
      
      * implements ReadFrom and WriteTo for Snapshot
      
      * read in snapshot file if snapshot path is defined
      
      * renames snapshot test file
      
      * :construction: WIP metrics
      
      * Measure Tips in value tangle
      
      * :chart_with_upwards_trend: Add DBSize metric
      
      * WIP debugging concurrency bug of death
      
      * Measure tips in message tangle
      
      * :chart_with_upwards_trend: Add AvgNeighborConnectionLifeTime metric
      
      * :arrow_up: Bump hive.go
      
      * :chart_with_upwards_trend: Add autopeering distance metric
      
      * Feat: added more reliable fails in test case
      
      * Fix: fixes a race condition in solidification
      
      * :chart_with_upwards_trend: Add gossip network traffic metric
      
      * 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
      
      * Measure MPS per payload type
      
      * Measure (cumulative) total msg count and per payload
      
      * Measure FPC number of currently active conflicts
      
      * lower amount of peers
      
      * Package updates
      
      * :tada: Link valuetransfer+FPC+dashboard
      
      * :package: Update packr
      
      * :bug: Fix logo
      
      * 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
      
      * :sparkles: Add double spend test
      
      * :arrow_up: Update hive.go
      
      * readd all tests again
      
      * :chart_with_upwards_trend: Add AnalysisOutboundBytes metric
      
      * :arrow_up: Update go.mod
      
      * :chart_with_upwards_trend: Start setting prometheus metrics
      
      * reset integration framework paras
      
      * :whale: Update docker-compose
      
      * :whale: Fix typo
      
      * :construction: WIP
      
      * :whale: Update docker-compose
      
      * :arrow_up: Bump golang version
      
      * :bug: Fix snapshot file print
      
      * :wrench: Change client url for testing
      
      * :bug: Remove pflag double import
      
      * OpinionEvent struct for calling Finalized and Failed vote events
      
      * Measure finalized/failed conflicts + average rounds of finalization
      
      * refactor: Remove FPC page from dashboard
      
      * refactor: Remove Drng link from dashboard
      
      * :chart_with_upwards_trend: Add autopeering network traffic metric
      
      * :whale: Bump up golang version
      
      * :construction: WIP
      
      * Measure voting queries (received, unreplied) and number of opinions
      
      * :sparkles: Add sendPayload API
      
      * :zap: Avoid sending empty rounds
      
      * :chart_with_upwards_trend: Add a bunch of metrics to prometheus
      
      * Feat: outputs inherit status of transaction
      
      * :construction: Add Grafana integration
      
      * Refactor: fixed erroneous rename
      
      * :construction: WIP
      
      * Fix: fixed missing marshaling of output bools
      
      * Fixes after merge
      
      * :bug: Fix some bugs
      
      * :chart_with_upwards_trend: Prometheus FPC data collection
      
      * :art: Small fixes
      
      * Fix: fixed decision pending
      
      * :chart_with_upwards_trend: Prometheus Tangle metrics data collection
      
      * :recycle: Refactor FPC metric events
      
      * :arrow_up: Bump up hive.go
      
      * :sparkles: Add metric heartbeat packet
      
      * :chart_with_upwards_trend: Add clients metrics collection via the analysis server
      
      * :construction: WIP
      
      * Prometheus clients info
      
      * Fix metrics config + enable prometheus collection on entry_node
      
      * use new protocol
      
      * wip: redial on lost connection
      
      * assure conn is not nil
      
      * close on write
      
      * Fix bugs + enable spammer on peer_master
      
      * Fix analysis fpc livefeed bug
      
      * connector cleanup
      
      * :chart_with_upwards_trend: Autopeering NeighborCount + Network Diameter metrics
      
      * do not log the dial error since the logger might not available
      
      * removes test snapshot plugin
      
      * :zap: Improve analysis-server
      
      * :loud_sound: Change log to debug level
      
      * graph pkg from autopeering-sim
      
      * Remove debug line + hive.go update
      
      * :arrow_up: Change hive.go version
      
      * get rid of test snapshot plugin
      
      * fixes wrong use of Println
      
      * removes random tool
      
      * :bug: Move conn initialization
      
      * removes duplicated value entry in GH CI workflows
      
      * :arrow_up: Update hive.go
      
      * :recycle: Clean go.mod
      
      * :rotating_light: Fix graph pkg linter warnings
      
      * :recycle: improve analysis plugin
      
      * :rotating_light: Fix metrics plugin linter warning
      
      * xxx
      
      * wip
      
      * fixes integration test
      
      * :chart_with_upwards_trend: Add FPC global metrics to prometheus
      
      * :bug: Fix double register
      
      * :rotating_light: Fix client pkg linter warning
      
      * :rotating_light: Fix webapi linter warnings
      
      * :ambulance: Run you fools!
      
      * :white_check_mark: Fix testutil import
      
      * Adjust inbox worker pool capacity to default
      
      * Adjust inbox worker pool capacity to default (#505)
      
      * :ok_hand: Address PR review comments
      
      * :dog: Fix watch dog warnings
      
      * :bone: Let's try with a new bone for the dog now..
      
      * upgrade hive.go to master
      
      * :bug: Fix local dashboard
      
      * :zap: Improves mongoDB reliabilty
      
      * :rotating_light: Fix linter warnings
      
      * :white_check_mark: Fix test
      
      * :chart_with_upwards_trend: Make dbSize a prometheus Gauge
      
      * :recycle:
      
       Remove unecessary initialization
      
      * introduce worker pool for storing finalized vote ctxs
      
      * Update packr
      
      * type alias FPCRecords to []FPCRecord
      
      Co-authored-by: default avatarjonastheis <mail@jonastheis.de>
      Co-authored-by: default avatarHans Moog <hm@mkjc.net>
      Co-authored-by: default avatarjkrvivian <jkrvivian@gmail.com>
      Co-authored-by: default avatarLuca Moser <moser.luca@gmail.com>
      Co-authored-by: default avatarLevente Pap <levente.pap@iota.org>
      Co-authored-by: default avatarMartyn Janes <martyn@obany.com>
      Co-authored-by: default avatarWolfgang Welz <welzwo@gmail.com>
      f4b7f3f8
  20. 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
  21. Jun 18, 2020
  22. Jun 17, 2020
Loading