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

rpc server: add rate limiting middleware #3301

Merged
merged 81 commits into from
Feb 17, 2024

Commits on Oct 30, 2023

  1. jsonrpsee v0.20.3

    niklasad1 committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    fb263ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    989ad97 View commit details
    Browse the repository at this point in the history
  3. fix host filtering

    niklasad1 committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    310227c View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Configuration menu
    Copy the full SHA
    635e6f9 View commit details
    Browse the repository at this point in the history
  2. fix nits

    niklasad1 committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    97335eb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    49dcc5f View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. Configuration menu
    Copy the full SHA
    875319c View commit details
    Browse the repository at this point in the history
  2. cargo fmt

    niklasad1 committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    98da3fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4be7c05 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. rpc rate limit PoC

    niklasad1 committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    780cd6e View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. add metrics support

    niklasad1 committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    395848c View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. more work

    niklasad1 committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    eaaf70a View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. cleanup

    niklasad1 committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    f83d26a View commit details
    Browse the repository at this point in the history
  2. fix warnings

    niklasad1 committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    c520780 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Configuration menu
    Copy the full SHA
    2f52aad View commit details
    Browse the repository at this point in the history
  2. fix bad merge

    niklasad1 committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    9fb1404 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6a128be View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. option layer for metrics

    niklasad1 committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    1730922 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0f1c200 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. Configuration menu
    Copy the full SHA
    234f515 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb2e6bb View commit details
    Browse the repository at this point in the history
  3. fix nits

    niklasad1 committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    d66415f View commit details
    Browse the repository at this point in the history
  4. fix test build

    niklasad1 committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    4fb4e78 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. update jsonrpsee

    niklasad1 committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    242a4cb View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. update jsonrpsee again

    niklasad1 committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    d2895ba View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Configuration menu
    Copy the full SHA
    79d7b6f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    423018c View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2023

  1. update jsonrpsee again

    niklasad1 committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    615e72a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    46f7e23 View commit details
    Browse the repository at this point in the history
  3. fix nits

    niklasad1 committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    ace52dc View commit details
    Browse the repository at this point in the history
  4. fix more merge nits

    niklasad1 committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    bd78593 View commit details
    Browse the repository at this point in the history
  5. fix cumulus

    niklasad1 committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    c128075 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2023

  1. fix more nits

    niklasad1 committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    271307a View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

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

Commits on Jan 24, 2024

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

Commits on Feb 6, 2024

  1. jsonrpsee v0.22

    niklasad1 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    3f7e94b View commit details
    Browse the repository at this point in the history
  2. fix race in chainhead

    niklasad1 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    250f109 View commit details
    Browse the repository at this point in the history
  3. fix some nits

    niklasad1 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    8bc7fd7 View commit details
    Browse the repository at this point in the history
  4. fix bad Cargo.toml fmt

    niklasad1 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    b0769b7 View commit details
    Browse the repository at this point in the history
  5. make test compile

    niklasad1 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    3d16db8 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. fix tests

    niklasad1 committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    a7032d9 View commit details
    Browse the repository at this point in the history
  2. jsonrpsee v0.22

    niklasad1 committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    be5052a View commit details
    Browse the repository at this point in the history
  3. fix more nits

    niklasad1 committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    6326b34 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dc856ac View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6d088e1 View commit details
    Browse the repository at this point in the history
  6. update Cargo.lock

    niklasad1 committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    b77a992 View commit details
    Browse the repository at this point in the history
  7. fix rustdocs

    niklasad1 committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    4802cc4 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. remove needless box

    niklasad1 committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    485393f View commit details
    Browse the repository at this point in the history
  2. address grumbles

    niklasad1 committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    bdc42f6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8bf3636 View commit details
    Browse the repository at this point in the history
  4. clarify breaking ws pings

    niklasad1 committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    3a78c54 View commit details
    Browse the repository at this point in the history
  5. fix nits

    niklasad1 committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    118480d View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

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

Commits on Feb 12, 2024

  1. Configuration menu
    Copy the full SHA
    e310c9d View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/na-bump-jsonrpsee-v0.22' into na…

    …-jsonrpsee-rate-limit-middleware
    niklasad1 committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    9407c78 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0f77b36 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

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

Commits on Feb 14, 2024

  1. Configuration menu
    Copy the full SHA
    0380d9a View commit details
    Browse the repository at this point in the history
  2. rewrite me

    niklasad1 committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    7958229 View commit details
    Browse the repository at this point in the history
  3. cleanup

    niklasad1 committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    4d92963 View commit details
    Browse the repository at this point in the history
  4. cargo fmt

    niklasad1 committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    3a9231d View commit details
    Browse the repository at this point in the history
  5. fix prdoc

    niklasad1 committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    9f60cd5 View commit details
    Browse the repository at this point in the history
  6. fix build again

    niklasad1 committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    d1daf61 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. Configuration menu
    Copy the full SHA
    6085873 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d2c6154 View commit details
    Browse the repository at this point in the history
  3. Update Cargo.toml

    niklasad1 authored Feb 15, 2024
    Configuration menu
    Copy the full SHA
    7804d43 View commit details
    Browse the repository at this point in the history
  4. fix nits

    niklasad1 committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    ca2d1f9 View commit details
    Browse the repository at this point in the history
  5. more nits

    niklasad1 committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    e1c293e View commit details
    Browse the repository at this point in the history
  6. Update substrate/client/service/src/config.rs

    Co-authored-by: James Wilson <james@jsdw.me>
    niklasad1 and jsdw authored Feb 15, 2024
    Configuration menu
    Copy the full SHA
    2fccb5c View commit details
    Browse the repository at this point in the history
  7. Update prdoc/pr_3301.prdoc

    Co-authored-by: James Wilson <james@jsdw.me>
    niklasad1 and jsdw authored Feb 15, 2024
    Configuration menu
    Copy the full SHA
    de24325 View commit details
    Browse the repository at this point in the history
  8. cli: change to NonZeroU32

    niklasad1 committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    7b5c885 View commit details
    Browse the repository at this point in the history
  9. Merge remote-tracking branch 'origin/na-jsonrpsee-rate-limit-middlewa…

    …re' into na-jsonrpsee-rate-limit-middleware
    niklasad1 committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    0fdc928 View commit details
    Browse the repository at this point in the history
  10. cargo fmt

    niklasad1 committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    94a7ac9 View commit details
    Browse the repository at this point in the history
  11. Update substrate/client/rpc-servers/src/middleware/rate_limit.rs

    Co-authored-by: James Wilson <james@jsdw.me>
    niklasad1 and jsdw authored Feb 15, 2024
    Configuration menu
    Copy the full SHA
    c2f0b6d View commit details
    Browse the repository at this point in the history
  12. address grumbles

    niklasad1 committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    16273a4 View commit details
    Browse the repository at this point in the history
  13. Merge remote-tracking branch 'origin/na-jsonrpsee-rate-limit-middlewa…

    …re' into na-jsonrpsee-rate-limit-middleware
    niklasad1 committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    d4841fd View commit details
    Browse the repository at this point in the history
  14. address grumbles

    niklasad1 committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    970d5a4 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c1c195a View commit details
    Browse the repository at this point in the history
  16. cargo fmt

    niklasad1 committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    4bc1b94 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. Configuration menu
    Copy the full SHA
    2451e27 View commit details
    Browse the repository at this point in the history
  2. Update substrate/client/cli/src/commands/run_cmd.rs

    Co-authored-by: Xiliang Chen <xlchen1291@gmail.com>
    niklasad1 and xlc authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    7fc7e11 View commit details
    Browse the repository at this point in the history