- Jun 22, 2020
-
-
Angelo Capossele authored
Adds new analysis-dashboard, improves analysis server, adds proper metrics collection and Prometheus exporter (#502) *
Clean up * Add TestCalculateBranchOfTransaction * Upgrade fpc dashboard * Fix docker-compose * Add TestMoveTransactionToBranch * Add TestFork * Add TestBookPayload * Add test for checkPayloadSolidity * Add TestSetTransactionPreferred * Add more tests * 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 * Add test for 2nd Reattachment * feat: Add first value transfer integration test * fix: fix wrong plugin name * Add aggregated branches test cases * Feat: added a method to generate AggregatedBranchIDs * 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 * Make FPCHeartbeat smaller * Split vote context to fit into an FPC update * 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 * Add FPC analysis data persistence * Add Prometheus * Update FPC test * Remove linter warning * Remove linter warnings * Fix event closure * 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 * WIP * update docker-network entry node * Add .gitignore * Update Prometheus * Fix MongoDB ctx bug * WIP propagation tests and fix bugs * 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 * 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 * WIP metrics * Measure Tips in value tangle * Add DBSize metric * WIP debugging concurrency bug of death * Measure tips in message tangle * Add AvgNeighborConnectionLifeTime metric * Bump hive.go * Add autopeering distance metric * Feat: added more reliable fails in test case * Fix: fixes a race condition in solidification * 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 * Link valuetransfer+FPC+dashboard * Update packr * 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 * Add double spend test * Update hive.go * readd all tests again * Add AnalysisOutboundBytes metric * Update go.mod * Start setting prometheus metrics * reset integration framework paras * Update docker-compose * Fix typo * WIP * Update docker-compose * Bump golang version * Fix snapshot file print * Change client url for testing * 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 * Add autopeering network traffic metric * Bump up golang version * WIP * Measure voting queries (received, unreplied) and number of opinions * Add sendPayload API * Avoid sending empty rounds * Add a bunch of metrics to prometheus * Feat: outputs inherit status of transaction * Add Grafana integration * Refactor: fixed erroneous rename * WIP * Fix: fixed missing marshaling of output bools * Fixes after merge * Fix some bugs * Prometheus FPC data collection * Small fixes * Fix: fixed decision pending * Prometheus Tangle metrics data collection * Refactor FPC metric events * Bump up hive.go * Add metric heartbeat packet * Add clients metrics collection via the analysis server * 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 * Autopeering NeighborCount + Network Diameter metrics * do not log the dial error since the logger might not available * removes test snapshot plugin * Improve analysis-server * Change log to debug level * graph pkg from autopeering-sim * Remove debug line + hive.go update * Change hive.go version * get rid of test snapshot plugin * fixes wrong use of Println * removes random tool * Move conn initialization * removes duplicated value entry in GH CI workflows * Update hive.go * Clean go.mod * Fix graph pkg linter warnings * improve analysis plugin * Fix metrics plugin linter warning * xxx * wip * fixes integration test * Add FPC global metrics to prometheus * Fix double register * Fix client pkg linter warning * Fix webapi linter warnings * Run you fools! * Fix testutil import * Adjust inbox worker pool capacity to default * Adjust inbox worker pool capacity to default (#505) * Address PR review comments * Fix watch dog warnings * Let's try with a new bone for the dog now.. * upgrade hive.go to master * Fix local dashboard * Improves mongoDB reliabilty * Fix linter warnings * Fix test * Make dbSize a prometheus Gauge * Remove unecessary initialization * introduce worker pool for storing finalized vote ctxs * Update packr * type alias FPCRecords to []FPCRecord Co-authored-by:jonastheis <mail@jonastheis.de> Co-authored-by:
Hans Moog <hm@mkjc.net> Co-authored-by:
jkrvivian <jkrvivian@gmail.com> Co-authored-by:
Luca Moser <moser.luca@gmail.com> Co-authored-by:
Levente Pap <levente.pap@iota.org> Co-authored-by:
Martyn Janes <martyn@obany.com> Co-authored-by:
Wolfgang Welz <welzwo@gmail.com>
-
- Jun 21, 2020
-
-
Wolfgang Welz authored
-
- Jun 19, 2020
-
-
Levente Pap authored
-
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 *
adds orderedMap unit tests * Fix linter warnings * test: Add queue unit tests * Add more tests * Adjust imports order * WIP more tests * Add TestBookTransaction * Update TestBookTransaction * Add more tests * WIP tests * Add TestCalculateBranchOfTransaction * Add TestMoveTransactionToBranch * Add TestFork * Add TestBookPayload * Add test for checkPayloadSolidity * Add TestSetTransactionPreferred * Add more tests * 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 * Add test for 2nd Reattachment * feat: Add first value transfer integration test * fix: fix wrong plugin name * Add aggregated branches test cases * Feat: added a method to generate AggregatedBranchIDs * Use GenerateAggregatedBranchID in test * Feat: refactored delete logic * Fix: fixed broken test * Feat: added final test cases for invalid txs / payloads * 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:Hans Moog <hm@mkjc.net> Co-authored-by:
Wolfgang Welz <welzwo@gmail.com> Co-authored-by:
jonastheis <mail@jonastheis.de> Co-authored-by:
capossele <angelocapossele@gmail.com> Co-authored-by:
jkrvivian <jkrvivian@gmail.com>
-
Levente Pap authored
*
Add sendPayload API * WIP * Fix webapi linter warnings * Fix after cherry-pick * Fix linter Co-authored-by:capossele <angelocapossele@gmail.com>
-
- Jun 18, 2020
-
-
Luca Moser authored
-
Ching-Hua (Vivian) Lin authored
* feat: Add first value transfer integration test * fix: fix wrong plugin name * 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 * refactor: refactor balance list update method * feat: Add inclusion states to weapis * refactor: Rename Conflict to Rejected * refactor: Remove unused parameter * refactor: Simplify colored token test and increase waiting time * fix: fix updateBalanceList * fix: enable testsnapshots plugin for each peer * refactor: Rename package name of each tests * refactor: Rename functions and add more comments * refactor: Add maxRetry to limit to avoid infinte loop and reduce else statement * refactor: Refactor functions and remove redundant codes * refactor: Rename shadowing variables * test: Add value test in runTest.sh * fixes some func comments * increase startup time to make up for slow CI Co-authored-by:
Luca Moser <moser.luca@gmail.com>
-
- Jun 17, 2020
-
-
Jonas Theis authored
* Create base for little dapp to measure actual network delay * Adjust remote log to support additional messages * Send network delay objects via remote log functionality * Create wrapper for remote logger connection for easier use * Add check for issuer public key * Disable debug log in Logstash * Disable debug log in Logstash * Bind host time into containers
-
- Jun 16, 2020
-
-
Jonas Theis authored
-
- Jun 15, 2020
-
-
Ching-Hua (Vivian) Lin authored
* feat: Add inclusion states to weapis * refactor: Rename Conflict to Rejected
-
- Jun 12, 2020
-
-
Angelo Capossele authored
*
Fix enabled/disabled plugins spelling * Fix publicKey camelCase -
Acha Bill authored
* sort enabled/disabled plugins list in info api * use node.IsSkipped
-
- Jun 11, 2020
-
-
Hans Moog authored
* Feat: updated to latest hive.go * Fix: fixed bugs related to api change * Feat: bump integration tests Co-authored-by:
Hans Moog <hm@mkjc.net>
-
- Jun 10, 2020
-
-
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
-
Levente Pap authored
* Update Autopeering Visualizer * Display online nodes in Wordcloud * Refactor NodeView layout * Display only shortened nodeID-s (first 8 chars) * Refactor * Frontend updates, remove wordcloud * wordcloud consumes too much resources, removed for smooth graph updates. * Add more colors to NodeView * Update packr2
-
- Jun 09, 2020
-
-
Luca Moser authored
-
Acha Bill authored
* add healthz endpoint * fix comment
-
dependabot[bot] authored
* Bump websocket-extensions in /plugins/analysis/dashboard/frontend Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. - [Release notes](https://github.com/faye/websocket-extensions-node/releases) - [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md) - [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4 ) Signed-off-by:
dependabot[bot] <support@github.com> * Bump websocket-extensions in /plugins/analysis/dashboard/frontend Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. - [Release notes](https://github.com/faye/websocket-extensions-node/releases) - [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md) - [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4 ) Signed-off-by:
dependabot[bot] <support@github.com> *
Update packr Co-authored-by:dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
capossele <angelocapossele@gmail.com>
-
dependabot[bot] authored
* Bump websocket-extensions in /plugins/dashboard/frontend Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. - [Release notes](https://github.com/faye/websocket-extensions-node/releases) - [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md) - [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4 ) Signed-off-by:
dependabot[bot] <support@github.com> *
Update packr Co-authored-by:dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
capossele <angelocapossele@gmail.com>
-
- Jun 08, 2020
-
-
Levente Pap authored
-
- Jun 02, 2020
-
-
jkrvivian authored
* fix: Fix bugs while enabling value transfer *
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 * refactor: Fix * 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 * Fix FPC round initiator * Fix backgroundWorker name * Adjust imports order * Wait for autopeering when node starts * Fix background worker name conflict with message tangle * Use Voter() * Re-fix ValueTangle BackgroundWorker name Co-authored-by:capossele <angelocapossele@gmail.com> Co-authored-by:
jonastheis <mail@jonastheis.de>
-
Angelo Capossele authored
*
Add panic if backgroundWorker fails * Use log.Panicf instead of panic
-
- May 29, 2020
-
-
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:
Angelo Capossele <angelocapossele@gmail.com>
-
- May 28, 2020
-
-
jkrvivian authored
* 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
* refactor: Fix * refactor: Rename api route of testSendTxn to camel case
-
- May 25, 2020
-
-
Wolfgang Welz authored
* adapt to new hive.go version * upgrade hive.go * use store backed sequence * add option to use in-memory database * address review comments
-
- May 14, 2020
-
-
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
-
jkrvivian authored
* fix: Rename SPA to dashboard and disable portcheck of peer_replica * feat: Add data & unknown type of payload to dashboard * refactor: Implement paylaod interface that allows different json structs * feat: Implement Drng paylaod * refactor: Use Listgroup for layout consistency * doc: Add description * feat: Implement Value payload handler * feat: Add Value payload layout * refactor: Refactor payload layouts * refactor: Remove debug print out * fix: Remove redundant assignment * refactor: Fix
* refactor: Fix
-
- May 13, 2020
-
-
Jonas Theis authored
-
Luca Moser authored
-
- May 08, 2020
-
-
dependabot[bot] authored
* Bump jquery from 3.4.1 to 3.5.0 in /plugins/dashboard/frontend Bumps [jquery](https://github.com/jquery/jquery) from 3.4.1 to 3.5.0. - [Release notes](https://github.com/jquery/jquery/releases) - [Commits](https://github.com/jquery/jquery/compare/3.4.1...3.5.0 ) Signed-off-by:
dependabot[bot] <support@github.com> *
upgrades frontend dependencies and re-packr2 Co-authored-by:dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
capossele <angelocapossele@gmail.com>
-
- May 07, 2020
-
-
Levente Pap authored
* Refactor gracefulshutdown plugin * Remove reporting hanging workers * Add ShutdownWithError() func to trigger graceful shutdown from outside of the package with error message * Simplify code * Increase forcekill timeout to 60 seconds * Add back reporting of hanging workers * Upgrade hive.go * go mod tidy Co-authored-by:
Wolfgang Welz <welzwo@gmail.com>
-
Levente Pap authored
* Fix #355 Terminate GoShimmer without config file - `skip-config` flag to bypass check and supply values from cli * Remove empty line * Add some comments * change termination comment * lower case beginning of comments * Don't mount config file into docker container by default * Integration tests skip config file check * Add flags for logger config * Log at debug level for integration tests * Update hive.go to latest version * upgrade hive.go Signed-off-by:
Wolfgang Welz <welzwo@gmail.com> Co-authored-by:
Luca Moser <moser.luca@gmail.com> Co-authored-by:
jonastheis <mail@jonastheis.de> Co-authored-by:
Wolfgang Welz <welzwo@gmail.com>
-
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
-
- Apr 30, 2020
-
-
Luca Moser authored
-
Luca Moser authored
* adds bootstrap plugin * check sync state in sync-integration test * adds synced and bootstrapping plugin to integration test networks * fix
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 -
Wolfgang Welz authored
* adapt to hive.go autopeering events changes * add exposed function to start autopeering neighbor selection * start autopeering neighbor selection when gossip is started * update go modules * Apply suggestions from code review Co-Authored-By:
Angelo Capossele <angelocapossele@gmail.com> * fix build errors Co-authored-by:
Angelo Capossele <angelocapossele@gmail.com>
-
Angelo Capossele authored
*
fix linter warnings * fix import order
-
- Apr 29, 2020
-
-
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
-
Wolfgang Welz authored
* remove submodules * remove graph plugin * remove graph plugin from configs and texts
-
- Apr 28, 2020
-
-
Luca Moser authored
* visualizer-skeleton * adds limit, metrics, pause/resume, approvers/approvees coloring * prevent ws msg drop on certain msg types * build n' pack * adds search, background data collection stop button *
* cleanup * defer detach visualizer events
-