Documentation
¶
Overview ¶
Package bmtpool provides easy access to binary merkle tree hashers managed in as a resource pool.
Index ¶
Constants ¶
View Source
const Capacity = 32
Variables ¶
This section is empty.
Functions ¶
func Rebuild ¶
func Rebuild()
Rebuild discards the current pool and constructs a new one reading the latest bmt.SIMDOptIn() value. Must be called exactly once during startup after CLI flag parsing and before the first external Get, so that --use-simd-hashing takes effect and no in-flight hashers are referencing the old pool's tree. The Prover pool is intentionally not rebuilt.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.