mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-09 04:21:22 +00:00
33b1e6ddf4
Addresses issue #12
25 lines
354 B
Rust
25 lines
354 B
Rust
use std::sync::Arc;
|
|
use super::db::ClientDB;
|
|
use slog::Logger;
|
|
|
|
pub enum BlockStatus {
|
|
Valid,
|
|
AlreadyKnown,
|
|
TooOld,
|
|
TimeInvalid,
|
|
UnknownPoWHash,
|
|
NoAttestations,
|
|
InvalidAttestation,
|
|
NotProposerSigned,
|
|
}
|
|
|
|
pub fn process_unverified_blocks(
|
|
_serialized_block: &[u8],
|
|
_db: Arc<ClientDB>,
|
|
_log: Logger)
|
|
{
|
|
//
|
|
}
|
|
|
|
|