Overview: node, consensus, addresses
Minter Go Node v3.3.0 architecture: Tendermint v0.34.19 consensus, IAVL v0.17.3 state tree, single-block finality, CheckTx vs DeliverTx stages, and Mx, Mp, Mt, Mc prefixes.
Minter Go Node v3.3.0 (commit 235a4a2f7a69452e1a3be50d91b5a51bcc0d2ada, node-grpc-gateway 53ffbb191668) compiles consensus, the financial state machine, and versioned state storage into a single Go binary with no user smart-contract bytecode VM.
Minter Go Node v3.3.0 stack
| Layer | Implementation and source files | Responsibility |
|---|---|---|
| Consensus and P2P | In-process Tendermint v0.34.19 via proxy.NewLocalClientCreator(app) (cmd/minter/cmd/node.go:200-254), CListMempool | P2P gossip on :26656, mempool replication, and two-phase Prevote / Precommit BFT voting |
| Execution dispatcher | NewExecutorV3(GetDataV3) (coreV2/minter/blockchain.go:164), knownUpdates: v300, v310, v320, v330 | Decodes and executes 37 active transaction handlers out of 38 declared opcodes 0x01..0x26 (0x13 is unregistered) |
| State tree and DB | IAVL v0.17.3 + tm-db v0.6.6 backed by goleveldb (tree/tree.go:33-114, cmd/utils/flags.go:42-67) | Stores balances, coins, SwapV2 pools, limit orders, candidates, and queues, producing a block AppHash |
| Units and chain IDs | 1 coin = 10^18 pip (coreV2/types/types.go); ChainID = 1 (Mainnet, base coin 0 = BIP), ChainID = 2 (Testnet, base coin 0 = MNT) | Arbitrary-precision integer accounting and cross-network replay protection |
Block interval and single-block finality
The protocol's nominal block interval is BLOCK_TIME_NOMINAL = 5 s: Mainnet periods derive from this constant (720-block reward and re-election interval, 17,280 blocks per day, 518,400 blocks per 30 days, 18,921,600 blocks per 3 years). Public Testnet (chainId = 2, base coin MNT, monthly epochs minter-testnet-YYYYMM) uses shortened protocol periods (120-block reward interval, order expiry phase H % 120 == 60, Unbond = 531, MoveStake = 177, LockStake = 34,560, Jail = 354, OrderExpire = 86,400, EditCandidateCommission = 1,593 blocks).
A block at height H is committed once validators controlling strictly more than 2/3 of active voting power sign Precommit votes for the same block hash:
- As long as fewer than
1/3of active stake is Byzantine, committed blocks cannot reorganize, so integrators do not wait for multi-block confirmation depth. - A transaction is final once included in a committed block with
code == 0("0"in JSON API v2 responses). - Signing two conflicting votes at the same height and round (
DuplicateVoteEvidence) burns5%of the candidate's stake and moves the remaining95%intoFrozenFundsfor518,400blocks (blockchain.go:336).
ABCI block stages (CheckTx vs DeliverTx)
CheckTx(mempool admission onPOST /v2/send_transaction): verifies canonical RLP,ChainID,tx.Nonce == account.Nonce + 1, signature recovery, and spendable balance againstCheckState. Rejected packets pay0 pip, andcode: "0"fromsend_transactionindicates mempool acceptance rather than block execution.BeginBlock: pays out maturedFrozenFunds(Unbond,MoveStake,Lock), updates the 24-block validator liveness window, processesDuplicateVoteEvidence, and checksSetHaltBlock (0x0F)quorum.DeliverTx(sequential block execution): oncode == 0, state changes apply toIAVL, the sender'sNonceincrements, and the fee entersrewardPool. Ifhandler.Runfails inDeliverTx(code != 0), state changes do not apply, theFailedTxfee is deducted, and the sender'sNoncedoes not increment (see Execution, gas and fees).EndBlockandCommit: sweeps expired limit orders (height % 720 == 360on Mainnet,height % 120 == 60on Testnet), distributesPayRewardsV5Fixrewards and recalculates the active validator set (720blocks on Mainnet,120blocks on Testnet), and commits the newIAVLAppHash.
The public Testnet (https://testnet.minter.network/status.json) resets cleanly to a fresh epoch minter-testnet-YYYYMM on the 1st of every month. Because ChainID = 2 is constant across epochs and account Nonce restarts at 0, a transaction signed by a reused user Mx... address in a prior epoch can be replayed in a later epoch if that address receives funds again. Service addresses rotate per epoch, and developers should generate a new disposable test mnemonic per epoch.
Entity prefixes and BIP-44 derivation
Every external Minter identifier carries a two-character prefix (coreV2/types/types.go):
| Prefix | Entity | Byte length | String length | Derivation formula |
|---|---|---|---|---|
Mx | Account or multisig address | 20 bytes | 42 chars | "Mx" + hexLower(Keccak256(uncompressedSecp256k1PubKey[1:65])[12:32]) |
Mp | Validator consensus public key | 32 bytes | 66 chars | "Mp" + hexLower(ed25519PublicKey32B) |
Mt | On-chain transaction hash | 32 bytes | 66 chars | "Mt" + hexLower(SHA256(rawSignedTxBytes)) (10 RLP fields) |
Mc | Off-chain check (RedeemCheck 0x09) | Variable RLP | Variable | "Mc" + hexLower(RLP([Nonce, ChainID, DueBlock, Coin, Value, GasCoin, Lock, V, R, S])) (10 fields) |
User secp256k1 keys derive from a BIP-39 mnemonic at BIP-44 path m/44'/60'/0'/0/{index}: the 20 address bytes after Mx match the EVM 0x address derived from the same public key.
Pre-NIST Keccak-256 computes Mx... addresses, the 9-field transaction signingHash, and Mc... check digests. Standard SHA-256 (FIPS 180-4) computes the on-chain Mt... transaction hash over the 10-field signed RLP bytes and derives the check passphrase scalar passKey = SHA256(passphrase) (see Encoding and signing).