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
The warp backend has a database that saves the UnsignedMessage upon AddMessage calls, mostly to address case when node gets restarted and changes its bls key. Follow up from warp backend is to have a periodic cleanup of database messages.
The current approach that Aaron and I took is to have a configurable cap on the maximum number of entries in the database. When the database has reached the cap, it will delete the oldest entry to make room for the new one. Therefore, there will be two logically separated databases keeping track of entries.
The current database, where messageID -> unsignedmessage
The new database, where, messageCount -> messageID.
This keeps the implementation simple. And, with a large enough cap, the only messages that would be flushed out are no longer relevant to the current state.
The warp backend has a database that saves the
UnsignedMessage
uponAddMessage
calls, mostly to address case when node gets restarted and changes its bls key. Follow up from warp backend is to have a periodic cleanup of database messages.Solutions:
The text was updated successfully, but these errors were encountered: