* move gossipsub into a separate crate * Merge branch 'unstable' of github.com:sigp/lighthouse into separate-gossipsub * update rpc.proto and generate rust bindings * gossipsub: implement IDONTWANT messages * address review * move GossipPromises out of PeerScore * impl PeerKind::is_gossipsub that returns true if peer speaks any version of gossipsub * address review 2 * Merge branch 'separate-gossipsub' of github.com:sigp/lighthouse into impl-gossipsub-idontwant * Merge branch 'unstable' of github.com:sigp/lighthouse into impl-gossipsub-idontwant * add metrics * add tests * make 1.2 beta before spec is merged * Merge branch 'unstable' of github.com:sigp/lighthouse into impl-gossipsub-idontwant * cargo clippy * Collect decoded IDONTWANT messages * Use the beta tag in most places to simplify the transition * Fix failed test by using fresh message-ids * Gossipsub v1.2-beta * Merge latest unstable * Cargo update * Merge pull request #5 from ackintosh/impl-gossipsub-idontwant-ackintosh-fix-test Fix `test_ignore_too_many_messages_in_ihave` test * Merge branch 'unstable' of github.com:sigp/lighthouse into impl-gossipsub-idontwant * update CHANGELOG.md * remove beta for 1.2 IDONTWANT spec has been merged * Merge branch 'unstable' of github.com:sigp/lighthouse into impl-gossipsub-idontwant * Merge branch 'impl-gossipsub-idontwant' of github.com:jxs/lighthouse into impl-gossipsub-idontwant * Merge branch 'unstable' of github.com:sigp/lighthouse into impl-gossipsub-idontwant * improve comments wording * Merge branch 'impl-gossipsub-idontwant' of github.com:jxs/lighthouse into impl-gossipsub-idontwant
11 KiB
0.5 Sigma Prime fork
-
Attempt to publish to at least mesh_n peers when publishing a message when flood publish is disabled. See PR 5357.
-
Drop
PublishandForwardgossipsub stale messages when polling ConnectionHandler. See PR 5175. -
Apply back pressure by setting a limit in the ConnectionHandler message queue. See PR 5066.
0.46.1
- Deprecate
Rpcin preparation for removing it from the public API because it is an internal type. See PR 4833.
0.46.0
- Remove
fast_message_id_fnmechanism fromConfig. See PR 4285. - Remove deprecated
gossipsub::Config::idle_timeoutin favor ofSwarmBuilder::idle_connection_timeout. See PR 4642. - Return typed error from config builder. See PR 4445.
- Process outbound stream before inbound stream in
EnabledHandler::poll(..). See PR 4778.
0.45.2
- Deprecate
gossipsub::Config::idle_timeoutin favor ofSwarmBuilder::idle_connection_timeout. See PR 4648.
0.45.1
- Add getter function to o btain
TopicScoreParams. See PR 4231.
0.45.0
0.44.4
- Deprecate
metrics,protocol,subscription_filter,time_cachemodules to make them private. See PR 3777. - Honor the
gossipsub::Config::support_floodsubin all cases. Previously, it was ignored when a custom protocol id was set viagossipsub::Config::protocol_id. See PR 3837.
0.44.3
-
Fix erroneously duplicate message IDs. See PR 3716.
-
Gracefully disable handler on stream errors. Deprecate a few variants of
HandlerError. See PR 3625.
0.44.2
- Signed messages now use sequential integers in the sequence number field. See PR 3551.
0.44.1
- Migrate from
prosttoquick-protobuf. This removesprotocdependency. See PR 3312.
0.44.0
-
Update to
prometheus-clientv0.19.0. See PR 3207. -
Update to
libp2p-corev0.39.0. -
Update to
libp2p-swarmv0.42.0. -
Initialize
ProtocolConfigviaGossipsubConfig. See PR 3381. -
Rename types as per discussion 2174.
Gossipsubhas been renamed toBehaviour. TheGossipsubprefix has been removed from various types likeGossipsubConfigorGossipsubMessage. It is preferred to import the gossipsub protocol as a module (use libp2p::gossipsub;), and refer to its types viagossipsub::. For example:gossipsub::Behaviourorgossipsub::RawMessage. See PR 3303.
0.43.0
-
Update to
libp2p-corev0.38.0. -
Update to
libp2p-swarmv0.41.0. -
Update to
prost-codecv0.3.0. -
Refactoring GossipsubCodec to use common protobuf Codec. See PR 3070.
-
Replace
Gossipsub'sNetworkBehaviourimplementationinject_*methods with the newon_*methods. See PR 3011. -
Replace
GossipsubHandler'sConnectionHandlerimplementationinject_*methods with the newon_*methods. See PR 3085. -
Update
rust-versionto reflect the actual MSRV: 1.62.0. See PR 3090.
0.42.0
-
Bump rand to 0.8 and quickcheck to 1. See PR 2857.
-
Update to
libp2p-corev0.37.0. -
Update to
libp2p-swarmv0.40.0.
0.41.0
-
Update to
libp2p-swarmv0.39.0. -
Update to
libp2p-corev0.36.0. -
Allow publishing with any
impl Into<TopicHash>as a topic. See PR 2862.
0.40.0
-
Update prost requirement from 0.10 to 0.11 which no longer installs the protoc Protobuf compiler. Thus you will need protoc installed locally. See PR 2788.
-
Update to
libp2p-swarmv0.38.0. -
Update to
libp2p-corev0.35.0. -
Update to
prometheus-clientv0.18.0. See PR 2822.
0.39.0
-
Update to
libp2p-corev0.34.0. -
Update to
libp2p-swarmv0.37.0. -
Allow for custom protocol ID via
GossipsubConfigBuilder::protocol_id(). See PR 2718.
0.38.1
- Fix duplicate connection id. See PR 2702.
0.38.0
-
Update to
libp2p-corev0.33.0. -
Update to
libp2p-swarmv0.36.0. -
changed
TimeCache::contains_keyandDuplicateCache::containsto immutable methods. See PR 2620. -
Update to
prometheus-clientv0.16.0. See PR 2631.
0.37.0
-
Update to
libp2p-swarmv0.35.0. -
Fix gossipsub metric (see PR 2558).
-
Allow the user to set the buckets for the score histogram, and to adjust them from the score thresholds. See PR 2595.
0.36.0 [2022-02-22]
-
Update to
libp2p-corev0.32.0. -
Update to
libp2p-swarmv0.34.0. -
Move from
open-metrics-clienttoprometheus-client(see PR 2442). -
Emit gossip of all non empty topics (see PR 2481).
-
Merge NetworkBehaviour's inject_* paired methods (see PR 2445).
-
Revert to wasm-timer (see PR 2506).
-
Do not overwrite msg's peers if put again into mcache (see PR 2493).
0.35.0 [2022-01-27]
-
Update dependencies.
-
Migrate to Rust edition 2021 (see PR 2339).
-
Add metrics for network and configuration performance analysis (see PR 2346).
-
Improve bandwidth performance by tracking IWANTs and reducing duplicate sends (see PR 2327).
-
Implement
SerializeandDeserializeforMessageIdandFastMessageId(see PR 2408) -
Fix
GossipsubConfigBuilder::build()requiring&selfto live for'static(see PR 2409) -
Implement Unsubscribe backoff as per libp2p specs PR 383 (see PR 2403).
0.34.0 [2021-11-16]
-
Add topic and mesh metrics (see PR 2316).
-
Fix bug in internal peer's topics tracking (see PR 2325).
-
Use
instantandfutures-timerinstead ofwasm-timer(see PR 2245). -
Update dependencies.
0.33.0 [2021-11-01]
-
Add an event to register peers that do not support the gossipsub protocol PR 2241
-
Make default features of
libp2p-coreoptional. PR 2181 -
Improve internal peer tracking. PR 2175
-
Update dependencies.
-
Allow
message_id_fns to accept closures that capture variables. PR 2103 -
Implement std::error::Error for error types. PR 2254
0.32.0 [2021-07-12]
-
Update dependencies.
-
Reduce log levels across the crate to lessen noisiness of libp2p-gossipsub (see PR 2101).
0.31.0 [2021-05-17]
- Keep connections to peers in a mesh alive. Allow closing idle connections to peers not in a mesh PR-2043.
0.30.1 [2021-04-27]
- Remove
regex-filterfeature flag thus always enablingregex::RegexSubscriptionFilterPR 2056.
0.30.0 [2021-04-13]
-
Update
libp2p-swarm. -
Update dependencies.
0.29.0 [2021-03-17]
-
Update
libp2p-swarm. -
Update dependencies.
0.28.0 [2021-02-15]
-
Prevent non-published messages being added to caches. PR 1930
-
Update dependencies.
0.27.0 [2021-01-12]
-
Update dependencies.
-
Implement Gossipsub v1.1 specification. PR 1720
0.26.0 [2020-12-17]
- Update
libp2p-swarmandlibp2p-core.
0.25.0 [2020-11-25]
- Update
libp2p-swarmandlibp2p-core.
0.24.0 [2020-11-09]
- Update dependencies.
0.23.0 [2020-10-16]
- Update dependencies.
0.22.0 [2020-09-09]
- Update
libp2p-swarmandlibp2p-core.
0.21.0 [2020-08-18]
-
Add public API to list topics and peers. PR 1677.
-
Add message signing and extended privacy/validation configurations. PR 1583.
-
Debuginstance forGossipsub. PR 1673. -
Bump
libp2p-coreandlibp2p-swarmdependency.
0.20.0 [2020-07-01]
- Updated dependencies.
0.19.3 [2020-06-23]
- Maintenance release fixing linter warnings.
0.19.2 [2020-06-22]
- Updated dependencies.