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
[Merged by Bors] - atxs: regossip atxs in publish epoch #5097
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #5097 +/- ##
=========================================
- Coverage 77.0% 77.0% -0.1%
=========================================
Files 257 257
Lines 30278 30320 +42
=========================================
+ Hits 23339 23368 +29
- Misses 5410 5420 +10
- Partials 1529 1532 +3
|
bors merge |
closes: #5068 there is an indication that not all atxs are propagated before target epoch starts. it results in efficiency in some data structures and in future will lead to lost rewards. if node was offline when built an atx or experienced some other problems, the only chance it has to broadcast an atx is when peers asks for it (atx sync). that approach is in general not scalable and naive about concurrent requests. as atx are not large (~1KB) we can regossip them periodically. if peer already stores this atx it will not gossip it futher
4a661fc
to
e5bef32
Compare
Canceled. |
bors merge |
closes: #5068 there is an indication that not all atxs are propagated before target epoch starts. it results in efficiency in some data structures and in future will lead to lost rewards. if node was offline when built an atx or experienced some other problems, the only chance it has to broadcast an atx is when peers asks for it (atx sync). that approach is in general not scalable and naive about concurrent requests. as atx are not large (~1KB) we can regossip them periodically. if peer already stores this atx it will not gossip it futher
Pull request successfully merged into develop. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
closes: #5068
there is an indication that not all atxs are propagated before target epoch starts. it results in efficiency in some data structures and in future will lead to lost rewards.
if node was offline when built an atx or experienced some other problems, the only chance it has to broadcast an atx is when peers asks for it (atx sync). that approach is in general not scalable and naive about concurrent requests.
as atx are not large (~1KB) we can regossip them periodically. if peer already stores this atx it will not gossip it futher