Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gossipsub v1.1 #1720

Merged
merged 141 commits into from
Jan 7, 2021
Merged

Gossipsub v1.1 #1720

merged 141 commits into from
Jan 7, 2021

Commits on May 19, 2020

  1. Gossipsub message signing

    AgeManning committed May 19, 2020
    Configuration menu
    Copy the full SHA
    aeba523 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    573e4b6 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2020

  1. Configuration menu
    Copy the full SHA
    d2babd4 View commit details
    Browse the repository at this point in the history
  2. Support multiple versions

    AgeManning committed May 22, 2020
    Configuration menu
    Copy the full SHA
    8353474 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b7db121 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2020

  1. Configuration menu
    Copy the full SHA
    ac3c977 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3ff66b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c8335cc View commit details
    Browse the repository at this point in the history

Commits on May 27, 2020

  1. Configuration menu
    Copy the full SHA
    e9afd95 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    984a662 View commit details
    Browse the repository at this point in the history
  3. Add defaults to scoring

    AgeManning committed May 27, 2020
    Configuration menu
    Copy the full SHA
    80ea7df View commit details
    Browse the repository at this point in the history
  4. Generalise topic hashing

    AgeManning committed May 27, 2020
    Configuration menu
    Copy the full SHA
    58f61b4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    238e305 View commit details
    Browse the repository at this point in the history
  6. Update v1.1 tests

    AgeManning committed May 27, 2020
    Configuration menu
    Copy the full SHA
    fec112a View commit details
    Browse the repository at this point in the history
  7. Add more unit tests

    AgeManning committed May 27, 2020
    Configuration menu
    Copy the full SHA
    bc09eb7 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2020

  1. Configuration menu
    Copy the full SHA
    3d1a025 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    31b6849 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2020

  1. Merge latest master

    AgeManning committed Jul 1, 2020
    Configuration menu
    Copy the full SHA
    a8cec0b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b38112 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7d678f5 View commit details
    Browse the repository at this point in the history
  4. Update examples

    AgeManning committed Jul 1, 2020
    Configuration menu
    Copy the full SHA
    dc050dd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5bf1cfc View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2020

  1. Revert changes to core/

    AgeManning committed Jul 9, 2020
    Configuration menu
    Copy the full SHA
    4ffe728 View commit details
    Browse the repository at this point in the history
  2. Reviewers suggestion

    AgeManning committed Jul 9, 2020
    Configuration menu
    Copy the full SHA
    24b738c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a2e4bf0 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2020

  1. Merge latest master

    AgeManning committed Jul 23, 2020
    Configuration menu
    Copy the full SHA
    2f20571 View commit details
    Browse the repository at this point in the history
  2. Revert changes to core/

    AgeManning committed Jul 23, 2020
    Configuration menu
    Copy the full SHA
    2c50ba2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4de878e View commit details
    Browse the repository at this point in the history
  4. Make tests pass

    rklaehn committed Jul 23, 2020
    Configuration menu
    Copy the full SHA
    e43f0a0 View commit details
    Browse the repository at this point in the history
  5. Some clippy

    rklaehn committed Jul 23, 2020
    Configuration menu
    Copy the full SHA
    57f07aa View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2020

  1. Configuration menu
    Copy the full SHA
    b6eeb3c View commit details
    Browse the repository at this point in the history
  2. Merge libp2p#1675

    AgeManning committed Jul 24, 2020
    Configuration menu
    Copy the full SHA
    0d5bde4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aec51e0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    759a5ad View commit details
    Browse the repository at this point in the history
  5. Handle errors correctly

    AgeManning committed Jul 24, 2020
    Configuration menu
    Copy the full SHA
    495ffe4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1ea2dd9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8e69465 View commit details
    Browse the repository at this point in the history
  8. A few improvements (#32)

    * Make the GossipsubRpc debug instance a bit nicer
    
    Basically just don't show empty components to reduce visual noise
    
    * Introduce send_message helper function to avoid repetition of boilerplate
    
    This also serves to have a central place to log or otherwise intercept all
    outgoing messages to other peers of the behaviour.
    
    * Simplify the arc removal in poll
    rklaehn authored Jul 24, 2020
    Configuration menu
    Copy the full SHA
    1f73ded View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7b76c8f View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2020

  1. Change the gossipsub rpc protocol to use bytes for message ids (#34)

    And do the corresponding changes to make this work.
    rklaehn authored Jul 25, 2020
    Configuration menu
    Copy the full SHA
    f5d32b2 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2020

  1. Configuration menu
    Copy the full SHA
    c3a7757 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2020

  1. Correct doc link

    AgeManning committed Jul 27, 2020
    Configuration menu
    Copy the full SHA
    0c43ed4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    efa40e3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a514c60 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2020

  1. Configuration menu
    Copy the full SHA
    b257025 View commit details
    Browse the repository at this point in the history
  2. Merge latest master

    AgeManning committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    b20771b View commit details
    Browse the repository at this point in the history
  3. Merge gossipsub-signing

    AgeManning committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    cacadc0 View commit details
    Browse the repository at this point in the history
  4. implement explicit peers

    blacktemplar committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    6566925 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'gossipsub-v1.1' into gossipsub-v1.1-explicit-peers

    # Conflicts:
    #	examples/gossipsub-chat.rs
    #	examples/ipfs-private.rs
    #	protocols/gossipsub/src/behaviour.rs
    #	protocols/gossipsub/src/behaviour/tests.rs
    blacktemplar committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    81338d5 View commit details
    Browse the repository at this point in the history
  6. Fix ipfs-kad example

    AgeManning committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    ecb2d8b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2a830b9 View commit details
    Browse the repository at this point in the history
  8. finish merging + rustfmt

    blacktemplar committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    b78d771 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8bffa91 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2f4a50a View commit details
    Browse the repository at this point in the history
  11. Merge latest signing

    AgeManning committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    99a37bb View commit details
    Browse the repository at this point in the history
  12. Merge pull request #36 from blacktemplar/gossipsub-v1.1-explicit-peers

    Gossipsub v1.1 explicit peers
    blacktemplar authored Jul 28, 2020
    Configuration menu
    Copy the full SHA
    284bf1c View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2020

  1. Configuration menu
    Copy the full SHA
    be7c9e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e049ff7 View commit details
    Browse the repository at this point in the history
  3. Merge latest master

    AgeManning committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    74d2779 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    81fca56 View commit details
    Browse the repository at this point in the history
  5. Wrap comments

    AgeManning committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    6bac865 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6e0a6b3 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #37 from sigp/gossipsub-v1.1-prune-backoff-and-px

    implement PX and prune backoff + simplify tests for explicit peers
    blacktemplar authored Jul 29, 2020
    Configuration menu
    Copy the full SHA
    1257639 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2020

  1. improved data structure for storing backoffs + adding configurable sl…

    …ack for grafting to peers after backoff
    blacktemplar committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    6c77022 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #38 from sigp/gossipsub-v1.1-prune-backoff-and-px

    improved data structure for storing backoffs + slack backoff
    blacktemplar authored Jul 30, 2020
    Configuration menu
    Copy the full SHA
    8b17725 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2518f9f View commit details
    Browse the repository at this point in the history
  4. Merge pull request #39 from sigp/gossipsub-v1.1-flood-publishing

    allow flood publishing (on by default)
    blacktemplar authored Jul 30, 2020
    Configuration menu
    Copy the full SHA
    1994c88 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dbe0a84 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2020

  1. Merge pull request #40 from sigp/gossipsub-v1.1-adaptive-gossip-disse…

    …mnation
    
    implement adaptive gossip dissemination + complete config debug output
    blacktemplar authored Jul 31, 2020
    Configuration menu
    Copy the full SHA
    7155f5c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da34368 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    66730dd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8a0b278 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2020

  1. Merge pull request #41 from sigp/gossipsub-v1.1-outbound-mesh-quota

    implements a configurable minimum number of mesh peers that are outbound
    blacktemplar authored Aug 1, 2020
    Configuration menu
    Copy the full SHA
    4e1375a View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2020

  1. Configuration menu
    Copy the full SHA
    94469cf View commit details
    Browse the repository at this point in the history
  2. Merge latest master

    AgeManning committed Aug 2, 2020
    Configuration menu
    Copy the full SHA
    60f8a1e View commit details
    Browse the repository at this point in the history
  3. Maintain the debug trait

    AgeManning committed Aug 2, 2020
    Configuration menu
    Copy the full SHA
    fef66dd View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2020

  1. use the score module in the behaviour, calling the score update metho…

    …d hooks + using the score of peers in the behaviour logic
    blacktemplar committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    799137c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #42 from sigp/gossipsub-v1.1-score-wiring

    use the score module in the behaviour
    blacktemplar authored Aug 6, 2020
    Configuration menu
    Copy the full SHA
    efb59ac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b6fbf05 View commit details
    Browse the repository at this point in the history
  4. remove done TODO

    blacktemplar committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    189ffc4 View commit details
    Browse the repository at this point in the history
  5. remove done TODO

    blacktemplar committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    f405d2a View commit details
    Browse the repository at this point in the history
  6. cargo fmt

    blacktemplar committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    6fe395a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    47855d6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5954403 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #43 from sigp/gossip-v1.1-opportunistic-grafting

    Gossip v1.1 opportunistic grafting
    blacktemplar authored Aug 6, 2020
    Configuration menu
    Copy the full SHA
    a228f3b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3d69944 View commit details
    Browse the repository at this point in the history
  11. cap the number of gossipsub retransmission for the iwants of the same…

    … message for the same peer
    blacktemplar committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    afba384 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2020

  1. cap the number of processed ihaves per peer per heartbeat, plus the m…

    …aximum number of processed message ids inside ihaves per peer per heartbeat + cap the number of message ids we send inside an ihave
    blacktemplar committed Aug 7, 2020
    Configuration menu
    Copy the full SHA
    223f0d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1ced56e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    27ac942 View commit details
    Browse the repository at this point in the history
  4. removes todo

    blacktemplar committed Aug 7, 2020
    Configuration menu
    Copy the full SHA
    04d3e2f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5c52843 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #44 from sigp/gossipsub-v1.1-spam-protection-measures

    Implement missing spam protection measures
    blacktemplar authored Aug 7, 2020
    Configuration menu
    Copy the full SHA
    a135fc0 View commit details
    Browse the repository at this point in the history
  7. Merge remote-tracking branch 'origin/gossipsub-signing' into gossipsu…

    …b-v1.1
    
    # Conflicts:
    #	protocols/gossipsub/src/behaviour.rs
    #	protocols/gossipsub/src/config.rs
    #	protocols/gossipsub/src/mcache.rs
    #	protocols/gossipsub/src/protocol.rs
    blacktemplar committed Aug 7, 2020
    Configuration menu
    Copy the full SHA
    d9ee8e4 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'master' into gossipsub-v1.1

    # Conflicts:
    #	examples/gossipsub-chat.rs
    #	examples/ipfs-private.rs
    #	protocols/gossipsub/src/behaviour.rs
    #	protocols/gossipsub/src/behaviour/tests.rs
    #	protocols/gossipsub/src/config.rs
    #	protocols/gossipsub/src/handler.rs
    #	protocols/gossipsub/src/lib.rs
    #	protocols/gossipsub/src/mcache.rs
    #	protocols/gossipsub/src/protocol.rs
    #	protocols/gossipsub/src/topic.rs
    #	protocols/gossipsub/tests/smoke.rs
    blacktemplar committed Aug 7, 2020
    Configuration menu
    Copy the full SHA
    714fee3 View commit details
    Browse the repository at this point in the history
  9. cargo fmt

    blacktemplar committed Aug 7, 2020
    Configuration menu
    Copy the full SHA
    7f7fd17 View commit details
    Browse the repository at this point in the history
  10. Gossipsub v1.1 check fmt (#45)

    add workflow that checks fmt for all branches and pull requests in package gossipsub
    blacktemplar authored Aug 7, 2020
    Configuration menu
    Copy the full SHA
    ee7dd71 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2020

  1. Merge duplicate cache

    AgeManning committed Aug 10, 2020
    Configuration menu
    Copy the full SHA
    5109fe7 View commit details
    Browse the repository at this point in the history
  2. Merge substream updates

    AgeManning committed Aug 10, 2020
    Configuration menu
    Copy the full SHA
    b748618 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2020

  1. Propagate signature verification and peer kinds to behaviour (#46)

    * Propagate signature verification and peer kinds to behaviour
    
    * Propagate validation errors to the behaviour
    
    * handle peer kind + fix flaky test
    
    * Inform the behaviour of invalid messages
    
    * Correct duplicate cache
    
    * penalize invalid messages
    
    * generalize DuplicateCache to TimeCache + implement minimalistic Entry API + use it for deliveries tracking in scoring module
    
    * fix warnings in test
    
    * remove accidentally added benchmark functions
    
    * Handle peers that do not support the protocol
    
    Co-authored-by: blacktemplar <blacktemplar@a1.net>
    AgeManning and blacktemplar authored Aug 12, 2020
    Configuration menu
    Copy the full SHA
    7bdb378 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    83280db View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2020

  1. Gossipsub v1.1 various improvements (#49)

    * remove dbg! calls and add debug logging for peer scoring
    
    * export MessageAcceptance and rename validate_message to report_message_validation_result to also signal that this message should get called in case of invalid messages
    
    * fix double reject_message call
    
    * gossip promises are fulfilled already on receiving the message without validation
    
    * derive debug for MessageAcceptance
    
    * add helper method to get config builder from existing config
    
    * allow adding/changing TopicScoreParams during runtime
    
    * more debug output for messages from self
    
    * fixes incompatibility with anonymous PeerId in lighthouse
    
    * cargo fmt
    
    * more debug output for broken promises
    blacktemplar authored Aug 17, 2020
    Configuration menu
    Copy the full SHA
    5d93c0a View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2020

  1. Gossipsub 1.1 ammendments (#50)

    * Shuffling things around
    
    * Further minor ammendments
    
    * Misc typos and improvements
    
    * Correct tests
    
    * Wasm support
    AgeManning authored Aug 24, 2020
    Configuration menu
    Copy the full SHA
    3206da5 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2020

  1. Complete porting of go scoring tests (#51)

    * Update tests
    
    * Complete scoring tests
    AgeManning authored Aug 25, 2020
    Configuration menu
    Copy the full SHA
    59034e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    521ecdb View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2020

  1. Configuration menu
    Copy the full SHA
    261f78e View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2020

  1. Message fragmentation (#54)

    * Estimate message size
    
    * Fragment RPC messages
    
    * Shift protobuf encoding into behaviour
    AgeManning authored Aug 27, 2020
    Configuration menu
    Copy the full SHA
    f71a1bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c762d6c View commit details
    Browse the repository at this point in the history
  3. Merge latest master

    AgeManning committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    8ec6b66 View commit details
    Browse the repository at this point in the history
  4. Remove github workflow

    AgeManning committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    4f92599 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2020

  1. Cleanup code add logs (#56)

    * Clean up code
    
    * Upgrade crates
    
    * Update example to use signing
    
    * Add debug log
    
    * Improve keepalive for peers without gossipsub support
    
    * Improve debug logs for new peer types
    AgeManning authored Aug 28, 2020
    Configuration menu
    Copy the full SHA
    618334a View commit details
    Browse the repository at this point in the history
  2. Further improve logging (#57)

    * Improve logging
    
    * Print invalid seq_no length
    
    * Improve debug logs
    AgeManning authored Aug 28, 2020
    Configuration menu
    Copy the full SHA
    9a03f94 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2020

  1. Configuration menu
    Copy the full SHA
    e031bce View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2020

  1. Various improvements (#60)

    * add the new behaviour penalty threshold parameter
    
    * fix bug to request message ids in IWANT only if they are not in duplication cache
    
    * more public methods for inspecting the state, distinguish between all mesh peers and all peers functions
    
    * return message ids of published messages
    
    * contains methods for time_cache
    
    * interpret empty bytes the same as missing optional protobuf field
    
    * fix missing field resets when setting mesh state to inactive
    
    * add optional message delivery time callbacks
    
    * handle updating gossipsub parameters for decreasing caps
    
    * improved parameter setting api
    
    * fix wrong order of greylist checking
    
    * more debug and tracing logging
    
    * fix tests
    blacktemplar authored Sep 25, 2020
    Configuration menu
    Copy the full SHA
    c7f0716 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2020

  1. Cache published message ids (#61)

    * add a cache for published message ids to detect self published messages
    
    * more debug+trace logs
    
    * cargo fmt
    blacktemplar authored Oct 2, 2020
    Configuration menu
    Copy the full SHA
    9da2af7 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2020

  1. use generic type for message data + cache message ids (#67)

    * use generic type for message data + cache message ids
    
    * fix docs
    
    * fix examples
    
    * fix examples
    blacktemplar authored Oct 8, 2020
    Configuration menu
    Copy the full SHA
    464c4da View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2020

  1. Adds a fast message id function and an additional cache for it (#68)

    * add a fast message id function and an additional cache for it
    
    * also test number of calls of `From<Vec<u8>>` messsage data transformations
    
    * Add documentation for fast message id function. Change fast message id function return type to avoid confusing message ids with fast message ids.
    blacktemplar authored Oct 9, 2020
    Configuration menu
    Copy the full SHA
    88ee95e View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into gossipsub-v1.1

    # Conflicts:
    #	protocols/gossipsub/Cargo.toml
    #	protocols/gossipsub/src/behaviour.rs
    #	protocols/gossipsub/tests/smoke.rs
    blacktemplar committed Oct 9, 2020
    Configuration menu
    Copy the full SHA
    238e5cf View commit details
    Browse the repository at this point in the history
  3. export FastMessageId

    blacktemplar committed Oct 9, 2020
    Configuration menu
    Copy the full SHA
    6ee2c5f View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2020

  1. Gossipsub v1.1 bug fixes (#71)

    * Allow helper functions - remove warnings
    
    * don't graft to negative scored peers after subscription
    
    * improve backoff handling
    
    Co-authored-by: Age Manning <Age@AgeManning.com>
    blacktemplar and AgeManning authored Oct 14, 2020
    Configuration menu
    Copy the full SHA
    4c95f86 View commit details
    Browse the repository at this point in the history
  2. add subscription filters + some useful default filters + refactor tes…

    …ts by using builder pattern (#70)
    
    * add subscription filters + some useful default filters
    
    * cargo fmt + log when incoming subscriptions get filtered + variable renaming
    blacktemplar authored Oct 14, 2020
    Configuration menu
    Copy the full SHA
    c2c4a26 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2020

  1. remove support for multi-topic messages (#73)

    * remove support for multi-topic messages
    
    * make message topic required
    blacktemplar authored Oct 20, 2020
    Configuration menu
    Copy the full SHA
    201d533 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2020

  1. also consider allow self origin when using a published message ids di…

    …ct (#84)
    
    * also consider allow self origin when using a published message ids dictionary
    
    * make allow_self_origin configurable via the config builder
    blacktemplar authored Oct 21, 2020
    Configuration menu
    Copy the full SHA
    87633a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e28cba View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2020

  1. Merge branch 'master' into gossipsub-v1.1

    # Conflicts:
    #	protocols/gossipsub/Cargo.toml
    blacktemplar committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    9ba9b8a View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2020

  1. Merge latest master

    AgeManning committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    6bb58ec View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2020

  1. Merge latest master

    AgeManning committed Nov 6, 2020
    Configuration menu
    Copy the full SHA
    7a316e8 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2020

  1. Address reviewers comments (#88)

    * Address reviewers comments
    
    * fix rust doc linking error
    
    * Add copy trait
    
    Co-authored-by: blacktemplar <blacktemplar@a1.net>
    AgeManning and blacktemplar authored Nov 8, 2020
    Configuration menu
    Copy the full SHA
    d306455 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2020

  1. Configuration menu
    Copy the full SHA
    2d1170b View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2020

  1. Merge latest master

    AgeManning committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    8bdc378 View commit details
    Browse the repository at this point in the history
  2. Update to latest master

    AgeManning committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    34f58fb View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2020

  1. Configuration menu
    Copy the full SHA
    5157e70 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2020

  1. protocols/gossipsub: Review (#93)

    * protocols/gossipsub: Review
    
    * Addressing most of the review comments
    
    * Address reviewers comments
    
    * Appease CI
    
    Co-authored-by: blacktemplar <blacktemplar@a1.net>
    Co-authored-by: Age Manning <Age@AgeManning.com>
    3 people authored Dec 7, 2020
    Configuration menu
    Copy the full SHA
    82be02d View commit details
    Browse the repository at this point in the history
  2. Merge latest master

    AgeManning committed Dec 7, 2020
    Configuration menu
    Copy the full SHA
    ffee445 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2020

  1. Add optional compression to gossipsub (#100)

    * Update rustls requirement from 0.18.0 to 0.19.0 (libp2p#1852)
    
    Updates the requirements on [rustls](https://github.com/ctz/rustls) to permit the latest version.
    - [Release notes](https://github.com/ctz/rustls/releases)
    - [Changelog](https://github.com/ctz/rustls/blob/main/OLDCHANGES.md)
    - [Commits](rustls/rustls@v/0.18.0...v/0.19.0)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * Prepare libp2p-websocket-0.26.1
    
    * Update top-level libp2p-websocket patch version.
    
    * [request-response] Refine success & error reporting for inbound requests. (libp2p#1867)
    
    * Refine error reporting for inbound request handling.
    
    At the moment one can neither get confirmation when a
    response has been sent on the underlying transport, nor
    is one aware of response omissions. The latter was
    originally intended as a feature for support of
    one-way protocols, which seems like a bad idea in
    hindsight. The lack of notification for sent
    responses may prohibit implementation of some
    request-response protocols that need to ensure
    a happens-before relation between sending a
    response and a subsequent request, besides uses
    for collecting statistics.
    
    Even with these changes, there is no active notification
    for failed inbound requests as a result of connections
    unexpectedly closing, as is the case for outbound requests.
    Instead, for pending inbound requests this scenario
    can be identified if necessary by the absense of both
    `InboundFailure` and `ResponseSent` events for a particular
    previously received request. Interest in this situation is
    not expected to be common and would otherwise require
    explicitly tracking all inbound requests in the `RequestResponse`
    behaviour, which would be a pity. `RequestResponse::send_response`
    now also synchronously returns an error if the inbound upgrade
    handling the request has been aborted, due to timeout or
    closing of the connection, giving more options for graceful
    error handling for inbound requests.
    
    As an aside, the `Throttled` wrapper now no longer emits
    inbound or outbound error events occurring in the context
    of sending credit requests or responses. This is in addition
    to not emitting `ResponseSent` events for ACK responses of
    credit grants.
    
    * Update protocols/request-response/src/lib.rs
    
    Co-authored-by: Max Inden <mail@max-inden.de>
    
    * Address some minor clippy warnings. (libp2p#1868)
    
    * Track pending credit request IDs.
    
    In order to avoid emitting events relating to credit grants or acks
    on the public API. The public API should only emit events relating
    to the actual requests and responses sent by client code.
    
    * Small cleanup
    
    * Cleanup
    
    * Update versions and changelogs.
    
    * Unreleased
    
    Co-authored-by: Max Inden <mail@max-inden.de>
    
    * core/benches: Add rudimentary benchmark for PeerId::from_bytes and clone (libp2p#1875)
    
    * core: Add rudimentary benchmark for PeerId::from_bytes and clone
    
    * .github/workflow: Include benchmarks
    
    To ensure changes through pull requests won't make benchmarks fail to
    compile or run, run them as part of CI.
    
    * [mdns] Split response packets if necessary. (libp2p#1877)
    
    * [mdns] Split response packets.
    
    Prevent MDNS response packets becoming too large by creating
    multi-packet responses. Also skip addresses that don't fit
    into a TXT record or contain invalid characters.
    
    * Update protocols/mdns/src/dns.rs
    
    Co-authored-by: Max Inden <mail@max-inden.de>
    
    * Refactor response packet construction.
    
    * Update mdns changelog.
    
    Co-authored-by: Max Inden <mail@max-inden.de>
    
    * core/benches: Add PeerId sort_vec benchmark (libp2p#1878)
    
    * Prepare v0.32 (libp2p#1879)
    
    * [websocket] Update minimum async-tls patch version. (libp2p#1881)
    
    * Update minimum async-tls patch version.
    
    After the upgrade to rustls 0.19, this is the minimum
    version required to build.
    
    * Prepare libp2p patch.
    
    * Update async-tls requirement from 0.10.2 to 0.11.0 (libp2p#1884)
    
    * Update async-tls requirement from 0.10.2 to 0.11.0
    
    Updates the requirements on [async-tls](https://github.com/async-std/async-tls) to permit the latest version.
    - [Release notes](https://github.com/async-std/async-tls/releases)
    - [Commits](async-rs/async-tls@v0.10.2...v0.11.0)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * *: Prepare release
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Max Inden <mail@max-inden.de>
    
    * rename generic types + add default types + update documentation links
    
    * fix broken intra links
    
    * fix tests
    
    * type annotation in example
    
    * fix doc example
    
    * Add compression to gossipsub
    
    * Add snappy compression to the smoke tests
    
    * Stack allocated PeerId (libp2p#1874)
    
    * Stack allocate PeerId.
    
    * Update stuff.
    
    * Upgrade rusttls to fix build.
    
    * Remove unnecessary manual implementations.
    
    * Remove PeerId::into_bytes.
    
    * Remove bytes dependency.
    
    * Perform some cleanup.
    
    * Use Into<kbucket::Key<K>>.
    
    * Update versions and changelogs.
    
    * Fix PR link.
    
    * Fix benchmarks.
    
    Co-authored-by: Roman S. Borschel <roman@parity.io>
    
    * Remove copy and adjust validation ordering
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Roman S. Borschel <roman@parity.io>
    Co-authored-by: Roman Borschel <romanb@users.noreply.github.com>
    Co-authored-by: Max Inden <mail@max-inden.de>
    Co-authored-by: blacktemplar <blacktemplar@a1.net>
    Co-authored-by: David Craven <david@craven.ch>
    7 people authored Dec 16, 2020
    Configuration menu
    Copy the full SHA
    23d7d04 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1b5a35e View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2020

  1. Merge latest master

    AgeManning committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    1b19338 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a15b246 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2020

  1. Configuration menu
    Copy the full SHA
    4cca4d3 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2021

  1. Merge latest master

    AgeManning committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    88ed4e5 View commit details
    Browse the repository at this point in the history
  2. Fix doclinks

    AgeManning committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    f47ae78 View commit details
    Browse the repository at this point in the history