# Subnet Node Type

#### Master Node <a href="#master-node" id="master-node"></a>

Master Nodes are integral components of the Subnet infrastructure, performing several critical functions:

**Transaction Management:**

* Store all Subnet transactions
* Validate all Subnet transactions

**Data Availability Layer (DAL):**

* Serve as the DAL for all Subnet Decentralized Applications
* Ensure data accessibility and integrity for the Subnet Ecosystem

**Cross-Network Operations:**

* Submit and Verify proofs between the Subnet and Mainnet
* Data Transmission between Subnet Protocols

**Reward Structure: Master Nodes receive compensation for their services through:**

* A portion of Subnet transaction fees
* Rewards for proof submission and verification between Subnet and Mainnet

*By fulfilling these roles, Master Nodes contribute to the security, reliability, and interoperability of the Subnet network, while also maintaining a connection with the main blockchain.*

#### Verifier Node <a href="#verifier-node" id="verifier-node"></a>

Verifier Nodes leverage the **TEE** (Trusted Execution Environment) and **FHE** (Fully Homomorphic Encryption) technologies, it plays a crucial role for checking quality of service foreach Subnet Protocol, validate data integrity and maintaining the privacy of user's data.

* Data Versioning: Track changes in data and version control.
* Cyclic Redundancy Check (CRC): Detect errors in data transmission.
* Digital signatures: Use public key encryption to verify the origin and integrity of the data.
* Hash functions: Use algorithms such as MD5, SHA-256 to create a unique fingerprint for the data.

#### Edge Node (or Contributor Node) <a href="#edge-node-or-contributor-node" id="edge-node-or-contributor-node"></a>

Edge Nodes are specialized components within the Subnet Ecosystem:

**Roles**: A node bound to specific protocols built on the Subnet Infrastructure

**Resource Contribution:** Edge Nodes can provide various computational resources to the Subnet, enhance the overall capacity and performance of the Subnet

* RAM (Memory)
* CPU (Processing power)
* GPU (Graphics processing capabilities)
* Storage (Data retention capacity)
* Internet bandwidth

**Reward Structure:**

Edge Nodes earn reward based on their contributed **DCU** (Distributed Computational Units) both from Network layer and Protocol layer (dual tokens mining)

**Protocol Specificity:** Each Edge Node is associated with a particular protocol, allowing for specialized functions within the Subnet Ecosystem

By leveraging these Edge Nodes, the Subnet can distribute computational tasks and storage requirements across a network of contributors, potentially improving scalability, resilience, and performance of the overall system.
