Skip to content
Snippets Groups Projects
  1. Jun 24, 2020
    • Levente Pap's avatar
      Grafana datasource and dashboard provisioning, initial versions (#532) · 0b83c7ec
      Levente Pap authored
      * :wrench: Grafana datasource and dashboard provisioning
      
       - Datasource (Prometheus) definition for docker network
       - Local and global dashboard stored as JSON in repo
      
      Warning: If you make change to the datasources or dashboards in
      Grafana UI and save them (to grafana.db), these definitions will
      be overwritten upon start.
      Export dashboards as JSON and update their files!
      
      * :lipstick: Update grafana dashboard
      Unverified
      0b83c7ec
    • 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>
      Unverified
      f4711320
  2. 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>
      Unverified
      f4b7f3f8
  3. Jun 16, 2020
  4. 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
      Unverified
      df5b6b25
  5. 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>
      Unverified
      85e92abc
  6. May 29, 2020
    • Levente Pap's avatar
      Analysis Dashboard & Autopeering Visualizer Migration (#439) · eaa345e4
      Levente Pap authored
      
      * Transition to Analysis Dashboard for visualization
      
       * Add FPC heartbeat changes to analysis plugin
       * Introduce Dashboard for analysis related visualization
       * Refactor Analysis Dashboard backend
       * Prepare base of frontend
       * Add skeleton of AutopeeringStore in frontend
      
      * Update analysis dashboard frontend dependencies
      
      * Remove old analysis webinterface
      
      * Remove unnecessary components from analysis dashboard
      
      * Remove analysis webinterface from pluginmgr
      
      * Analysis Dashboard Frontend updates for autopeering
      
      * Use base58 encoding for autopeering node ID visualization
      
      * Add Ping WS message to analysis dashboard
      
      * Frontend visuals update
      
      * AutopeeringStore updates
       * Graph mouse hover highlighting
       * Fill graph with data upon rendering
       * Dynamic node spacing in graph based on number of nodes
       * Added code comments for readability
      
      * packr config updates
      
      * Websocket connection lost warning in frontend
      
      * Update title of index.html
      
      * packr update for analysis dashboard
      
      * Update frontend README
      
      * Update default config: webinterface -> dashboard
      
      * Fix linter warnings
      
      * Delete package-lock.json
      
      * Frontend updates
       * Size of vertices enlarges during selection
       * Decrease visibility of not highlighted links
       * Fixed layout for react components with auto overflow (no jumping)
      
      * Disable Analysis-Dashboard plugin by default
      
      * Adjust docker container configs for analysis dashboard
      
      Co-authored-by: default avatarAngelo Capossele <angelocapossele@gmail.com>
      Unverified
      eaa345e4
  7. May 13, 2020
  8. May 07, 2020
    • Luca Moser's avatar
      Refactors analysis plugins (#403) · 6d3b2a2c
      Luca Moser authored
      * normalize bind addresses prints
      
      * refactors analysis plugins
      
      * adds tests for parsing/serializing heartbeat packets
      
      * adds additional test case
      
      * normalize usage of word 'ids'
      
      * updates packr files
      
      * normalizes handler routes for static assets for the analysis web interface
      
      * normalize config key names
      
      * adjusts configs for new analysis config keys
      
      * fixes review comments
      Unverified
      6d3b2a2c
  9. Apr 30, 2020
    • Luca Moser's avatar
      Adds bootstrap/sync/issuer plugin (#390) · e8b6b9e5
      Luca Moser authored
      * adds bootstrap plugin
      
      * check sync state in sync-integration test
      
      * adds synced and bootstrapping plugin to integration test networks
      
      * fix :dog:comments
      
      * re-introduce go.mod into integration test dir
      
      * adds desynchronization monitor
      
      * adds shutdown priority for bootstrap plugin bk. worker
      
      * give the dog some pedigree
      
      * adds anchor point cleanup interval
      
      * fix review dog comments
      
      * go mod tidy powered by Marie Kondo
      Unverified
      e8b6b9e5
    • jkrvivian's avatar
      fix: Fix docker_network (#389) · 1bee2c81
      jkrvivian authored
      * fix: Rename SPA to dashboard and disable portcheck of peer_replica
      
      * fix: Remove gossip from disablePlugins of entry node
      Unverified
      1bee2c81
  10. Apr 23, 2020
    • Jonas Theis's avatar
      Flexible integration tests (#339) · dcfd8db9
      Jonas Theis authored
      * Introduce concept of networks
      
      * Adjust tests to use flexible Docker networks
      
      * Adjust test execution workflow
      
      * Separately build GoShimmer Docker image
      
      * Generate identities to create containers from seeds
      
      * Move Docker network functionality
      
      * Add comments and docs
      
      * Update readme
      
      * Update readme
      
      * Address PR comments
      
      * Use log instead of fmt
      
      * Introduce proper error handling
      
      * Use named return for error
      Unverified
      dcfd8db9
  11. Apr 16, 2020
    • Jonas Theis's avatar
      Integration tests (#312) · 14948393
      Jonas Theis authored
      * Add docker compose for running integration tests.
      Runs entry_node and arbitrary number of peers in docker network
      
      * Fix permission denied in container if run without mounting a `rw` volume making it possible to run as throw-away container.
      Remove `VOLUME` from Dockerfile as this only pollutes host system with anonymous volumes.
      
      * Use named network for easier external use
      
      * Add test container that discovers peers and waits for autopeering to happen
      
      * Fix min waitForNeighbors
      
      * Add go.sum
      
      * Run integration tests with Github Actions
      
      * Added framework that abstracts the docker network and provides convenience functionality
      
      * Update directory in Github Actions
      
      * Add bash script for automated local test execution
      
      * Add getMessageByHash endpoint
      
      * Adjust to merge changes
      
      * Add methods to easily do HTTP POST requests
      
      * Added relay message test
      
      * Increase client timeout
      
      * Verbose output for tests makes it easier to follow the execution
      
      * Introduce small API wrapper for GoShimmer HTTP API
      
      * Adjust relay test to use new API wrapper
      
      * WIP: Docker logs
      
      * Fix issue with serving visualizer analysis server of entry node
      
      * Persist logs of containers after CI run
      
      * Fix test file
      
      * Fix uploading of artifacts
      
      * Save all containers' logs as artifacts
      
      * Create logs files also with local run
      
      * Add possibility to retrieve logs from a peer via Docker logs
      
      * Make tester part of the goshimmer module to make code sharing possible
      
      * Use client/lib to make HTTP requests in tester
      
      * Fix unit test directory
      
      * Add comments/doc to the code
      
      * Add readme
      
      * Move tester to own module and don't build container but use existing golang one instead
      
      * Address PR comments
      
      * Adjust to merge
      
      * Only use 1 config file for all containers
      
      * go mod tidy
      
      * Rename client lib base url
      Unverified
      14948393
Loading