Skip to Content
MCN Blockchain

Checkpoint sync

Start new MCN beacon nodes from finalized state through the Beacon API.

A synced MCN Prysm node provides finalized consensus state and its matching block through the Beacon API. New nodes use this starting point while Geth downloads execution data. Checkpoint sync applies when creating a new Prysm database.

Start a new node

Install the clients and run from the start-mcn directory. New Prysm databases use the MCN checkpoint API by default.

./start
./start logs
./start wait

Prysm logs Downloaded checkpoint sync state and block. Its initial head_slot is near the finalized checkpoint, then it downloads remaining blocks and validates execution. Use ./start wait to check node readiness.

The default source is https://rpc.mcnblockchain.com. To choose another trusted source, set MCN_CHECKPOINT_URL. For a systemd service, keep the source URL in a drop-in.

mkdir -p "$HOME/.config/systemd/user/mcn-node.service.d"
cat > "$HOME/.config/systemd/user/mcn-node.service.d/checkpoint.conf" <<'UNIT'
[Service]
Environment=MCN_CHECKPOINT_URL=https://rpc.mcnblockchain.com
UNIT
systemctl --user daemon-reload

On subsequent starts, Prysm reuses its database. To load a new database from genesis, set MCN_CHECKPOINT_URL= to an empty value. To choose another source, set MCN_CHECKPOINT_URL to its Beacon API base URL. The source must be an MCN Mainnet node with completed sync, execution validation, and a finalized checkpoint.

Inspect the source

curl -fsS https://rpc.mcnblockchain.com/eth/v1/beacon/genesis | jq .data
curl -fsS https://rpc.mcnblockchain.com/eth/v1/node/syncing | jq .data
curl -fsS https://rpc.mcnblockchain.com/eth/v1/beacon/states/head/finality_checkpoints | jq .data.finalized

MCN's genesis validators root is 0x6d7b05bfda475be67119697fe38000be692cbff0cbd78890eae8d40823e0cf91, and its genesis fork version is 0x23251200. Compare the finalized root at the same epoch with another trusted MCN node when establishing trust.

Provider endpoints

Prysm listens locally on 127.0.0.1:3500. The HTTPS proxy serves selected GET routes and limits request rates and concurrent connections.

DataPath
Network identity/eth/v1/beacon/genesis
Source readiness/eth/v1/node/syncing
Finalized checkpoint/eth/v1/beacon/states/head/finality_checkpoints
Network configuration/eth/v1/config/spec
Finalized SSZ state/eth/v2/debug/beacon/states/finalized
SSZ block/eth/v2/beacon/blocks/{slot_or_root}

Prysm checkpoint sync

On this page