mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-11 18:04:18 +00:00
8 lines
275 B
Rust
8 lines
275 B
Rust
use types::Signature;
|
|
|
|
/// Signs message using an internally-maintained private key.
|
|
pub trait Signer {
|
|
fn sign_block_proposal(&self, message: &[u8], domain: u64) -> Option<Signature>;
|
|
fn sign_randao_reveal(&self, message: &[u8], domain: u64) -> Option<Signature>;
|
|
}
|