Celestia 백서

Celestia

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 20쪽 중 17쪽

set up the vesting account: ```bash celestia-appd tx vesting create-vesting-account $TO_ADDRESS 100000utia 1686748051 --from $FROM_ADDRESS --gas 100000 --fees 100000utia --node $RPC_URL --chain-id mocha --delayed ``` ### Optional: Set up a consensus node or validator Running a consensus node or validator will prevent you from needing to use an RPC. You can set up a [validator](/operate/consensus-validators/validator-node) or [consensus node](/operate/consensus-validators/consensus-node) for the previous portion of the tutorial. Note: this may take some time depending on how you choose to sync the state of the chain. ### Optional: Change your client.toml If you edit your client configuration in `client.toml`, you can set both the chain ID and the node RPC URL. This will prevent you from needing to run each flag for every command line that you use. ```toml # This is a TOML config file. # For more information, see https://github.com/toml-lang/toml ############################################################################### ### Client Configuration ### ############################################################################### # The network chain ID chain-id = "mocha" # The keyring's backend, where the keys are stored (os|file|kwallet|pass|test|memory) keyring-backend = "test" # CLI output format (text|json) output = "text" # <host>:<port> to Tendermint RPC interface for this chain node = "https://public-endpoint.celestia-mocha.quiknode.pro" # Transaction broadcasting mode (sync|async|block) broadcast-mode = "sync" ``` ## Notes Not all vesting accounts can be created with a message, some need to be set at genesis. You can [learn more in the Cosmos Network documentation](https://docs.cosmos.network/sdk/v0.53/build/modules/auth/vesting). ## Conclusion Congratulations! You've learned how to create a local devnet, create a vesting account on it, and how to make a vesting account on the Mocha testnet! --- Title: celestia-node datastore URL: https://docs.celestia.org/operate/maintenance/datastore-structure.md Source: app/operate/maintenance/datastore-structure/page.mdx --- # celestia-node datastore The node's datastore refers to the storage structure used to manage the data that supports the node's operation. It consists of directories and files that contain the node's state, configuration, and other information relevant to the node. The following are the directories and files found in the datastore: - `/blocks`: This directory stores blocks. Each file contained in this directory represents a block on Celestia and contains its associated data. This directory is present in the datastore for bridge nodes but not light nodes, as light nodes do not store blocks. - `/data`: This directory contains block headers and various files belonging to the node's log-structured merge (LSM) storage system. The LSM files (such as `DISCARD`, `KEYREGISTRY`, and `MANIFEST`) manage the efficient storage and retrieval of data. - `/index`: This directory stores the index files that handle mapping specific keys such as block heights, to the corresponding data. Similar to `/blocks`, the light node's datastore does not include this directory, as they do not perform indexing. - `/inverted_index`: This directory stores the inverted index files used for mapping queries to the corresponding data location, along with associated LSM storage system files. The light node's datastore does not contain this directory. - `/keys`: This directory stores the cryptographic key pairs that are used to operate the node. - `/transients`: This directory contains temporary data such as cache files that are used while the node is operating, but are not a part of the permanent blockchain state. - `config.toml`: Located in the node's root directory, this is the primary configuration file that defines core settings such as network parameters, P2P configuration, and API endpoints. This file is generated during node initialization. --- Title: Network upgrades URL: https://docs.celestia.org/operate/maintenance/network-upgrades.md Source: app/operate/maintenance/network-upgrades/page.mdx --- # Network upgrades Blockchain networks often need to upgrade with new features which require coordination work among the community of developers, validators, and node operators prior to activating the upgrades. This process is called a network upgrade, which can be breaking or non-breaking. During planned network upgrades the community will coordinate to prepare for the upcoming upgrade. Breaking network upgrades are not backward-compatible with older versions of the network software, which is why it is important that validators upgrade their software to continue validating on the network. Non-breaking network upgrades are backward-compatible and require less coordination. ## Network upgrade coordination As of the Lemongrass upgrade in September 2024, Celestia has implemented [CIP-10](https://cips.celestia.org/cip-010.html), which establishes two methods for coordinating network upgrades: 1. **Pre-programmed height**: Used for the Lemongrass network upgrade (v2) 2. **In-protocol signaling**: Used for all subsequent upgrades (v3+) Under the in-protocol signaling mechanism, validators submit messages to signal their readiness and preference for the next version. The upgrade activates automatically once a quorum of 5/6 of validators have signaled for the same version. ### Announcement channels Follow the latest network upgrade announcements on: - Telegram: [Network-wide announcement channel](https://t.me/+smSFIA7XXLU4MjJh) - Discord - [Mainnet Beta announcements](https://discord.com/channels/638338779505229824/1169237690114388039) - [Mocha announcements](https://discord.com/channels/638338779505229824/979037494735691816) ## Upgrade process The upgrade process can be broken down into a few steps: 1. [Celestia Improvement Proposals](https://cips.celestia.org) (CIPs) are created for consensus-breaking changes and features that impact user experience. These CIPs are included in a meta-CIP, which define the scope of the upgrade. 1. Celestia core developer teams implement the features defined in the CIPs. 1. A new binary is released with the new features to be tested on testnets. 1. Node operators upgrade to the new binary on [Mocha testnet](/operate/networks/mocha-testnet), and finally on Celestia [Mainnet Beta](/operate/networks/mainnet-beta). - Upgrades using pre-programmed height (v2) activate at a predetermined block number. - Upgrades using in-protocol signaling (v3+) activate one week after 5/6 of the voting power has signaled for a particular version ## Configuration changes in v10 ### Existing configuration files Replacing celestia-app does not add new settings or comments to existing configuration files. Missing settings use the binary's defaults. Starting with celestia-app v10.2.0, use `config sync` to add missing fields and their documentation to `config/config.toml`. Preview the additions first: ```bash celestia-appd config sync --home ~/.celestia-app --dry-run celestia-appd config sync --home ~/.celestia-app ``` Use your node's home directory if different. The command preserves existing values and creates a backup before writing changes. It does not run automatically on startup. Use it instead of the deprecated `update-config` command for v10 configuration maintenance. ### RPC and storage settings These settings apply to celestia-app consensus nodes: | Section in `config/config.toml` | Setting | Default | |---|---|---| | `[rpc]` | `max_concurrent_heavy_requests` | `20` | | `[storage]` | `compact` | `false` | | `[storage]` | `compaction_interval` | `10000` | The RPC setting caps concurrent heavy requests such as `block_results` and `tx_search`; public RPC providers may want to raise it. Blockstore compaction is optional and does not enable pruning. When enabled, it compacts the pruned range in the background. To compact an existing blockstore once, stop the node and run `celestia-appd compact-blockstore`. See the [Mocha release upgrade instructions](https://github.com/celestiaorg/celestia-app/releases/tag/v10.4.0-mocha) for details. Follow the upgrade announcement for your network before replacing its binary. ## Network upgrade history v7 (Hibiscus) was skipped on Mainnet Beta due to a bug discovered after testnet activation; v8 (defined in [CIP-49](https://cips.celestia.org/cip-049.html)) was activated instead. In the Mainnet Beta table, version links point to Celenium upgrade status pages for signaling upgrades (v3+). v2 used a pre-programmed height and does not have a Celenium signaling page. ### Mocha testnet #### Mocha-5 App version 10 activated on `mocha-5` at the height specified in the [activation announcement](https://status.celestia.org/incidents/vbsesey3). Bonded validators can now [start and register their Fibre servers](/operate/consensus-validators/fibre). | Version | Date and time | Upgrade height | Parameters | | ------- | ------------- | -------------- | ---------- | | v10 | 2026/09/24 20:20:15 UTC | [1082619](https://testnet.celestia.explorers.guru/block/1082619) | [v10](https://celestiaorg.github.io/celestia-app/parameters_v10.html) | #### Mocha-4 (historical) The upgrades below happened on the `mocha-4` chain. Celenium now indexes `mocha-5`, so explorer pages for these historical upgrades and heights are no longer available. | Version | Name | CIP | Date and time | Upgrade height | Delay period | Parameters | | ------- | ---------- | ----------------------------------------------------------------------- | ----------------------- | -------------- | ------------ | ------------------------------------------------------------------- | | v2 | Lemongrass | [CIP-17](https://github.com/celestiaorg/CIPs/blob/main/cips/cip-017.md) | 2024/08/28 14:00 UTC | 2585031 | — | [v2](https://celestiaorg.github.io/celestia-app/parameters_v2.html) | | v3 | Ginger | [CIP-25](https://cips.celestia.org/cip-025.html) | 2024/11/14 18:31:11 UTC | 3140052 | — | [v3](https://celestiaorg.github.io/celestia-app/parameters_v3.html) | | v4 | Lotus | [CIP-33](https://cips.celestia.org/cip-033.html) | 2025/07/01 11:51:58 UTC | 6915786 | 2 days | [v4](https://celestiaorg.github.io/celestia-app/parameters_v4.html) | | v5 | — | — | 2025/07/30 17:07:29 UTC | 7401191 | 1 block | [v5](https://celestiaorg.github.io/celestia-app/parameters_v5.html) | | v6 | Matcha | [CIP-42](https://cips.celestia.org/cip-042.html) | 2025/10/03 01:25:02 UTC | 8236886 | 2 days | [v6](https://celestiaorg.github.io/celestia-app/parameters_v6.html) | | v7 | Hibiscus | [CIP-47](https://cips.celestia.org/cip-047.html) | 2026/02/23 18:21:52 UTC | 10209986 | 2 days | [v7](https://celestiaorg.github.io/celestia-app/parameters_v7.html) | | v8 | — | [CIP-49](https://cips.celestia.org/cip-049.html) | 2026/04/16 14:26:21 UTC | 10941526 | 2 days | [v8](https://celestiaorg.github.io/celestia-app/parameters_v8.html) | | v9 | — | [CIP-50](https://cips.celestia.org/cip-050.html) | 2026/06/05 08:16:10 UTC | 11655991 | 2 days | [v9](https://celestiaorg.github.io/celestia-app/parameters_v9.html) | ### Mainnet Beta | Version | Name | CIP | Date and time | Upgrade height | Delay period | Parameters | | ------------------------------------------------------------------------------- | ---------- | ----------------------------------------------------------------------- | ------------------------------------- | ------------------------------------------------------------- | ------------ | ------------------------------------------------------------------- | | v2 | Lemongrass | [CIP-17](https://github.com/celestiaorg/CIPs/blob/main/cips/cip-017.md) | 2024/09/18 14:00 UTC | [2371495](https://celenium.io/block/2371495) | — | [v2](https://celestiaorg.github.io/celestia-app/parameters_v2.html) | | [v3](https://celenium.io/upgrade/3?tab=signals&page=1) | Ginger | [CIP-25](https://cips.celestia.org/cip-025.html) | 2024/12/12 14:28:52 UTC | [2993219](https://celenium.io/block/2993219) | — | [v3](https://celestiaorg.github.io/celestia-app/parameters_v3.html) | | [v4](https://celenium.io/upgrade/4?tab=signals&page=1) | Lotus | [CIP-33](https://cips.celestia.org/cip-033.html) | 2025/07/28 13:46:27 UTC | [6680339](https://celenium.io/block/6680339) | 7 days | [v4](https://celestiaorg.github.io/celestia-app/parameters_v4.html) | | [v5](https://celenium.io/upgrade/5?tab=signals&page=1) | — | — | 2025/08/01 14:30:29 UTC | [6748821](https://celenium.io/block/6748821) | 1 block | [v5](https://celestiaorg.github.io/celestia-app/parameters_v5.html) | | [v6](https://celenium.io/upgrade/6?tab=signals&page=1) | Matcha | [CIP-42](https://cips.celestia.org/cip-042.html) | 2025/11/24 12:33:12 UTC | [8662012](https://celenium.io/block/8662012?tab=transactions) | 7 days | [v6](https://celestiaorg.github.io/celestia-app/parameters_v6.html) | | [v7](https://celenium.io/upgrade/7?tab=signals&page=1) | Hibiscus | [CIP-47](https://cips.celestia.org/cip-047.html) | N/A (skipped, see v8) | N/A | — | — | | [v8](https://celenium.io/upgrade/8?tab=signals&page=1) | — | [CIP-49](https://cips.celestia.org/cip-049.html) | 2026/05/05 16:37:35 UTC | [10960599](https://celenium.io/block/10960599?tab=transactions) | 7 days | [v8](https://celestiaorg.github.io/celestia-app/parameters_v8.html) | | [v9](https://celenium.io/upgrade/9?tab=signals&page=1) | — | [CIP-50](https://cips.celestia.org/cip-050.html) | 2026/07/01 18:53:25 UTC | [11771699](https://celenium.io/block/11771699) | 7 days | [v9](https://celestiaorg.github.io/celestia-app/parameters_v9.html) | ## Upcoming upgrades > **Warning:** You do not need to use a tool like [cosmovisor](https://docs.cosmos.network/sdk/v0.53/build/tooling/cosmovisor) to upgrade the binary. Please upgrade your binary before signaling support for the new version. Mocha has activated app version 10; see the [Mocha-5 upgrade history](#mocha-5). For upcoming upgrade schedules on each network, follow the [network announcements](https://status.celestia.org/). --- Title: Node snapshots URL: https://docs.celestia.org/operate/maintenance/snapshots.md Source: app/operate/maintenance/snapshots/page.mdx --- # Node snapshots ## What are node snapshots? Node snapshots are pre-synced copies of the blockchain state that allow you to get your node up and running quickly without having to sync from genesis. Think of them as checkpoints - instead of processing every single block since the beginning of the chain, you can start from a recent, verified state. Among various options for setting up your node, snapshots offer one of the fastest ways to get started. Instead of syncing the entire chain history from the beginning, you can use a snapshot to start from a recent state. Using snapshots can save you significant time and resources, especially as the blockchain grows larger. ## Pruned vs archive snapshots There are two main types of snapshots available: ### Pruned snapshots Pruned snapshots contain only the essential state needed to run a node. They exclude historical data that isn't necessary for current operations, making them much smaller in size. These are ideal for: - Consensus nodes (including validators) that only need recent state to participate in consensus - Consensus nodes that don't need complete historical data - Users who want to get started quickly and aren't concerned with historical queries ### Archive snapshots Archive snapshots contain the complete blockchain history, including all historical states. They're larger in size but provide access to the entire chain history. You'll need an archive snapshot if you're: - Running a DA node that needs to serve historical block data - Operating a consensus node that needs to support historical queries - Building an application that requires access to past states ## Quick setup with ITRocket ITRocket provides comprehensive setup services for both mainnet and testnet, including automated installation scripts, snapshots, and state sync services: - **Mainnet**: [itrocket.net/services/mainnet/celestia/](https://itrocket.net/services/mainnet/celestia/) - Complete setup guides and tools - **Mocha testnet**: [itrocket.net/services/testnet/celestia/](https://itrocket.net/services/testnet/celestia/) - Complete setup guides and tools Their services include installation scripts, state sync, snapshots, RPC endpoints, and monitoring tools all in one place. ## Available snapshot providers ### Mainnet beta | Provider | Consensus Node | Bridge Node | | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | | ITRocket | [Pruned](https://itrocket.net/services/mainnet/celestia/) • [Archive](https://itrocket.net/services/mainnet/celestia/) | [Archive](https://itrocket.net/services/mainnet/celestia/) | | Polkachu | [Pruned](https://polkachu.com/tendermint_snapshots/celestia) | - | | kjnodes | [Pruned](https://services.kjnodes.com/mainnet/celestia/snapshot/) • [Archive](https://services.kjnodes.com/mainnet/celestia/snapshot-archive/) | - | | Noders | [Pruned](https://noders.services/mainnet-networks/celestia/snapshot/) | - | | QubeLabs | [Archive](https://snaps.qubelabs.io/celestia/) | - | ### Mocha testnet | Provider | Consensus Node | Bridge Node | | ----------- | ---------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | | ITRocket | [Pruned](https://itrocket.net/services/testnet/celestia/) • [Archive](https://itrocket.net/services/testnet/celestia/) | [Archive](https://itrocket.net/services/testnet/celestia/) | | Polkachu | [Pruned](https://polkachu.com/testnets/celestia/snapshots) | - | | kjnodes | [Pruned](https://services.kjnodes.com/testnet/celestia/snapshot/) | - | | QubeLabs | [Archive](https://snaps.qubelabs.io/celestia/) | - | ## Using celestia-snapshot-finder The `celestia-snapshot-finder` is a community tool that automatically finds and downloads the fastest available snapshot for your node. It tests download speeds from verified providers and selects the fastest available snapshot based on your location and network conditions. ### Features - Automatically finds the optimal snapshot from verified providers - Selects the best option based on file size and download speed - Supports both consensus and bridge nodes (pruned and archive snapshots) - Available for multiple platforms (Linux, macOS) with ARM and AMD64 support - Includes download progress tracking and resume capability ### Installation You can download pre-built binaries from the [latest release](https://github.com/21state/celestia-snapshot-finder/releases/latest) page: - Linux: `celestia-snapshot-finder-linux-amd64` or `celestia-snapshot-finder-linux-arm64` - macOS: `celestia-snapshot-finder-darwin-amd64` or `celestia-snapshot-finder-darwin-arm64` Or build from source: ```bash git clone https://github.com/21state/celestia-snapshot-finder.git cd celestia-snapshot-finder ./build.sh ``` ### Usage examples A CLI tool for downloading Celestia node snapshots with direct URLs. Supports different node types and snapshot types with automatic or manual selection. Basic usage: ```bash celestia-snapshot-finder [node-type] [snapshot-type] [flags] ``` Examples: ```bash # Download pruned consensus node snapshot celestia-snapshot-finder consensus pruned # Download archive bridge node snapshot with manual selection celestia-snapshot-finder bridge archive --manual ``` Available flags: ```bash -n, --chain-id string Chain ID (default "celestia") --debug Enable debug mode with extra information -h, --help help for celestia-snapshot-finder -m, --manual Enable manual selection -v, --version version for celestia-snapshot-finder ``` In automatic mode (default), the
프로젝트로 돌아가기