import type * as Address from '../Address.js' import type * as Hex from '../Hex.js' import { BoundedMap } from './lru.js' /** * Global caches, cleared together by `Caches.clear` and on every engine change. * Only `checksum` is public (`Caches.checksum`). */ export const caches = { checksum: /*#__PURE__*/ new BoundedMap(32_768), signatureHash: /*#__PURE__*/ new BoundedMap(8_192), }