Validator
Validator mode automates governance voting, election participation, efficiency tracking, and the local collator registry.
Operational notes
- These commands require
validatormode to be enabled. They interact with the validator console and expect the validator wallet to be configured and funded. - Offer hashes, complaint hashes, and election identifiers come from
status, lite-client, or governance dashboards. Use the exact strings reported there to avoid signature failures. - When managing collators, follow up with
setup_collator(from collator mode) on the node that actually produces blocks. The validator-side registry maintained here determines which collators are accepted and how they behave during elections.
Governance and elections
vo
Purpose: Vote for one or more governance offers (configuration proposals) using the validator wallet.
Syntax
vo <offer-hash> [additional_offer_hashes...]Behavior
- Accepts one or more offer hashes exactly as reported by commands like
statusorol. Hashes are typically base64 strings. - Fetches the full offer list, saves each voted offer locally for tracking, and submits signed votes through the validator wallet.
- Skips unknown hashes and raises an error if the vote submission fails.
Example
vo xKF+2Cj4wP6w2y... xKF+2Cj4wP6w2y...ve
Purpose: Cast the validator election entry for the upcoming round.
Syntax
veBehavior
- Runs the
Electionshelper frommytoncore, which prepares and sends the election request using the validator wallet. - Reuses configuration stored in the local database (stake amount, elector parameters, etc.).
- Prints
VoteElectionEntry - OKwhen the elector accepts the query.
vc
Purpose: Vote on a validator complaint by pairing the election round with the complaint hash.
Syntax
vc <election-id> <complaint-hash>Behavior
<election-id>is the integer identifier of the round (fromstatusor elector logs).<complaint-hash>is usually base64 and matches the hash reported in complaint notifications.- Delegates to
VoteComplaint, which signs and broadcasts the vote via the validator wallet.
Example
vc 345678901234567890 xFFmZ...YPerformance diagnostics
check_ef
Purpose: Review validator efficiency for the previous and current validation rounds.
Syntax
check_efBehavior
- Collects validator lists for the current and previous rounds, locates the local ADNL, and prints block production statistics.
- Highlights time ranges for each round, shows created versus expected masterchain blocks, and colorizes efficiency percentages (green when ≥90%).
- Warns when efficiency data is unavailable (e.g., when the validator joined as a shard-only participant or the round has just started).
Local collator registry
add_collator
Purpose: Add a collator entry to the validator console’s collator list and configure optional behaviors.
Syntax
add_collator <adnl-id> <workchain>:<shard_hex> [--self-collate true|false] [--select-mode random|ordered|round_robin]Behavior
<adnl-id>accepts base64 or hex. Hex values are automatically converted to base64 before storing.<workchain>:<shard_hex>identifies the shard (e.g.,0:2000000000000000). Use the same format shown in the validator console output.- If the shard already exists in the collator list, the command appends the ADNL and optionally updates
self_collateorselect_mode. Otherwise, it creates a new shard entry using defaults (self_collate=true,select_mode=random). - Persists the updated list using
set-collators-listso the validator console starts assigning work to the new collator.
Example
add_collator 2F3C7A...B91 0:2000000000000000 --self-collate true --select-mode ordereddelete_collator
Purpose: Remove one or more collator entries from the validator console list.
Syntax
delete_collator [<workchain>:<shard_hex>] <adnl-id>Behavior
- Accepts an optional shard selector. When omitted, the ADNL is removed from every shard where it appears.
<adnl-id>can be base64 or hex; hex values are converted automatically.- After removal, the command cleans up empty shard sections in the stored collator list.
Examples
delete_collator 0:2000000000000000 2F3C7A...B91
delete_collator 2F3C7A...B91print_collators
Purpose: Inspect the current collator list and optional liveness information.
Syntax
print_collators [--json]Behavior
- By default, prints the human-readable output from
show-collators-list, augmented with online/offline status whencollation-manager-statsprovides data. - With
--json, returns the parsed collator list in JSON format, matching the structure passed toset-collators-list.
Examples
print_collators
print_collators --jsonreset_collators
Purpose: Clear the entire collator list stored in the validator console.
Syntax
reset_collatorsBehavior
- Calls
clear-collators-listand removes all shard/ADNL mappings. - Reports an error if the console rejects the reset; otherwise, prints
reset_collators - OK.
Last updated on
Wallet
Wallet mode provides convenience utilities for generating, activating, importing, exporting, and moving funds between TON wallets managed by MyTonCtrl.
Collator
Collator mode lets a node produce blocks for selected shardchains without running the full validator stack. The commands below help you configure local collators, adjust the validator allowlist, and manage collator-specific configuration JSON.