# Subnet Node Type

There are two types of Subnet Nodes

## Master Node

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

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)

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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.u2u.xyz/subnet/subnet-node-type.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
