clementine_core::bitvm_client

Static BITVM_CACHE

Source
pub static BITVM_CACHE: OnceLock<BitvmCache>
Expand description

Global BitVM cache wrapped in a OnceLock.

ยงUsage

Use with BITVM_CACHE.get_or_init(load_or_generate_bitvm_cache) to get the cache or optionally load it. The cache will be initialized from a file, and if that fails, the fresh data will be generated.