Module hamt-sharding

Index

Type aliases

Variables

Functions

Type aliases

UserBucketOptions

UserBucketOptions: { bits?: number | undefined; hashFn: (value: Uint8Array) => Promise<Uint8Array> }

Type declaration

  • Optional bits?: number | undefined
  • hashFn: (value: Uint8Array) => Promise<Uint8Array>
      • (value: Uint8Array): Promise<Uint8Array>
      • Parameters

        • value: Uint8Array

        Returns Promise<Uint8Array>

Variables

Bucket

Bucket: Bucket

Functions

createHAMT