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

chore(lib/trie): refactor ClearPrefixLimit #2298

Merged
merged 2 commits into from
Feb 24, 2022

Conversation

qdm12
Copy link
Contributor

@qdm12 qdm12 commented Feb 15, 2022

Changes

Tests

go test ./internal/trie/... ./lib/trie/...

Issues

Primary Reviewer

@qdm12 qdm12 force-pushed the qdm12-trie-triego-3-clearcachedfields branch from ef8ce63 to 5c892df Compare February 16, 2022 15:41
@qdm12 qdm12 force-pushed the qdm12-trie-triego-4-deleted branch from 8f085db to 2070396 Compare February 16, 2022 15:42
@qdm12 qdm12 force-pushed the qdm12-trie-triego-3-clearcachedfields branch from 5c892df to a73de15 Compare February 16, 2022 16:05
@qdm12 qdm12 force-pushed the qdm12-trie-triego-4-deleted branch from 2070396 to 787b0a0 Compare February 16, 2022 16:06
@codecov
Copy link

codecov bot commented Feb 16, 2022

Codecov Report

Merging #2298 (dbcff38) into development (625cbcf) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##           development    #2298   +/-   ##
============================================
  Coverage        57.55%   57.55%           
============================================
  Files              212      212           
  Lines            27952    27952           
============================================
  Hits             16089    16089           
- Misses           10228    10229    +1     
+ Partials          1635     1634    -1     
Flag Coverage Δ
unit-tests 57.55% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
lib/trie/trie.go 99.33% <100.00%> (+1.20%) ⬆️
dot/network/message.go 66.52% <0.00%> (-2.61%) ⬇️
dot/network/host.go 64.31% <0.00%> (-1.07%) ⬇️
dot/network/light.go 85.25% <0.00%> (-0.80%) ⬇️
dot/network/service.go 55.88% <0.00%> (+0.45%) ⬆️

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 625cbcf...dbcff38. Read the comment docs.

@qdm12 qdm12 force-pushed the qdm12-trie-triego-3-clearcachedfields branch from a73de15 to 4f45474 Compare February 16, 2022 18:40
@qdm12 qdm12 force-pushed the qdm12-trie-triego-4-deleted branch from 787b0a0 to de4a1c2 Compare February 16, 2022 18:41
@qdm12 qdm12 force-pushed the qdm12-trie-triego-3-clearcachedfields branch from 4f45474 to 8be2669 Compare February 17, 2022 18:49
@qdm12 qdm12 force-pushed the qdm12-trie-triego-4-deleted branch from de4a1c2 to e4b20d6 Compare February 17, 2022 18:51
@qdm12 qdm12 force-pushed the qdm12-trie-triego-3-clearcachedfields branch from 8be2669 to 9bdb659 Compare February 18, 2022 14:32
@qdm12 qdm12 force-pushed the qdm12-trie-triego-4-deleted branch from e4b20d6 to 73b4713 Compare February 18, 2022 14:32
@qdm12 qdm12 force-pushed the qdm12-trie-triego-3-clearcachedfields branch from 9bdb659 to 7e7d1a7 Compare February 18, 2022 16:55
@qdm12 qdm12 force-pushed the qdm12-trie-triego-4-deleted branch from 73b4713 to 5274093 Compare February 18, 2022 16:55
Base automatically changed from qdm12-trie-triego-3-clearcachedfields to development February 23, 2022 16:40
@qdm12 qdm12 force-pushed the qdm12-trie-triego-4-deleted branch from 5274093 to 6746d15 Compare February 23, 2022 16:42
- Pass limit and return values deleted count
- Do not pass limit as pointer downstream
@qdm12 qdm12 force-pushed the qdm12-trie-triego-4-deleted branch from 381e419 to dbcff38 Compare February 24, 2022 20:34
@qdm12 qdm12 merged commit b23ff56 into development Feb 24, 2022
@qdm12 qdm12 deleted the qdm12-trie-triego-4-deleted branch February 24, 2022 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants