-
Notifications
You must be signed in to change notification settings - Fork 646
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
Clean up bitasset_data during maintenance #518
Comments
Please be careful, the cleanup may affect the logic here. |
This is actually a consensus change. Theoretically, since feed expiration period of an asset can change via |
This is a behavior change, thus need a BSIP to clearly define the specifications, E.G. "how old is too old". |
@abitmore bitassets have a feed life time. If that timeframe is exceeded, the feed is useless and IMHO can be removed from the object |
currently as commented by @abitmore we need to wrap #598 inside hardfork and do test cases IMHO. not sure why a bsip will be needed here. |
It's a change of behaviour / protocol change, therefore a BSIP is required. |
ok, i'll create it tomorrow. |
Done with #889. Closing. |
I just noticed that HKD (and others) contain lots of long-expired pricefeed entries. These clutter up the database and cause unnecessary burden on undo_db.
IMO we should remove expired feed entries from bitasset_data during maintenance.
The text was updated successfully, but these errors were encountered: