From 2b818d0c70e9131a71fc88f95421f917d00d4331 Mon Sep 17 00:00:00 2001 From: Grant Wuerker Date: Wed, 26 Dec 2018 12:10:01 -0600 Subject: [PATCH] deleted deposit types --- beacon_chain/types/src/deposit.rs | 8 -------- beacon_chain/types/src/deposit_data.rs | 7 ------- beacon_chain/types/src/deposit_input.rs | 9 --------- 3 files changed, 24 deletions(-) delete mode 100644 beacon_chain/types/src/deposit.rs delete mode 100644 beacon_chain/types/src/deposit_data.rs delete mode 100644 beacon_chain/types/src/deposit_input.rs diff --git a/beacon_chain/types/src/deposit.rs b/beacon_chain/types/src/deposit.rs deleted file mode 100644 index 77724000f..000000000 --- a/beacon_chain/types/src/deposit.rs +++ /dev/null @@ -1,8 +0,0 @@ -use super::{Hash256}; -use super::deposit_data::DepositData; - -pub struct Deposit { - pub merkle_branch: Vec, - pub merkle_tree_index: u64, - pub deposit_data: DepositData -} diff --git a/beacon_chain/types/src/deposit_data.rs b/beacon_chain/types/src/deposit_data.rs deleted file mode 100644 index ce187d310..000000000 --- a/beacon_chain/types/src/deposit_data.rs +++ /dev/null @@ -1,7 +0,0 @@ -use super::deposit_input::DepositInput; - -pub struct DepositData { - pub deposit_input: DepositInput, - pub value: u64, - pub timestamp: u64 -} diff --git a/beacon_chain/types/src/deposit_input.rs b/beacon_chain/types/src/deposit_input.rs deleted file mode 100644 index 16526cec1..000000000 --- a/beacon_chain/types/src/deposit_input.rs +++ /dev/null @@ -1,9 +0,0 @@ -use super::bls::{PublicKey, Signature}; -use super::{Hash256}; - -pub struct DepositInput { - pub pubkey: PublicKey, - pub withdrawal_credentials: Hash256, - pub randao_commitment: Hash256, - pub proof_of_possession: Signature -}