mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
`read_vec` was unbounded. It now accepts an optional bound. In some places, we are able to define and provide a bound (Bulletproofs(+)' `L` and `R` vectors). In others, we cannot (the amount of inputs within a transaction, which is not subject to any rule in the current consensus other than the total transaction size limit). Usage of `None` in those locations preserves the existing behavior.
Monero Generators
Generators used by Monero in both its Pedersen commitments and Bulletproofs(+).
An implementation of Monero's hash_to_ec is included, as needed to generate
the generators.
This library is usable under no-std when the std feature (on by default) is
disabled.
Cargo Features
std(on by default): Enablesstd(and with it, more efficient internal implementations).