How ghostrider1092/coincync works
CoinCync is a privacy-first, RandomX proof-of-work cryptocurrency and reference node, with wallet, mining, explorer, and operator tooling. The principal workflow is: a wallet creates a private transaction, submits it to a node, and the node relays it, validates candidate blocks, updates chain state, and persists the result. The graph also preserves documented mining and explorer capabilities, plus consensus, networking, and storage layers. Relationships are limited to README statements and source-index references; unsampled runtime wiring is not assumed.
Main entry points: chain.rs Chain state machine · node.rs Node runtime · validation.rs Block validation · server.rs RPC server
Components 20
Wallet and interfaces
- Wallet operations
src/wallet/mod.rs - Private transaction send
src/wallet/send.rs - Chain explorer
src/explorer/app/11-router.js
Node and chain
- Node runtime
src/bin/node.rs - Chain state machine
src/chain.rs - Transaction mempool
src/mempool.rs - RPC server
src/rpc/server.rs
Consensus and privacy
- Block validation
src/consensus/validation.rs - RandomX proof of work
src/consensus/pow.rs - Privacy cryptography
src/crypto/mod.rs - Supply emission
src/emission/mod.rs
Network and mining
- Peer networking
src/network/node/peer_manager.rs - Peer bootstrap
src/network/bootstrap.rs - Block mining
src/mining/mod.rs - Mining rig
crates/coincync-rig/src/main.rs
State and storage
- Persistent database
src/db/mod.rs - Chain snapshots
src/snapshot/mod.rs - Runtime configuration
src/config.rs
Other components
- Wallet user
- Node operator
Connections 22
- Wallet user → Wallet operations: manages funds
README.md - Wallet operations → Private transaction send: prepares sends
src/wallet/mod.rs - Private transaction send → RPC server: submits transactions
- Node operator → Node runtime: runs node
README.md - Node runtime → Chain state machine: runs chain
- Chain state machine → Block validation: validates blocks
src/chain.rs - Chain state machine → Persistent database: persists chain state
src/chain.rs - Chain state machine → Transaction mempool: uses transactions
src/chain.rs - Transaction mempool → Chain state machine: checks chain state
src/mempool.rs - Block validation → RandomX proof of work: verifies work
src/consensus/mod.rs - Block validation → Privacy cryptography: checks privacy proofs
- Block validation → Supply emission: applies emission
- Node runtime → Peer networking: runs networking
- Peer networking → Peer bootstrap: bootstraps peers
src/network/node/peer_manager.rs - RPC server → Chain state machine: serves chain queries
src/rpc/server.rs - RPC server → Transaction mempool: serves mempool queries
src/rpc/server.rs - Chain snapshots → Chain state machine: exports or imports
src/snapshot/mod.rs - Chain snapshots → Persistent database: copies database
src/snapshot/mod.rs - Node runtime → Runtime configuration: loads configuration
- Block mining → RandomX proof of work: computes proof of work
- Mining rig → Block mining: mines for node
- Chain explorer → RPC server: queries chain data