a74a0733ac
Added new checks for forked blocks. Added options table. Added posibility to replace blocks in DB by more appropriate forks. Divided transactions table to domains and zones tables. Added a timestamp to domains and zones table, it will give us possibility to purge old domains. Changed difficulty check to check head and tail (sum of them) of the hash. Added encrypted (by Chacha20) domain name to DomainData, added contacts and owners vectors for it too. Added yggdrasil flag to ZoneData - it will restrict all IPs for domains in particular zone to Yggdrasil only. Changed difficulties of various block types. Added a temporary (for a run) unique ID to all handshakes. Start of signing blocks mining will be after 60 seconds after full block. Added mining status to statusbar.
30 lines
626 B
Rust
30 lines
626 B
Rust
pub use blockchain::block::Block;
|
|
pub use blockchain::transaction::Transaction;
|
|
|
|
pub use crate::blockchain::Chain;
|
|
pub use crate::context::Context;
|
|
pub use crate::miner::Miner;
|
|
pub use crate::p2p::Network;
|
|
pub use crate::settings::Settings;
|
|
pub use crate::bytes::Bytes;
|
|
pub use crate::keys::Keystore;
|
|
pub use crate::x_zones::ExternalZones;
|
|
pub use crate::simplebus::*;
|
|
pub use crate::commons::*;
|
|
|
|
pub mod blockchain;
|
|
pub mod commons;
|
|
pub mod simplebus;
|
|
pub mod keys;
|
|
pub mod miner;
|
|
pub mod context;
|
|
pub mod event;
|
|
pub mod p2p;
|
|
pub mod dns;
|
|
pub mod dns_utils;
|
|
pub mod settings;
|
|
pub mod bytes;
|
|
pub mod x_zones;
|
|
pub mod crypto;
|
|
|