Rename block preprocessing

This commit is contained in:
Paul Hauner 2018-10-24 14:48:35 +02:00
parent e48e423b30
commit b17a15a378
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C
2 changed files with 2 additions and 5 deletions

View File

@ -54,11 +54,10 @@ impl From<SszBeaconBlockValidationError> for BeaconChainBlockError {
pub type BlockStatusTriple = (BeaconBlockStatus, Hash256, BeaconBlock);
impl<T> BeaconChain<T>
where T: ClientDB + Sized
{
pub fn process_incoming_block(&self, ssz: &[u8], rx_time: u64)
fn block_preprocessing(&self, ssz: &[u8], present_slot: u64)
-> Result<BlockStatusTriple, BeaconChainBlockError>
{
/*
@ -102,8 +101,6 @@ impl<T> BeaconChain<T>
let (attester_map, proposer_map) = self.attester_proposer_maps.get(&cry_state_root)
.ok_or(BeaconChainBlockError::UnknownAttesterProposerMaps)?;
let present_slot = 100; // TODO: fix this
/*
* Build a block validation context to test the block against.
*/

View File

@ -4,7 +4,7 @@ extern crate validator_induction;
extern crate validator_shuffling;
mod stores;
mod blocks;
mod block_preprocessing;
mod maps;
mod genesis;