bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 11쪽 중 6쪽
s for payment applications
</Card>
<Card title="Performance optimisations" href="#performance-optimisations">
Improvements for high-volume transaction processing
</Card>
</Columns>
### Security Patches
Security patches address vulnerabilities in non-validator clients, Reth, or dependencies.
**Examples:**
* State inconsistency or consensus desync vulnerabilities
* RPC access control and authentication fixes
* Cryptographic library updates
These should be applied immediately when released.
### Feature Updates
Feature releases enable new protocol capabilities or support new application patterns.
**Examples:**
* Zero-fee USD₮ transfer enhancements
* Custom gas token support
* New or extended RPC methods
* State query optimizations
* Wallet and exchange integration improvements
### Performance Optimisations
Performance-focused releases improve execution speed, sync efficiency, and resource usage.
**Examples:**
* Faster database reads and writes
* Reduced RPC latency under load
* Improved memory and CPU efficiency
* Consensus sync improvements
## Upgrade Procedure
Non-validator node upgrades typically involve pulling a new Docker image, updating configs, and restarting the service.
<Steps>
<Step title="Notify applications">
Inform connected services about planned maintenance.
</Step>
<Step title="Verify compatibility">
Ensure new non-validator client versions work with current consensus endpoints.
</Step>
<Step title="Update configuration">
Apply any new configuration options for enhanced features. Pay particular attention to changes affecting custom gas token support, zero-fee transaction processing, or payment application RPC interfaces.
</Step>
<Step title="Test RPC endpoints">
Verify payment application compatibility after upgrade.
</Step>
<Step title="Monitor transaction processing">
Ensure normal operation for USD₮ transfers and custom gas operations.
</Step>
</Steps>
<Tip>
Deploy upgrades in stages when operating multiple non-validator nodes. Start with non-critical instances before upgrading primary payment infrastructure, and monitor the first upgraded node carefully before proceeding.
</Tip>
## Post-Upgrade Verification
After upgrading, verify full sync with the consensus layer and validate core functionality.
<Check>**Consensus synchronisation**: Block height aligns with network</Check>
<Check>**RPC functionality**: Test key endpoints used by payment applications</Check>
<Check>**Performance baseline**: Compare post-upgrade metrics with previous baselines</Check>
<Check>**Monitoring**: Validate that monitoring and alerting systems remain operational</Check>
<Tip>
Document configuration changes and observed behavior. This improves reliability for future upgrades and troubleshooting. For common issues, see the [troubleshooting guide](./troubleshooting).
</Tip>
## Rollback Procedures
### When to Rollback
Rollback if you observe:
* Consensus sync failure
* Severe RPC performance degradation
* Application incompatibility
* Security regression
* Data inconsistency affecting balances or transfers
### How to Roll Back
<Steps>
<Step title="Stop services">
Stop non-validator node services.
</Step>
<Step title="Revert image and config">
Revert to previous Docker image and configuration.
</Step>
<Step title="Restart and re-sync">
Restart services and re-sync with the network.
</Step>
<Step title="Verify functionality">
Re-test RPC endpoints and transaction functionality.
</Step>
<Step title="Notify teams">
Notify application teams of restoration.
</Step>
</Steps>
## Best Practices
### Automation and Monitoring
* Automate image pulls and config updates where possible
* Track changes with version-controlled configuration
* Enhance observability during upgrades
* Monitor RPC error rates, sync status, and transaction throughput closely after restarts
## Common Troubleshooting
If issues occur post-upgrade:
* **Consensus sync**: Check endpoint connectivity, credentials, and allowlist status
* **RPC errors**: Validate configuration, version compatibility, and updated interfaces
* **Performance regression**: Monitor resource usage and review release notes
Upgrading Plasma non-validator nodes is essential to maintain reliable, secure RPC infrastructure for stablecoin-based applications. Following structured upgrade and validation procedures minimizes risk and ensures seamless performance.
# Hardware Requirements
Source: https://docs.plasma.org/docs/node-operators/setup-and-configuration/hardware-requirements
Hardware specifications for running Plasma non-validator nodes.
Running a Plasma node requires thoughtful hardware selection to ensure performance, reliability, and cost-efficiency. This guide outlines hardware recommendations for non-validator nodes.
## Hardware Requirements
| Hardware | Minimum | Recommended (Prod) |
| --------- | ---------- | -------------------- |
| Processor | 4 Cores | 8 Cores |
| Memory | 16 GB | 32 GB |
| Storage | 250 GB SSD | 1 TB NVMe SSD |
| Network | 100+ Mbps | 100+ Mbps, redundant |
<Note>
Mainnet consensus and execution currently use approximately 350 GB of storage. A 1 TB drive provides comfortable headroom for chain growth.
</Note>
## Cloud Provider Recommendations
<Tabs>
<Tab title="AWS">
| Instance | vCPUs | RAM | Use Case |
| :------------ | :---- | :---- | :----------------------------------- |
| `c6a.2xlarge` | 8 | 16 GB | High CPU performance |
| `m6i.2xlarge` | 8 | 32 GB | Balanced compute and memory |
| `r6i.2xlarge` | 8 | 64 GB | Memory-optimised for heavy workloads |
</Tab>
<Tab title="GCP">
| Instance | vCPUs | RAM | Use Case |
| :--------------- | :---- | :---- | :--------------------- |
| `c2-standard-8` | 8 | 32 GB | High-performance CPU |
| `n2-standard-8` | 8 | 32 GB | Balanced workloads |
| `c2-standard-16` | 16 | 64 GB | High-traffic scenarios |
</Tab>
<Tab title="Azure">
| Instance | vCPUs | RAM | Use Case |
| :------- | :---- | :---- | :---------------- |
| `F8s_v2` | 8 | 16 GB | Compute-optimised |
| `D8s_v5` | 8 | 32 GB | General purpose |
| `E8s_v5` | 8 | 64 GB | Memory-optimised |
</Tab>
</Tabs>
**Storage recommendations**: Use provider-native SSD volumes (AWS `gp3`, GCP SSD persistent disks, Azure Premium SSD) with provisioned IOPS for high-traffic RPC endpoints. Enable regular snapshots or automated backup for data protection.
## Getting Started
<Steps>
<Step title="Select cloud provider">
Choose based on your geographic needs, existing relationships, and pricing preferences.
</Step>
<Step title="Configure monitoring">
Set up essential monitoring before deployment to track performance from the start. See the [monitoring guide](../maintenance/monitoring).
</Step>
<Step title="Deploy">
Follow the [Non-Validator Node Setup](./non-validator-node-setup) guide.
</Step>
</Steps>
# Node Types
Source: https://docs.plasma.org/docs/node-operators/setup-and-configuration/node-types
Understanding the different types of nodes on Plasma.
Plasma supports multiple node types based on architecture roles and operational goals.
<CardGroup>
<Card title="Non-Validator Nodes" icon="eye" href="#non-validator-nodes">
Monitor network state and serve RPC requests. Available now.
</Card>
<Card title="RPC Providers" icon="server" href="#rpc-providers">
Professional hosted endpoints with enterprise features. Available now.
</Card>
<Card title="Consensus Nodes" icon="shield" href="#consensus-nodes">
Validate blocks and secure the network. Coming post-mainnet.
</Card>
</CardGroup>
## Node Types
### Non-Validator Nodes
Non-validator nodes are read-only participants that follow the blockchain without participating in consensus decisions. They provide a lightweight way to access blockchain data without the overhead of consensus participation. For a more in-depth explanation of the design, see the [Overview](/docs/node-operators/setup-and-configuration/overview) page.
<Note>
**Availability**: Non-validator nodes are available for permissionless participation. See the [Non-Validator Node Setup](./non-validator-node-setup) guide to get started.
</Note>
<AccordionGroup>
<Accordion title="Key Capabilities">
| Capability | Description |
| :-------------------- | :------------------------------------------------------------------------- |
| Block reception | Receive and process blocks from the network |
| Chain synchronization | Maintain an up-to-date copy of the blockchain |
| Catchup mechanism | Automatically detect and recover missing blocks |
| API access | Provide the same API endpoints as validators for querying blockchain state |
</Accordion>
<Accordion title="Technical Characteristics">
| Characteristic | Detail |
| :------------- | :--------------------------------------------------- |
| Configuration | Simplified with node ID (string identifier) |
| Validator keys | Read-only access to validator public keys |
| Peer discovery | Connect through bootstrap nodes |
| Limitations | Cannot propose blocks, vote, or trigger view changes |
</Accordion>
</AccordionGroup>
**Setup**: Follow the [Non-Validator Node Setup](./non-validator-node-setup) guide.
### RPC Providers
Hosted RPC infrastructure with production-grade availability and support.
<CardGroup>
<Card title="QuickNode" icon="bolt" href="https://www.quicknode.com/">
High-performance global infrastructure with monitoring and alerting.
</Card>
<Card title="Tenderly" icon="chart-line" href="https://tenderly.co/">
Managed access with built-in observability, simulations, and incident tooling.
</Card>
</CardGroup>
RPC providers offer immediate production-ready access with SLAs and support included, and scale with application demand. They're ideal for production applications requiring high availability, teams prioritizing development over infrastructure, and projects needing enterprise support and guarantees.
**Full list of providers**: See the [RPC Providers](../../plasma-chain/tools/rpc-providers) page.
### Consensus Nodes
Consensus nodes are the core participants in the Plasma consensus layer, implementing the Fast-Hotstuff Byzantine Fault Tolerant (BFT) protocol. The network can tolerate up to `f` faulty nodes in a system of `3f+1` total validators.
<Note>
**Availability**: Not yet available. External participation will begin post-mainnet.
</Note>
<AccordionGroup>
<Accordion title="Key Responsibilities">
| Responsibility | Description |
| :---------------------- | :---------------------------------------------------------------------------------------------- |
| Block production | Validators take turns proposing blocks using round-robin selection based on the current view |
| Voting | Validate incoming blocks and cast votes that are aggregated into Quorum Certificates (QCs) |
| Consensus participation | Actively participate in view changes, timeouts, and the 2-chain finalization rule |
| State management | Maintain full consensus state including vote aggregation, view tracking, and block finalization |
</Accordion>
<Accordion title="Technical Requirements">
| Requirement | Detail |
| :-------------- | :-------------------------------------------------------------- |
| Cryptography | BLS keypair for cryptographic operations and vote aggregation |
| Configuration | Full node configuration with validator ID (numeric identifier) |
| Execution layer | Access to execution layer (Reth) for block production |
| Networking | P2P networking capabilities for unicast and broadcast messaging |
</Accordion>
</AccordionGroup>
**Preparation**: Follow the [Consensus Node Preparation](../consensus-preparation/preparation) page.
## Getting Started
<AccordionGroup>
<Accordion title="Non-Validator Operators">
| Step | Action |
| :-------------------- | :------------------------------------------------------------------------------------------------ |
| Review requirements | Check [hardware requirements](./hardware-requirements) and ensure you meet specifications |
| Set up infrastructure | Follow the [non-validator node setup guide](./non-validator-node-setup) for detailed instructions |
| Configure monitoring | Implement monitoring using the [monitoring guide](../maintenance/monitoring) |
| Join community | Connect with other operators in [Discord](https://discord.com/invite/plasmafdn) |
| Stay updated | Monitor announcements for consensus participation timeline |
</Accordion>
<Accordion title="Application Developers">
| Step | Action |
| :------------------ | :--------------------------------------------------------------- |
| Choose provider | Select between non-validator nodes or professional RPC providers |
| Configure network | Add Plasma testnet to your development environment |
| Test integration | Deploy and test your applications on testnet |
| Monitor performance | Track RPC performance and adjust as needed |
| Plan production | Prepare for mainnet launch and scaling requirements |
</Accordion>
<Accordion title="Future Consensus Operators">
| Step | Action |
| :----------------------------- | :------------------------------------------------------------------------------------------------ |
| Start with non-validator nodes | Gain operational experience with the [non-validator node setup guide](./non-validator-node-setup) |
| Build infrastructure | Design and test your consensus-ready infrastructure |
| Engage community | Participate in governance discussions and provide feedback |
| Prepare economics | Understand staking requirements and reward structures |
| Monitor timeline | Stay informed about consensus participation opening |
</Accordion>
</AccordionGroup>
# Non-Validator Node Setup
Source: https://docs.plasma.org/docs/node-operators/setup-and-configuration/non-validator-node-setup
Complete guide for setting up and running non-validator nodes with Docker Compose.
Non-validator nodes provide RPC access to the Plasma network by monitoring consensus clients and serving application requests. This guide covers deployment using the official [non-validator-templates](https://github.com/PlasmaLaboratories/non-validator-templates) repository.
## Prerequisites
<Check>Basic Linux administration skills</Check>
<Check>Docker and Docker Compose installed</Check>
<Check>A server that meets the [hardware requirements](./hardware-requirements)</Check>
## Available Networks
| Network | Chain ID | Consensus Version | Execution Version |
| ------- | -------- | ----------------- | ----------------- |
| mainnet | 9745 | 0.15.0 | Reth v1.8.3 |
| testnet | 9746 | 0.15.0 | Reth v1.8.3 |
| devnet | 9747 | 0.15.0 | Reth v1.8.3 |
All networks use the public `plasma-consensus-public` image — no GHCR authentication is required.
## Quickstart
<Steps>
<Step title="Install Docker">
Connect to your server and ensure that **Docker** and **Docker Compose** are installed.
</Step>
<Step title="Clone the templates repository">
```bash theme={null}
git clone https://github.com/PlasmaLaboratories/non-validator-templates.git
cd non-validator-templates
```
</Step>
<Step title="Start your node">
Replace `{network}` with `mainnet`, `testnet`, or `devnet`:
```bash theme={null}
cd {network}/docker-compose
docker compose up -d
```
</Step>
<Step title="Verify containers are running">
```bash theme={null}
docker compose ps
docker compose logs -f plasma-consensus
```
</Step>
<Step title="Start monitoring (optional)">
```bash theme={null}
docker compose -f monitoring.yml up -d
```
</Step>
</Steps>
## Architecture Overview
Your non-validator node consists of two main components:
<CardGroup>
<Card title="Plasma Execution Client" icon="microchip">
Based on [Reth](https://github.com/paradigmxyz/reth). Handles transaction execution, state management, and provides JSON-RPC endpoints for applications.
</Card>
<Card title="Plasma Observer Client" icon="satellite-dish">
A lightweight client that monitors the Plasma consensus network without participating in block production or validation.
</Card>
</CardGroup>
The Docker Compose setup orchestrates these components along with initialisation containers that handle JWT secret generation, key generation, and database setup automatically.
### Directory Structure
Each network directory follows the same layout:
```
{network}/
├── docker-compose/
│ ├── docker-compose.yml # Service definitions
│ ├── .env # Image versions and tags (source of truth)
│ ├── non-validator.toml # Consensus configuration
│ ├── enodes.txt # Execution bootstrap nodes
│ ├── monitoring.yml # Monitoring stack
│ └── monitoring/ # Prometheus & Grafana configs
└── shared/ # Validator keys & identities (read-only)
├── keys/ # BLS12-381 validator public keys
└── identities/ # Validator identity files
```
## Setup Process Explained
The Docker Compose file defines four services that run in sequence:
<Steps>
<Step title="OpenSSL Initialisation">
Generates the JWT secret for secure Engine API communication and creates secp256k1 keys for your node's network identity. These are only generated once and persist across restarts.
</Step>
<Step title="Consensus Database Initialisation">
Initialises the consensus database with the genesis configuration for your chosen network and generates a peer ID for your node.
</Step>
<Step title="Execution Database Initialisation">
Initialises the Reth execution database with the genesis state.
</Step>
<Step title="Container Deployment">
Once initialisation completes, the execution and consensus clients start. **Execution Client (Reth)** starts first and exposes the JSON-RPC API and Engine API. **Consensus Observer Client** starts after the execution client is healthy and connects to the consensus network.
</Step>
</Steps>
## Configuration
All version numbers and image tags are defined in each network's `.env` file — this is the single source of truth for software versions. The consensus client is configured via `non-validator.toml`.
<Accordion title="Consensus Configuration Reference (non-validator.toml)">
| Section | Fields | Description |
| ----------------------------- | -------------------------------------------------------------------------------------------- | --------------------------------- |
| *(top-level)* | `engine_api_url`, `consensus_api_host`, `authrpc_jwtsecret` | Execution engine connection |
| `[persistence]` | `data_dir` | Consensus data storage path |
| `[network]` | `p2p_port`, `interval`, `timeout`, `identity_file_path`, `trusted_only`, `discovery.enabled` | P2P networking and peer discovery |
| `[api]` | `enabled`, `host`, `port` | Consensus API endpoint |
| `[validators.*]` | `validator_keystore_pk_file_path`, `identity_file_path` | Validator committee |
| `[network.bootstrap_nodes.*]` | `api_host`, `p2p_port`, `peer_id` | Consensus bootstrap peers |
</Accordion>
### NAT / External Address
For nodes behind NAT, configure an external address so that peers can discover and connect to your node:
<CodeGroup>
```toml non-validator.toml theme={null}
[network]
external_address = "node.example.com:34070"
```
```bash CLI theme={null}
--p2p.external-address node.example.com:34070
```
</CodeGroup>
### Port Configuration
| Port | Service | Protocol | Description |
| ------- | -------------- | -------- | ----------------------------- |
| `8545` | Execution RPC | HTTP | JSON-RPC API endpoint |
| `8551` | Execution Auth | HTTP | Engine API (internal) |
| `30303` | Execution P2P | TCP/UDP | Peer-to-peer networking |
| `34070` | Consensus P2P | TCP | Consensus networking |
| `35070` | Consensus API | HTTP | Consensus health/API endpoint |
| `9001` | Metrics | HTTP | Prometheus metrics |
<Warning>
**Firewall requirements**: Ensure inbound/outbound on port `30303` (TCP/UDP) for execution P2P, inbound on port `34070` (TCP) for consensus P2P, and internal communication on port `8551` for the Engine API. The JSON-RPC interface on port `8545` is exposed프로젝트로 돌아가기