mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Document a pair of panics requiring 256 GB of RAM/4 GB of a context
This commit is contained in:
@@ -60,6 +60,8 @@ pub struct Schnorrkel {
|
||||
|
||||
impl Schnorrkel {
|
||||
/// Create a new algorithm with the specified context.
|
||||
///
|
||||
/// If the context is greater than or equal to 4 GB in size, this will panic.
|
||||
pub fn new(context: &'static [u8]) -> Schnorrkel {
|
||||
Schnorrkel {
|
||||
context,
|
||||
|
||||
Reference in New Issue
Block a user