Module hash_tables

Expand description

Generally LDK uses std’s HashMaps, however when building for no-std, 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.

Structs§

HashMap
A hash map implemented with quadratic probing and SIMD lookup.
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.