dusk-blockchain
dusk-blockchain copied to clipboard
Add experimental rate limiter on non-broadcast messages
fixes #1402
For the present, this PR should be used on testing rate limiter on devnet.
Codecov Report
Merging #1404 (4da99dd) into master (828364b) will decrease coverage by
9.17%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## master #1404 +/- ##
==========================================
- Coverage 50.51% 41.33% -9.18%
==========================================
Files 145 144 -1
Lines 7544 9434 +1890
==========================================
+ Hits 3811 3900 +89
- Misses 3066 4904 +1838
+ Partials 667 630 -37
Impacted Files | Coverage Δ | |
---|---|---|
pkg/core/consensus/testing/node.go | 0.00% <0.00%> (-93.55%) |
:arrow_down: |
...ore/consensus/blockgenerator/candidate/testutil.go | 0.00% <0.00%> (-90.91%) |
:arrow_down: |
pkg/core/consensus/testing/utils.go | 0.00% <0.00%> (-75.61%) |
:arrow_down: |
...core/consensus/blockgenerator/candidate/genesis.go | 0.00% <0.00%> (-69.24%) |
:arrow_down: |
...nsensus/blockgenerator/candidate/blockgenerator.go | 0.00% <0.00%> (-64.29%) |
:arrow_down: |
pkg/gql/query/transactions.go | 13.43% <0.00%> (-52.55%) |
:arrow_down: |
pkg/util/nativeutils/eventbus/eventbus.go | 57.14% <0.00%> (-42.86%) |
:arrow_down: |
pkg/rpc/client/session.go | 26.19% <0.00%> (-42.39%) |
:arrow_down: |
pkg/rpc/client/client.go | 3.73% <0.00%> (-36.61%) |
:arrow_down: |
pkg/core/consensus/reduction/aggregator.go | 56.25% <0.00%> (-35.06%) |
:arrow_down: |
... and 166 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update d21bb7e...4da99dd. Read the comment docs.