Skip to main content

inspect_downgrade

Function inspect_downgrade 

Source
pub fn inspect_downgrade(npub: &str) -> Result<Option<DowngradeBlock>, String>
Expand description

Whether this account’s DB was written by a newer Vector.

Read-only and side-effect free, so a host can call it before init_database and put a real dialog in front of the user rather than surfacing a failed boot.