How eldoreondev/slitecoin works
SLiteCoin (STC) is a decentralized digital-currency node based on a Bitcoin-style codebase, with a Mimblewimble extension (MWEB) and a wallet. A typical user workflow is to submit a wallet or RPC request, construct or relay a transaction, validate it against consensus rules, and update chain state; mining produces blocks for that same validation and state path. The tree also shows networking, indexes, a GUI, and MWEB-specific node and wallet modules. The README describes the project but not runtime wiring, so most links are dashed and unverified; unsampled implementations are not treated as inspected.
Main entry points: chain.cpp Chain State · context.cpp Wallet Services · server.cpp RPC Server · bitcoind.cpp Node Daemon
Components 24
Applications and APIs
- RPC Client
src/bitcoin-cli.cpp - RPC Server
src/rpc/server.cpp - Node Daemon
src/bitcoind.cpp - Desktop GUI
src/qt/bitcoingui.cpp - RPC Methods
src/rpc/blockchain.cpp
Chain and Consensus
- Transaction Policy
src/policy/policy.cpp - Transaction Validation
src/consensus/tx_verify.cpp - Chain State
src/chain.cpp - Block Mining
src/miner.cpp - MWEB Node
src/mweb/mweb_node.cpp
Peer Networking
- Peer Network
src/net.cpp - Message Processing
src/net_processing.cpp
Wallet and MWEB
- Wallet Services
src/wallet/context.cpp - Wallet UI
src/qt/walletcontroller.cpp - Transaction Builder
src/libmw/src/wallet/TxBuilder.cpp - MWEB Wallet
src/mweb/mweb_wallet.cpp - MWEB Transactions
src/mweb/mweb_transact.cpp
State and Cryptography
- UTXO State
src/coins.cpp - Block Files
src/flatfile.cpp - Chain Indexes
src/index/base.cpp - MWEB Databases
src/libmw/src/db/common/Database.h - Cryptography
src/secp256k1-zkp/include/secp256k1.h - LevelDB Storage
src/leveldb/db/version_set.cc
Other components
- User
Connections 23
- User → RPC Client: submits request
- RPC Client → RPC Server: sends RPC
- User → Desktop GUI: uses wallet
- Desktop GUI → Wallet UI: manages wallet
- Wallet UI → Wallet Services: requests actions
- RPC Server → RPC Methods: dispatches calls
- RPC Methods → Wallet Services: requests wallet work
- Wallet Services → Transaction Builder: builds transactions
- Wallet Services → MWEB Wallet: uses MWEB
- MWEB Wallet → MWEB Transactions: creates transactions
- Node Daemon → RPC Server: starts service
- Node Daemon → Peer Network: starts networking
- Peer Network → Message Processing: delivers messages
- Message Processing → Transaction Policy: submits transactions
- Transaction Policy → Transaction Validation: checks transactions
- Transaction Validation → Chain State: validates updates
- Block Mining → Chain State: proposes blocks
- Chain State → UTXO State: updates UTXOs
- Chain State → Block Files: stores blocks
- Chain State → Chain Indexes: updates indexes
- MWEB Node → MWEB Databases: uses MWEB state
- MWEB Transactions → Cryptography: uses cryptography
- UTXO State → LevelDB Storage: persists state