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

Prune state after sync state from trusted peers #790

Merged
merged 9 commits into from
Mar 9, 2020

Conversation

limebell
Copy link
Member

@limebell limebell commented Feb 7, 2020

Since trusted peers became not to transfer recent states, receiver with trusted validators prunes states after preloading finished.

@limebell limebell self-assigned this Feb 7, 2020
@limebell limebell force-pushed the feature/prune-state branch 6 times, most recently from beb99ef to 38c6a93 Compare February 10, 2020 07:10
@longfin longfin added the storage Related to storage (Libplanet.Store) label Feb 11, 2020
@limebell limebell requested a review from dahlia February 11, 2020 06:58
@limebell limebell force-pushed the feature/prune-state branch 2 times, most recently from 1a34671 to a783c51 Compare February 12, 2020 07:41
@codecov
Copy link

codecov bot commented Feb 12, 2020

Codecov Report

Merging #790 into master will increase coverage by 0.02%.
The diff coverage is 92.95%.

@@            Coverage Diff             @@
##           master     #790      +/-   ##
==========================================
+ Coverage   87.13%   87.15%   +0.02%     
==========================================
  Files         240      240              
  Lines       21406    21544     +138     
==========================================
+ Hits        18652    18777     +125     
- Misses       1440     1457      +17     
+ Partials     1314     1310       -4     
Impacted Files Coverage Δ
Libplanet/Store/DefaultStore.cs 85.55% <0.00%> (-0.57%) ⬇️
Libplanet.Tests/Net/SwarmTest.cs 96.62% <0.00%> (+0.09%) ⬆️
Libplanet/Net/NetMQTransport.cs 81.96% <0.00%> (+0.13%) ⬆️

@limebell limebell force-pushed the feature/prune-state branch 3 times, most recently from 118f6ed to 6648e1f Compare February 12, 2020 11:20
@limebell
Copy link
Member Author

/rebase

earlbread
earlbread previously approved these changes Feb 20, 2020
longfin
longfin previously approved these changes Feb 20, 2020
Libplanet/Net/Swarm.cs Outdated Show resolved Hide resolved
longfin
longfin previously approved these changes Feb 20, 2020
earlbread
earlbread previously approved these changes Feb 20, 2020
@earlbread
Copy link
Contributor

/rebase

earlbread
earlbread previously approved these changes Feb 24, 2020
@earlbread
Copy link
Contributor

/rebase

1 similar comment
@earlbread
Copy link
Contributor

/rebase

Libplanet.Tests/Store/StoreTest.cs Outdated Show resolved Hide resolved
Libplanet/Store/DefaultStore.cs Outdated Show resolved Hide resolved
@earlbread earlbread merged commit c4f36de into planetarium:master Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
storage Related to storage (Libplanet.Store)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants