- Apr 16, 2020
-
-
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
-
- Mar 19, 2020
-
-
Wolfgang Welz authored
* Fix/upgrade packr (#291) *
⬆️ upgrades packr *♻️ go mod tidy * Fix/upgrade yaml (#293) *⬆️ upgrades packr *♻️ go mod tidy *⬆️ upgrades js-yarn *⬆️ upgrades js-yaml Co-authored-by:Wolfgang Welz <welzwo@gmail.com> * Fix: docker stuff (#296) *
🐳 fixes Dockerfile and docker-compose.yml *🐳 improves docker-compose *🔧 restores config.json *🔧 removes config.default.json * Prepare v0.1.3 (#297) * update CHANGELOG Co-authored-by:Angelo Capossele <angelocapossele@gmail.com>
-
- Feb 25, 2020
-
-
Hans Moog authored
* Feat: started to merge changes * Refactor: moved parameter package to be a plugin (same with logger) * Feat: first compiling version of new ontologoies merge * Feat: ported additional plugins * Feat: transaction get solid now * Refactor: reverted some previous changes from debugging * Feat: added a banner module for the cli interface * Feat: added a plugin for the port checks * Feat: fixed some bugs * Refactor: reverted some changes * Feat: reworked TransactionParser to use Errors * Feat: TransactionParser uses Peer * Feat: started to rework broadCastData webapi call * Feat: refactored some plugins * Fix: fixed test of tangle * Refactor: changed tangle package in graph plugin * Refactor: uncommented broken code * Fix: fixed broken method signature in gossip test * Feat: started adding value tangle * Feat: adjusted to new hive.go * Feat: upgraded hive.go * Clean up PortCheck plugin and make it standalone #259 (#271) Co-authored-by:
Hans Moog <hm@mkjc.net> Co-authored-by:
Jonas Theis <mail@jonastheis.de>
-
- Feb 22, 2020
-
-
Hans Moog authored
-
- Feb 17, 2020
-
-
Hans Moog authored
-
- Feb 12, 2020
-
-
Wolfgang Welz authored
* use autopeering from hive.go * update hive.go
-
- Feb 04, 2020
-
-
Hans Moog authored
* Fix: fixed long locks when replaying events * Feat: fixed locks in replay method * Refactor: undone accidental rename * Feat: WebSocketChannel can be shutdown now * Fix: fixed return variables overriding access to global vars
-
- Jan 31, 2020
-
-
capossele authored
-
Luca Moser authored
-
- Jan 30, 2020
-
-
jonastheis authored
Based on Olaz' one but completely rewritten in ES6 to make it more modular, maintainable and faster
-
- Jan 28, 2020
-
-
capossele authored
-
- Jan 27, 2020
-
-
Angelo Capossele authored
-
- Jan 24, 2020
-
-
capossele authored
-
Angelo Capossele authored
-
capossele authored
-
capossele authored
-
capossele authored
-
Wolfgang Welz authored
* configure bind and external address * Move bind and external to network * Ignore empty seed * Update default config * Add bind address config for analysis http server * Make graph config consistent * Add bind address to dashboard * Do not print config on startup * Apply suggestions from code review Co-Authored-By:
Luca Moser <moser.luca@gmail.com> * Apply suggestions from code review Co-Authored-By:
Luca Moser <moser.luca@gmail.com> Co-authored-by:
Luca Moser <moser.luca@gmail.com>
-
capossele authored
-
capossele authored
-
- Jan 23, 2020
- Jan 22, 2020
-
-
Wolfgang Welz authored
-
Angelo Capossele authored
-
capossele authored
-
- Jan 20, 2020
-
-
Luca Moser authored
* refactors errors * fmt packages/model/error.go
-
- Jan 17, 2020
-
-
Wolfgang Welz authored
* fix: ignore rejected peering requests * Do not store local services in DB
-
- Jan 15, 2020
-
-
Luca Moser authored
Signed-off-by:
Luca Moser <moser.luca@gmail.com>
-
- Jan 10, 2020
-
-
Wolfgang Welz authored
-
Wolfgang Welz authored
-
- Jan 08, 2020
-
-
Luca Moser authored
-
- Jan 07, 2020
-
-
Luca Moser authored
-
Luca Moser authored
-
- Jan 04, 2020
-
-
Wolfgang Welz authored
*
✨ GetNextCandidate selection added *🐛 Recompile salt.proto *♻️ Refactor peer IDs completely *🐛 Recompile proto sources *🚧 WIP *👌 renamed to sort *🚧 Return requested peers on request *✨ Kepp track how ofter a managed peer was verified *🔧 sort adapted to the new peer *🚧 Query verified peers for new peers *🚧 WIP *✅ Add manager tests *🍱 Add peering messages to protobuf *🎨 Make Salt methods consistent with Peer *✨ Handle peering messages *🚧 WIP *🐛 Add To filed to PeersRequest *✅ Add PeersRequest test *⚡ Adding PeersRequest benchmark *🎨 Move mpeer and helper functions to own file *🐛 Bump peer only once on reverification *🚧 WIP *🐛 *🚧 WIP *🐛 Increase buffer to prevent deadlocks *⚡ Remove unnecessary lock *✅ Add peering request test *✅ Make tests deterministic by triggering reverify *🚧 WIP *🔒 fixing concurrency issues *✅ testManager improved *🐛 Don't send PeeringResponse for invalid salt *🚧 WIP *🚧 WIP *📝 removed commented code *🚧 WIP *🚧 WIP * Neighbourhood manager (#11) *✨ GetNextCandidate selection added *🔒 fixing concurrency issues *✅ testManager improved *📝 removed commented code *🚧 WIP *🚧 WIP *🚧 WIP *🚧 WIP *✔️ Make TestAdd pass in neighborhood_test `Add` should do nothing if the neighborhood list is full. *✅ Improve TestSrvVerifyBoot *⬆️ Upgrade to go 1.13 *➖ Use testify instead of magiconair/properties *🚧 *🚧 WIP *🚧 WIP *🚧 WIP *🚧 WIP * Simulation (#14) *✨ clear rejection filter after refreshing the public salt *✨ clean rejection filter *✅ Add mpeer test *🎨 gofmt test *🎨 Remove ineffactual assignments *🔨 Trigger panic when index is out of bound in deletePeer *✅ Add selection test *✅ Add TestGetFurtherest and TestGetPeerIndex *✨ both salt updated at the same time and neighborhood dropped *🎨 Add node peering history for simulation *🚧 WIP *✨ added sim visualization *🔥 removed root handler *📝 added README *📝 updated README *➖ removed unused dependencies *🎨 Tidy go.mod *🚧 Work in progress *🚧 WIP *🚧 WIP *🚧 WIP *💄 improved start button *🚧 WIP *✨ added keyboard support for start *🚧 WIP *🚧 WIP *🚧 WIP *🚧 WIP *🚧 WIP *🚧 WIP *✨ added input parameters *📝 README updated *💄 gif updated *💄 figure updated *📝 updated *💄 updated gif * removed simulation metrics *📝 updated *📝 updated *♻️ Extract server from discovery and peering *🐛 Use golang/protobuf * Update README.md *♻️ Rename PeersRequest to DiscoveryRequest *✏️ Fixing typos *🎨 Move unused function to tests *♻️ The selection protocol depends on the discovery *✅ Make tests more robust when using -race *🔊 Improve logging *🎨 Remove unnecessary arguments *🐛 Fix data races *🐛 added timeout for simulated network *🎨 added loop to animation *♻️ rename neighborhood to selection *✨ adds initial salt and fixes simulation end *📝 visualizer enabled by default *✨ new parameter dropAll and improved python script *📝 updated README *📝 updated README *🐛 fix salt initialization *📝 added blogpost link *📝 Add badges to README *👷 Add Travis CI for tests *🚨 Correct formating *👷 Running golangci on Travis *🚨 Ignore return value of 'logger.Sync' *🚨 Remove unused functions *📝 Add link to license *🎨 Move simnetwork to transport *🎨 Use the complete network protocol in simulations *♻️ Do not export selection/manager *🔥 Remove gRPC transport layer *✅ Add UDP connection transport test *🚧 Implement the peer DB using Goshimmer database *➕ Use the local GoShimmer version *✨ Add support for a persistent database *✨ Persist private key of local peer in database *🐛 Set TTL for bootstrap peers *🚧 Use GoShimmer events *✨ Store the supported services in the local peer *📌 Use most current GoShimmer git version as a dep *➕ Switch to hive.go event package *🎨 Use correct module iotaledger/autopeering-sim *🐛 Provide dummy service in autopeering simulation *✨ adds service support in the selection *✨ adds peer discovered events *✨ adds GetIncomingNeighbors and GetOutgoingNeighbors *🐛 fixes out of bound error in splitNodeKey *✨ adds public IP support *🐛 fixes localhost *🐛 fixes localhost parsing *🔧 changes selection loop to 1s *🔊 switches from fmt.Println to log.Debug *🔧 increases maxKnown to 1000 and always triggers discovered peer *✨ adds PeerDeleted event *🚧 moves PeerDeleted event into deletePeer *✨ adds config paramters for the peer discovery *✨ adds config parameters to neighbor selection *✨ enable/disable inbound/outbound selection *💡 Improve Godoc comments *✨ modifies disabled outbound selection *🐛 fixes bug with disabling the selection *➖ removes getMyIP() from server *🔇 removes some debugging logs *🚧 Introduce services - Each peer now comes with a set of services - Local peer is a proper peer - Services are exchanged during Pong and are available for all verified peers *🐛 fixes GetVerifiedPeer *✨ adds gossip key to the service *🔇 removes debugging logs *✅ Add test for GetVerifiedPeer *🐛 Fix main *🎨 Add localNetwork to Protocol *🐛 Add new but verified peers to the manager *🔧 changes configurable parameters *🐛 fixes DiscoveryRequest field sequence *🍱 Regenerate proto files *🎨 Cleanup parameters *🐛 Fix potential race condition *🔇 Reduce logging verbosity *✅ Add test for selection+discover *✨ Return net.Addr in Transport *🐛 Remove inbound/outbound switches completely *🔊 Improve logging *🔊 Fix peerdb logs *🐛 Fix peer updating *✅ Make TestProtFull more robust *🎨 Make queryInterval a parameter *🔊 Improve loggind during querying *🐛 Trigger PeerDiscovered only for active peers *🎨 Cleanup protocol tests *✅ Add discovery test on protocol level *🎨 Rename maxVerified to maxManaged *🔧 Increase default query interval *🎨 Improve discover benchmarks *✅ Fix manager tests *🎨 Do not use bugged assert.Eventually *🚨 Fix linter warnings in server *🚨 Remove unused parameters *🎨 Make transport work on slices of bytes *✏️ Fix typo in comments *🚨 Fix linter warnings *🎨 UpdateService accepts two strings *✅ Add test that services are received in discover *✨ adds required services *🎨 Handle closed connections consistently *🎨 Code cleanup *🐛 fixes DropPeer *🎨 improves debug messages *🔊 Log errors during reverification *🔊 Log packet size * refactor: remove unused files * refactor: use internal autopeering package Co-authored-by:Angelo Capossele <angelocapossele@gmail.com> Co-authored-by:
jkrvivian <jkrvivian@gmail.com>
-
Wolfgang Welz authored
-
- Dec 19, 2019
-
-
capossele authored
-