📖Lightweight Ledger
To ensure efficiency and scalability, KMCoin employs a streamlined ledger system designed to minimize storage requirements and sync times.
Ledger Packing
Block Formation: Transactions are grouped into blocks, and each block is hashed to create a unique identifier.
Ledger Files: The ledger is divided into three files:
ledgerhashes.log
: Contains hashes of previous ledgers.playerinfo.log
: Stores player wallet addresses, balances, transaction numbers, and public keys.ledgercurrent.log
: Records the most recent blocks and transactions.
Consensus Hash
Hash Calculation: The consensus hash is computed using SHA-256 hashes of
ledgerhashes.log
,playerinfo.log
, andledgercurrent.log
.Sync Process: Players can sync with the network by downloading these three files, which total less than 330MB for a network size less than 1 million players.
Last updated