Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MemBlockHeightSwCache<V>

A simple, in-memory cache implementation of the BlockHeightSwCache

Type parameters

  • V = any

Hierarchy

  • MemBlockHeightSwCache

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private storage

storage: {} = {}

Type declaration

  • [key: string]: Map<number, V>

Methods

contains

  • contains(key: string): Promise<boolean>

get

getLast

getLessOrEqual

put

Generated using TypeDoc