Custom overlays
Sets up a custom overlay to speed up synchronization for a group of nodes.
Operational notes
- Overlays require MyTonCtrl to run in
validatormode with an accessible validator console; the commands rely on console RPCs (addcustomoverlay,showcustomoverlays,delcustomoverlay). - Keep ADNL IDs in the configuration consistent with the node’s current validator keys. The helper refuses to deploy static overlays when the node lacks the necessary IDs.
- Dynamic overlays are re-evaluated each election. MyTonCtrl automatically removes stale overlays tied to old election IDs and creates new ones as rounds roll over.
add_custom_overlay
Purpose: Register a custom overlay configuration and deploy it to the validator console.
Syntax
add_custom_overlay <overlay-name> <path-to-config>Behavior
<overlay-name>is an arbitrary label used inside MyTonCtrl and as the validator-console overlay name.<path-to-config>must point to a JSON file describing overlay nodes. Each key is an ADNL address (hex) and each value specifies whether the node is ablock_senderormsg_sender(msg_senderentries may include amsg_sender_priority).- Configuration files can include an
@validatorskey to denote dynamic overlays. In that case, MyTonCtrl stores the config and schedules validator-console updates for the current and next election rounds. - Static overlays are converted immediately via
addcustomoverlayand require that your node owns the listed ADNL IDs; otherwise, the command prints an error. - MyTonCtrl caches the config in its database, so overlays persist across restarts.
Example
add_custom_overlay telemetry-overlay /etc/mytonctrl/overlays/telemetry.jsonSample config structure
{
"3b53...d1": { "block_sender": true },
"@validators": ["0a1f...bc", "292e...7a"],
"7c9d...4e": { "msg_sender": true, "msg_sender_priority": 5 }
}- Keys other than
@validatorsmust be ADNL IDs in hex form. - For
msg_senderentries, setmsg_sendertotrueand optionally includemsg_sender_priority(higher numbers mean higher priority). - Include
@validatorsonly when you want the overlay to track the current validator set automatically.
list_custom_overlays
Purpose: Inspect every overlay definition stored by MyTonCtrl.
Syntax
list_custom_overlaysBehavior
- Prints each overlay name and the JSON configuration saved in the local database.
- Highlights whether an overlay is dynamic (
@validatorspresent) or static. - Helpful for auditing definitions before deploying them on another node.
delete_custom_overlay
Purpose: Remove a stored overlay and, when possible, detach it from the validator console.
Syntax
delete_custom_overlay <overlay-name>Behavior
- Deletes
<overlay-name>from the MyTonCtrl database. - If the overlay was dynamic (tracked via
@validators), the validator console updates within ~1 minute to remove it automatically. - For static overlays, MyTonCtrl issues
delcustomoverlay <overlay-name>so the validator console stops broadcasting it immediately. If the console rejects the operation, the command reports an error so you can intervene manually.
Example
delete_custom_overlay telemetry-overlayLast updated on
Liquid staking
Liquid staking mode orchestrates controller deployment and maintenance for jetton-based staking pools. The commands below cover controller lifecycle management, funding flows, validator-set updates, and diagnostic helpers.
Utilities
Utility commands provide quick inspection and helper tools for accounts, bookmarks, governance artifacts, and validator data.