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.
- Random
State RandomStateis the default state forHashMaptypes.
Functions§
- hash_
map_ with_ capacity - Builds a new
HashMapwith the given capacity. - new_
hash_ map - Builds a new
HashMap.