Module hash_tables

Expand description

Generally LDK uses hashbrown’s HashMaps with the std SipHasher and uses getrandom to opportunistically randomize it, if randomization is available.

This module simply re-exports the HashMap used in LDK for public consumption.

Modules§

hash_map
A hash map implemented with quadratic probing and SIMD lookup.

Structs§

RandomState
RandomState is the default state for HashMap types.

Functions§

hash_map_with_capacity
Builds a new HashMap with the given capacity.
new_hash_map
Builds a new HashMap.
new_hash_set
Builds a new HashSet.

Type Aliases§

HashMap
The HashMap type used in LDK.
HashSet
The HashSet type used in LDK.