From 34cbb358e0cec69b5e7d8900a8d85d0da447b555 Mon Sep 17 00:00:00 2001 From: Jude Nelson Date: Sun, 27 Jan 2019 18:24:51 -0500 Subject: [PATCH] this module now points to both the burn chain state and the stacks chain state --- src/chainstate/mod.rs | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/src/chainstate/mod.rs b/src/chainstate/mod.rs index fcb8efbd4..dfb892dc8 100644 --- a/src/chainstate/mod.rs +++ b/src/chainstate/mod.rs @@ -1,5 +1,5 @@ /* - copyright: (c) 2013-2018 by Blockstack PBC, a public benefit corporation. + copyright: (c) 2013-2019 by Blockstack PBC, a public benefit corporation. This file is part of Blockstack. @@ -17,22 +17,5 @@ along with Blockstack. If not, see . */ -pub mod db; -pub mod operations; - -pub struct ConsensusHash([u8; 20]); -impl_array_newtype!(ConsensusHash, u8, 20); -impl_array_hexstring_fmt!(ConsensusHash); -impl_byte_array_newtype!(ConsensusHash, u8, 20); - -pub struct BlockHeaderHash([u8; 32]); -impl_array_newtype!(BlockHeaderHash, u8, 32); -impl_array_hexstring_fmt!(BlockHeaderHash); -impl_byte_array_newtype!(BlockHeaderHash, u8, 32); - -pub struct VRFSeed([u8; 32]); -impl_array_newtype!(VRFSeed, u8, 32); -impl_array_hexstring_fmt!(VRFSeed); -impl_byte_array_newtype!(VRFSeed, u8, 32); - -pub const CHAINSTATE_VERSION: &'static str = "21.0.0.0"; +pub mod burn; +pub mod stacks;