-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Backport of Ryo fix for a wallet caching bug #4247
Backport of Ryo fix for a wallet caching bug #4247
Conversation
Note, please see the other commits in the xref'ed pr. I didn't include them because our fork selection system works differently to yours. |
Looks ok, please use a sensible commit message though (eg, "node_rpc_proxy: fix fork earliest height caching" or so). |
7a2a429
to
c9f0084
Compare
c9f0084
to
10475ab
Compare
Changed. Please note my previous message, you also need to either:
As this is more of high-level "where do you want to go?" decision I didn't include it. Let me know if you want to go 12bad0a route and I can back port that code too. |
Can you explain why ? If the "unknown" fork is higher than the highest known one, we return max value and never use those rules. If it's between two known ones, we use it when we switch to the next one, so that looks OK to me at first glance. |
Problem is that In our case we have different features enabled on different versions for the testnet and mainnet so this is how it triggered a secondary bug (we assigned bulletproofs to a disabled v255). |
OK. It should currently return max uint64_t by my reading, and it changed a few months ago to support "jumps" in versions as aeon was doing that and this got backported. We'll do with just what you PRed, thanks. |
10475ab node_rpc_proxy: fix fork earliest height caching [RYO backport] (fireice-uk)
xref ryo-currency/ryo-currency#86