this module now points to both the burn chain state and the stacks chain state

This commit is contained in:
Jude Nelson
2019-01-27 18:24:51 -05:00
parent 7e18832c3b
commit 34cbb358e0

View File

@@ -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 <http://www.gnu.org/licenses/>.
*/
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;