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_object::ApplicationObject;
pub use shared_object::ApplicationObjectRegistry;
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