These 6 commits are when the Protocol Buffers files have changed:
Commit: | 253c318 | |
---|---|---|
Author: | Jochen Görtler | |
Committer: | GitHub |
Use all jobs from `coordicide` and fix docs (#906) * Use all jobs from `coordicide` and fix docs * Add missing `README.md`s * Add missing documentation * Format * Change `no_std` crates * Fix docs * Format as code * Undo removed newlines * Shorter links
The documentation is generated from this commit.
Commit: | 8bd2f7a | |
---|---|---|
Author: | /alex/ | |
Committer: | GitHub |
Add `bee-autopeering` crate (#755) * Add bee-autopeering crate * Improve and test autopeering multiaddress * Add entrynode multiaddrs parsing test * Add identity module; protobufs; peer module * Add DiscoveredPeer type * Add Packet type * Add peering messages * Add salt and distance calc. * Separate salt and distance * Contact entry nodes * Add 'AutopeeringServer' type * Add 'discovery' module * Add 'DiscoveredPeerlist' * Add 'backoff' module * Add 'Backoff' type * Implement backoff jitter and timout * Impl custom 'ServiceMap' type with simple protobuf conversion * Switch to milliseconds in backoff module * Use same jitter logic as Hornet * Send 'Ping' packet * Impl Into<Peer> for DiscoveredPeer * Ping entry nodes * Refactor and cleanup * Answer pings; refactoring * Nits * Add 'request' module * Add 'cron' module * Add cron job for expired requests * Fix and expand backoff unit tests * Add event channels * Add missing newlines * Introduce in-memory and sled peerstore * Larger refactor * Consistent message handling * Refactor local and distance * Make init generic over peerstore backend * Finish neighborhood impl * Make Neighborhood iterable * Update salts; drop neighborhoods * Test neighborhood size limit * Add distance unit tests * Finish filter impl. * Add apply_condition unit test * handle and send drop request * Peering request handling * Discovery verification handling * Shutdown logic; Add usage example * Improve shutdown bus * Manual Debug impl for AutopeeringMultiaddr * Add DNS resolution to AutopeeringMultiaddr * Create peer instances from entry node list * Format * Generate network id; print autopeering warning * Send 'DiscoveryRequest' * Review comments * Nits * Fix packet processing * Fix local peer services * Add CHANGELOG.md, README.md, and LICENSE * Remove expired requests regularly; Update salts regularly * Review comments; Small refactor * More comments describing the delay factory; tiny refactor * Add ValidationError enum; Improve discovery message processing * Refactor 'Repeat' trait * Introduce 'Runnable' trait and 'Spawner' struct * Introduce 'task' module; Remove 'shutdown' module * Fix verification response validation * Some doc fixes * Event unification; design improvements * Random peer selection in DiscoveryResponse * Add 'ring' module; Build active- and replacement peerlists on top * Add 'command' module; Introduce discovery handlers * Refactor; request callbacks * Refactor 'task' module * Doc fixes * Finish query strategy * Fix example; Format * Fix query peer selection * Refactor verification and discovery functions * Refactor peering manager * Larger refactor * Fix dead lock * Finish neighborhood update logic * Finish sled peerstore; Refactoring * Refactor neighbor filter * Make PeerId Copy; Impl byte serialization for Peer and PeerId * Fix 'channel closed' bug * Impl Display for Event * Set better log levels * Add Local constructor for hex encoded private keys * Add Local constructor for libp2p ed25519 keypair * Downgrade more logs to trace level * Don't log log local id (as likely being logged before) * Write docs * Fix doc tests; Make neighbor validator non-optional * Fix warnings, clippy, format * Add 'discovered' relation * Little readme fix * Let readme point to lib.rs * Dead lock protection * Fix panic * Do not expose lock guards of the neighbor filter * Log peer id and addr when sending * Remove requests that weren't answered in time * Fix peering event log * Access peer service * Create multiaddr from service endpoint data * Log connected discovered peers * bee-network: Automatically connect to discovered peers * Message error handling * Remove disconnected discovered peers * Remove undialable discovered peers * Git-ignore peerstore dir * Update deps; JSON and TOML config support * Undo deps bump due to policy * Introduce the following changes: * Rename bee-network to bee-gossip; * Move bee-autopeering and bee-gossip into bee-network directory * Add enabled option to autopeering config section * Impl Default for AutopeeringConfig * Fix default impl * Rename config json and toml builders * Enforce building the config through one of its builders * Fix deserialization * Format * Fix bee-gossip example * Remove yet unused command logic * Remove all remaining yet unused code * Set default-features = false on all deps * Address review comments * Fix test and udeps CI * Fix clippy * Fix format * Fix clippy --all-targets * Update default port; Improve docs * Address review comments * Address more review comments * Address even more review comments * Fix udeps * Typo * Update codeowners file
Commit: | 3ba3ec4 | |
---|---|---|
Author: | Adam Gleave | |
Committer: | GitHub |
Revert coordicide `Parents` to spec (#726) * Revert to previous Parents implementation (tests not updated yet) * Strong/weak parent types and bitvec * Update tests * Remove commented code * rand_parent nits * Increase test coverage * Tests nits * Thibault being picky Co-authored-by: Thibault Martinez <thibault@iota.org>
Commit: | 9c7b11f | |
---|---|---|
Author: | Adam Gleave | |
Committer: | GitHub |
Add FPC `Opinion` enum to messages (#715) * Add opinion type and necessary boilerplate * Add test for invalid opinion * Nit Co-authored-by: Thibault Martinez <thibault@iota.org>
Commit: | 4f27cfb | |
---|---|---|
Author: | Christian Poveda | |
Committer: | GitHub |
Add protobuf version of `Message` (#701) * add protobuf version of `Message` * change `bee-plugin` counter example * reexport `Message` type * add remaining `From` implementations * wip * implement reverse conversions for `Message` * rename `kind` fields * test conversions * add module documentation * allow clippy lint at the module level * remove unnecessary comment
Commit: | 0f7f83a | |
---|---|---|
Author: | Christian Poveda | |
Committer: | GitHub |
Add the plugin system (#668) * add draft of the plugin system * split plugin module * document the plugin system * move plugin module to its own crate * add grpc handshake and shutdown * add plugin API for rust * add counter plugin example * handle plugin errors * add missing files * use `async-trait` directly in example * use grpc streams to send events * check that shutting down plugins actually works * add another event type * dispatch the second event type * improve macros * reorganize modules inside `bee-plugin` * reorganize example * add hotloading * add logs * move handshake to stdio * add retries for plugin connection * remove `rustfmt` feature from `tonic` thanks to @Adam-Gleave :D * add documentation * produce better docstrings for the `Plugin` trait * move `bee-node` example to examples * take care of unhandled errors * address review comments * address review comments * move `bee-node` and `bee-plugin` * use real event types * Update dependencies * Nits * Some visibility changes * Format * Reverse params of impl_streamer! * Reverse params of plugin_trait * More nits * More nits * Even more nits * define `EventId` using a macro to avoid inconsistencies * move `UniqueId` to `bee-event-bus` * Fix cargo docs * Some nits * avoid `for` loop to parse `EventId`s during handshake * More nits * Last nits * ignore files that cannot be loaded until they change * Update bee-node/bee-plugin/src/hotloader.rs Co-authored-by: Thibault Martinez <thibault@iota.org> Co-authored-by: Thibault Martinez <thibault.martinez.30@gmail.com>