mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-19 18:20:52 +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>;
|
||
|
}
|