mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-22 19:50:37 +00:00
Add pubkeystore mod
This commit is contained in:
parent
594c34388e
commit
ae9aef5bce
@ -1,5 +1,6 @@
|
||||
#[macro_use]
|
||||
extern crate slog;
|
||||
|
||||
pub mod pubkeystore;
|
||||
pub mod state;
|
||||
pub mod utils;
|
||||
|
7
src/pubkeystore/mod.rs
Normal file
7
src/pubkeystore/mod.rs
Normal file
@ -0,0 +1,7 @@
|
||||
use super::state::block::Block;
|
||||
|
||||
#[allow(unused_variables)]
|
||||
pub fn verify_block(block: &Block, proposer: &usize) -> bool {
|
||||
// TODO: fetch proposer pubkey and verify it.
|
||||
return true;
|
||||
}
|
@ -4,6 +4,7 @@ extern crate blake2;
|
||||
extern crate bytes;
|
||||
|
||||
use super::utils;
|
||||
use super::pubkeystore;
|
||||
|
||||
pub mod active_state;
|
||||
pub mod crystallized_state;
|
||||
|
Loading…
Reference in New Issue
Block a user