mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-26 01:03:40 +00:00
Optimization: reduce BLS decompression (#766)
* Add RwLock-style caching for BLS pubkeys * Tidy docker ignore * Remove RwLocks * Merge in master
This commit is contained in:
@@ -3,7 +3,7 @@ use super::*;
|
||||
pub mod impls;
|
||||
|
||||
/// Returned when SSZ decoding fails.
|
||||
#[derive(Debug, PartialEq)]
|
||||
#[derive(Debug, PartialEq, Clone)]
|
||||
pub enum DecodeError {
|
||||
/// The bytes supplied were too short to be decoded into the specified type.
|
||||
InvalidByteLength { len: usize, expected: usize },
|
||||
|
||||
Reference in New Issue
Block a user