-
Notifications
You must be signed in to change notification settings - Fork 725
[TierTwo] Introduce network requests manager #2686
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
Conversation
ddfc90a to
592bf23
Compare
e4f8b14 to
2d04d7b
Compare
|
Rebased, conflicts and compilation issue solved. Ready to go. |
2d04d7b to
88017e1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested ACK.
Aside a couple of nits, it seems that the netfulfilled manager is not persisted to disk. We should probably add
CFlatDB<CNetFulfilledRequestManager>("netrequests.dat", "magicNetRequestsCache").Dump(g_netfulfilledman);
to DumpTierTwo().
|
good catch, adding the dump. |
88017e1 to
4b91b0c
Compare
|
Updated per feedback. |
random-zebra
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the suggested change the argument pathDB of LoadTierTwo can be removed.
And unify peer full sync request blockage time in chainparams.
4b91b0c to
be1c0fc
Compare
|
great zebra 👍 , suggestions applied. |
random-zebra
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK be1c0fc
Fuzzbawls
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK be1c0fc
Built on top of #2684
An object in charge of cache and store tier two network requests information, preventing possible bans for asking the same data too often.