pub fn new_health_cache_skipping_missing_banks_and_bad_oracles(
account: &MangoAccountRef<'_>,
retriever: &impl AccountRetriever,
now_ts: u64
) -> Result<HealthCache>
Expand description
Generate a special HealthCache for an account and its health accounts where nonnegative token positions for bad oracles are skipped as well as missing banks.
This health cache must be used carefully, since it doesn’t provide the actual account health, just a value that is guaranteed to be less than it.