This page covers advanced console operations: topology management, key rotation, and repair procedures. These operations go beyond day-to-day administration and typically require a deeper understanding of Canton’s internal state.Documentation Index
Fetch the complete documentation index at: https://cantonfoundation-issue-365-details-history.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Topology management
Canton uses a topology state to track the mapping between parties, participants, synchronizers, and cryptographic keys. You can inspect and modify this state through the console.Inspecting topology state
List the current topology transactions for a participant:Party-to-participant mappings
Each party is associated with one or more participants through a party-to-participant mapping. You can inspect these mappings to verify hosting configuration:- Observation — read-only visibility of contracts involving the party
- Confirmation — the participant can confirm transactions on behalf of the party
- Submission — the participant can submit commands for the party (local parties only)
The term “domain” appears in some older console commands and configuration keys. Canton has deprecated “domain” in favor of “synchronizer.” If you encounter
domain in command names or output, treat it as equivalent to synchronizer.Modifying topology state
Adding a new party to a participant:Key management and rotation
Canton nodes use cryptographic keys for signing and encryption. Over time, you may need to rotate keys for security hygiene or in response to a suspected compromise.Listing keys
View the keys currently registered on a participant:Generating new keys
Generate a new signing key:Key rotation
Rotating a key involves generating a new key, authorizing it through a topology transaction, and then revoking the old key. The specific steps depend on the key’s purpose:- Generate a new key (see above).
- Authorize the new key in the topology state by proposing the updated mapping.
- Wait for the topology change to become effective.
- Verify that the node operates correctly with the new key.
- Revoke the old key only after confirming the new key works.
Exporting and importing keys
For backup or migration purposes:Repair operations
Enabling repair commands
Repair commands are disabled by default. To enable them, add the following to your configuration:When repair is needed
Canton is designed to self-heal. Database outages, network interruptions, and similar infrastructure problems are handled automatically through retries and reconnection. Manual repair is a last resort for situations where automatic recovery cannot resolve the issue — typically corruption of the active contract set (ACS) or inability to process sequenced events. The general categories of repair scenarios are:- ACS inconsistencies between participants that share contracts, caused by an infrastructure failure that led to divergent state
- Blocked synchronizer connections where a participant cannot process events from a synchronizer and crashes on reconnection
- Lost synchronizer recovery where a synchronizer is permanently unavailable and contracts need to be migrated
Repair toolbox
The available repair operations include:- Adding or purging contracts from the ACS to fix inconsistencies between participants
- Ignoring faulty events to unblock a participant that is stuck processing a corrupted event
- Migrating contracts from a lost synchronizer to a new one
- Exporting and importing identity state, topology transactions, and DARs for full node rehydration
Repair macros
Repair macros are an advanced topic. They combine multiple repair commands into a single operation and are designed for use under the direction of technical support during incident recovery.
Coordinating multi-participant repair
When ACS inconsistencies affect multiple participants, the operators of all affected participants need to agree on which contracts to add or remove. This coordination is essential — unilateral changes by one operator can make the inconsistency worse. The typical process is:- Identify the inconsistency by examining ACS commitment mismatches in the logs (look for
ACS_COMMITMENT_MISMATCHerrors). - Agree with other affected operators on the target state.
- Apply the agreed-upon additions and removals on each participant.
- Verify that ACS commitments match after the repair.