Files
serai/coins/monero/generators
Luke Parker d25c668ee4 Replace lazy_static with OnceLock inside monero-serai
lazy_static, if no_std environments were used, effectively required always
using spin locks. This resolves the ergonomics of that while adopting Rust std
code.

no_std does still use a spin based solution. Theoretically, we could use
atomics, yet writing our own Mutex wasn't a priority.
2023-06-28 21:45:57 -04:00
..
2023-01-11 23:05:31 -05:00

Monero Generators

Generators used by Monero in both its Pedersen commitments and Bulletproofs(+). An implementation of Monero's ge_fromfe_frombytes_vartime, simply called hash_to_point here, is included, as needed to generate generators.

This library is usable under no_std when the alloc feature is enabled.