Crate chaincraft_rust

Source
Expand description

Chaincraft - A blockchain education and prototyping platform

This library provides a clean, well-documented implementation of core blockchain concepts with a focus on performance, security, and educational value.

Re-exports§

pub use error::ChaincraftError;
pub use error::Result;
pub use network::PeerId;
pub use network::PeerInfo;
pub use node::ChaincraftNode;
pub use shared::SharedMessage;
pub use shared::SharedObject;
pub use shared::SharedObjectId;
pub use shared::SharedObjectRegistry;
pub use shared_object::ApplicationObject;
pub use shared_object::ApplicationObjectRegistry;
pub use shared_object::SimpleSharedNumber;

Modules§

consensus
Consensus mechanisms for distributed agreement
crypto
Cryptographic primitives for blockchain operations
discovery
Peer discovery system for Chaincraft
error
Error types for the Chaincraft library
examples
network
Networking module for peer-to-peer communication
node
Chaincraft node implementation
shared
Shared objects and messages for distributed state management
shared_object
Enhanced shared object implementation with application-specific logic
storage
Storage implementation for chain data
types
Common type definitions
utils
Utility functions and helpers

Constants§

DEFAULT_GOSSIP_INTERVAL_MS
Default gossip interval in milliseconds
DEFAULT_MAX_PEERS
Maximum number of peers by default
DEFAULT_PORT
Default network port for Chaincraft nodes
DESCRIPTION
NAME
VERSION