mirror of
https://github.com/pezkuwichain/pez-minimal-template.git
synced 2026-04-22 02:07:57 +00:00
a76e4bf0ed
This synchronizes the template to the stable2412 branch. --------- Signed-off-by: Iulian Barbu <iulian.barbu@parity.io> Co-authored-by: iulianbarbu <14218860+iulianbarbu@users.noreply.github.com> Co-authored-by: Iulian Barbu <iulian.barbu@parity.io>
24 lines
1.0 KiB
Markdown
24 lines
1.0 KiB
Markdown
# Node
|
||
|
||
ℹ️ A node - in Polkadot - is a binary executable, whose primary purpose is to execute the [runtime](../runtime/README.md).
|
||
|
||
🔗 It communicates with other nodes in the network, and aims for
|
||
[consensus](https://wiki.polkadot.network/docs/learn-consensus) among them.
|
||
|
||
⚙️ It acts as a remote procedure call (RPC) server, allowing interaction with the blockchain.
|
||
|
||
👉 Learn more about the architecture, and a difference between a node and a runtime
|
||
[here](https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/wasm_meta_protocol/index.html).
|
||
|
||
👇 Here are the most important files in this node template:
|
||
|
||
- [`chain_spec.rs`](./src/chain_spec.rs): A chain specification is a source code file that defines the chain's
|
||
initial (genesis) state.
|
||
- [`service.rs`](./src/service.rs): This file defines the node implementation.
|
||
It's a place to configure consensus-related topics. In favor of minimalism, this template has no consensus configured.
|
||
|
||
|
||
## Release
|
||
|
||
Polkadot SDK Stable 2412
|