For the complete documentation index, see llms.txt. This page is also available as Markdown.

Manage

This section details the management of Canopy nodes.

Network Interfaces

Endpoints

Familiarize yourself with the created endpoints from the Quickstart guide

  • Grafana: https://monitoring.<YOUR_DOMAIN>

  • Web wallet for CNPY: https://wallet.<YOUR_DOMAIN>

  • Block Explorer for CNPY: https://explorer.<YOUR_DOMAIN>


Ports

Expose the below ports via firewall

Canopy Node Port

  • 9001: TCP P2P communication for the node

Load Balancer Ports: These Only apply when the monitoring stack is used

  • 80: HTTP traffic (redirects to HTTPS in production)

  • 443: HTTPS traffic (SSL/TLS)

Familiarize yourself with the internal ports. These are not exposed outside of docker but could be useful for debugging and troubleshooting

Monitoring Ports: These only apply when the monitoring stack is used

  • 3000: Grafana web interface

  • 9090: Prometheus metrics endpoint

  • 9093: AlertManager endpoint

  • 8080: cAdvisor metrics

  • 3100: Loki log aggregation

Canopy service ports

  • 50000: Wallet service for the node (exposed via Caddy)

  • 50001: Explorer service for the node (exposed via Caddy)

  • 50002: RPC service for the node (exposed via Caddy)

  • 50003: Admin RPC service for the node (exposed via Caddy)


Validator Transactions

When managing your Validator, there are a few key transaction types to be aware of

  • Stake: Register a validator for operation

  • Edit-Stake: Edit an existing validator

  • Pause: Temporarily remove an existing validator from active operation

  • Unpause: Re-enlist a paused validator for operation

  • Unstake: Permanently remove a validator from active service

These transactions may be executed over CLI, RPC, or the built-in Web Wallet.


STAKE TRANSACTION

Stake form fields:

  • Staking (Operator) address: where subsequent validator transactions like (edit-stake and unstake) should be sent from.

  • Rewards Address: Where block rewards should go to, can be the same as operator address

  • Amount: CNPY to stake

  • Stake Type (Validation or Delegation): Whether or not the validator will be actively operating (signing and producing blocks)

  • AutoCompound: To Withdraw the rewards automatically (comes with penalty <see >)

  • Committees: Comma-separated chain ids where the stake is allocated

  • Validator Address: tcp://<YOUR_DOMAIN> P2P TCP address for other validators to connect to

  • Transaction Fee: The transaction fee (default is pre-filled)

  • Password: Password of the operator account

Notes:

  • Operator account is where funds are deducted from

  • Delegate status may not be changed once set


➤ EDIT-STAKE TRANSACTION

Parameters:

  • Staking (Operator) address: where subsequent validator transactions like (edit-stake and unstake) should be sent from.

  • Rewards Address: Where block rewards should go to, can be the same as operator address

  • Amount: CNPY to stake, must be greater than the current stake.

  • Stake Type (Validation or Delegation): Whether or not the validator will be actively operating (signing and producing blocks)

  • AutoCompound: To Withdraw the rewards automatically (comes with penalty <see >)

  • Committees: Comma-separated chain ids where the stake is allocated

  • Validator Address: tcp://<YOUR_DOMAIN> P2P TCP address for other validators to connect to

  • Transaction Fee: The transaction fee (default is pre-filled)

  • Password: Password of the operator account

Notes:

  • The operator address may not be edited

  • Use the 'same-value' inputs that you don't want edited

  • The output address is only able to be changed by the output address

  • The stake amount cannot be lowered

  • Fees are deducted from the signer's address


➤ UNSTAKE TRANSACTION

Parameters:

  • Validator (Operator) address: Address of the validator currently staked.

  • Signer Address: The address that signs the transaction, could be the same as the validator address.

  • Memo: Optional message note for the transaction.

Notes:

  • Unstaking takes 1 month for a Validator and 7 days for a delegate

  • Fees are deducted from the signer's address


PAUSE TRANSACTION

Parameters:

  • Validator (Operator) address: Address of the validator currently staked.

  • Signer Address: The address that signs the transaction, could be the same as the validator address.

  • Memo: Optional message note for the transaction.

Notes:

  • A validator / delegate may be paused for 1 month before it automatically begins unstaking

  • Fees are deducted from the signer's address


➤ UNPAUSE TRANSACTION

Parameters:

  • Validator (Operator) address: Address of the validator currently staked.

  • Signer Address: The address that signs the transaction, could be the same as the validator address.

  • Memo: Optional message note for the transaction.

Notes:

  • Validators that are unpaused are expected to immediately begin consensus operation for all chains

  • If your validator was auto-paused, be sure to fix the issue with the validator before unpausing. See Debugging and Support

  • Fees are deducted from the signer's address

Slashing

⚠️ Why Did My Tokens Go Down? (Understanding Slashing) TL;DR: You got slashed because your validator went offline or misbehaved. That means fewer tokens and missed rewards. Want to avoid this? Keep your validator online at all times.

What Causes a Slash?

Canopy slashes Validators for two main reasons:

  • Inactivity – If your validator misses 2,160 out of 4,320 blocks (each ~20s) within a moving window, you're considered offline and get slashed.

  • Double Signing – Signing two blocks at the same height for the same chain breaks consensus rules and results in a slash.

⚠️ Subchains may define additional slashing rules, but these two are the main ones on mainnet.

How Bad Is the Slash?

  • Slash amount for inactivity (non-sign) is 1% of staked tokens

  • Slash amount for double signing is 10% of staked tokens

A governance parameter called MaxSlashPerCommittee limits how much a validator may be slashed per block. Canopy caps the slashes and starts ejecting validators from the committee to prevent an escalation.

You’ll lose tokens and be kicked out of the committee temporarily — meaning no rewards, and you’ll need to regain trust.

How to Stay Safe

It’s all about uptime. Here’s how to avoid slashing:

  • Use auto-restart tools like systemd, supervisord, or Docker’s restart policies.

  • Set up monitoring with alerts to catch issues early — we already provide a full monitoring stack (Grafana + Prometheus) in the step-by-step setup guide, so make sure it’s running and you’re checking it regularly.

  • Keep keys secure to avoid double-signing across different instances.

  • Test failover setups carefully — don’t accidentally run two validators at once.

➜ Grafana + Prometheus Configuration

Basic Scrape Configuration. The monitoring stack already comes with Grafana + Prometheus preconfigured

Recommended Recording Rules

Metric Types and Usage

Gauges

Gauges represent current values that can go up or down:

  • Node status

  • Peer counts

  • Block height

  • Memory usage

  • Validator status

Counters

Counters represent monotonically increasing values:

  • Transaction counts

  • Block processing counts

Histograms

Histograms track the distribution of values:

  • Block processing time

The recommended alerts are already bundled on the monitoring stack and can be viewed on the node repository.

Grafana Dashboard Recommendations

You can find the default grafana dashboard implementation bundled on the node repository.

Key Panels to Include

  1. Node Status

    • Node active status

    • Sync status

    • Chain/Root Chain ID

  2. Peer Network

    • Total peers

    • Inbound/outbound peers

    • Peer connection status

  3. Validator Status

    • Validator count by status

    • Validator types

    • Staking status

  4. Transaction Metrics

    • Transaction rate

    • Transaction volume

  5. Performance

    • Block processing time

    • Memory usage

    • CPU usage

    • Network I/O

Example Queries

Debugging and Support

  • Most logs tagged ERROR should be reported, although some P2P ERROR logs are expected as peers churn (especially upon startup).

  • If you're encountering repeated alerts or facing issues while running your node, don't hesitate to reach out.

Open an issue on our GitHub repository: https://github.com/canopy-network/canopy/issues

For comms and support, join our official Discord: https://discord.com/invite/WdeBG8jcuB

Community Snapshot and Public RPC Endpoint

This link is a community-maintained endpoint providing RPC access and blockchain snapshots to support fast and easy bootstrapping of Canopy. It is offered as a public resource in the spirit of community goodwill.

Validator Migration Guide

Complete server migration with minimal downtime (5-10 minutes)

Prerequisites

  • Access to both OLD and NEW servers

  • Domain DNS management access (Cloudflare recommended)

  • New server with Ubuntu 26.04+

  • A server user account with access to docker commands

Phase 0: Pause Validator

Be sure to pause your existing Validator (if applicable) before beginning the migration process to ensure no slashing risk due to downtime, peering issues, or duplicate identities.

Phase 1: Prepare New Server

1. Update DNS Records (CRITICAL - Do this first!)

In your DNS provider (Cloudflare recommended):

2. Verify DNS Propagation

3. Follow the quickstart guide to prepare the new node

Follow steps 1 through 10 of the QuickStart guide and the migration step to prepare the new node

Phase 2: Migration (5-10 minutes downtime)

4. Stop Validator on Old Server

5. Create Backup on Old Server

6. Transfer to New Server

7. Deploy on New Server

8. Verify Deployment

Phase 3: Post-Migration Verification

9. Access Web Interfaces

Once services are running, verify these endpoints:

  • Grafana Dashboard: https://monitoring.YOUR_DOMAIN.com

  • Node 1 Wallet: https://wallet.YOUR_DOMAIN.com

  • Node 1 Explorer: https://explorer.YOUR_DOMAIN.com

10. Monitor Sync Status

11. Verify Staking Status

  • Log into your web wallet interfaces

  • Check that your validator status shows as "STAKED"

  • Monitor for 10-15 minutes to ensure stability

Troubleshooting

Common Issues and Solutions

DNS Not Resolving:

SSL Certificate Issues:

Containers Not Starting:

Important Notes

Critical Points

  • Pause: Always pause your validator before migration

  • DNS First: Always update DNS records before migration

  • Permissions: Always run chmod commands after extracting backup

  • Snapshots: Use `snapshot-up` for fastest sync

  • Monitoring: Watch logs for first 10-15 minutes after migration

Expected Timeline

  • DNS Propagation: 1-2 minutes (Cloudflare)

  • Service Stop: 30 seconds

  • File Transfer: 2-4 minutes (depending on connection)

  • Service Start: 2-3 minutes

  • SSL Certificate: 1-2 minutes

  • Total Downtime: 5-10 minutes

Post-Migration

  • Monitor validator status for 24 hours

  • Backup the new server setup

  • Update any monitoring alerts with new IP

  • Test all web interfaces thoroughly


Recovery Plan

If migration fails, quickly restore old server:

Your validator will resume from where it left off with minimal impact.


Migration Complete! 🎉

Your Canopy validator is now running on the new server with fresh blockchain data and preserved validator identity.

Last updated