mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-24 16:19:50 +08:00
this module now points to both the burn chain state and the stacks chain state
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user