You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to make a migrate function, that reads every 'live node' in the node db, and derives the corresponding fastNode if its a leaf, and sets it. This should be a standalone function which we can test.
Then we should make an automatic way to test if the binary was upgraded. One way to do this is by making an entry in the nodedb at a specific key (perhaps with a v prefix), and the value at that key be a version number. If the version doesn't exist, or if its 1, then run this migration to get the new data.
The text was updated successfully, but these errors were encountered:
IAVL fast node migration code
v
prefix), and the value at that key be a version number. If the version doesn't exist, or if its1
, then run this migration to get the new data.The text was updated successfully, but these errors were encountered: