Skip to content

Commit

Permalink
Fix more paths after refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
franklywatson committed Jan 17, 2025
1 parent ac3eac8 commit 20f12b1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/networks/access-onchain-data/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ message Block {
| block_header | A summary of a [block](#block-header) |
| protocol_state_id | The root hash of protocol state. |

The detailed semantics of block formation are covered in the [block formation guide](../../../build/basics/blocks.md).
The detailed semantics of block formation are covered in the [block formation guide](../../build/basics/blocks.md).

### Block Header

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Serving execution data
sidebar_label: Execution Data
sidebar_position: 3
sidebar_position: 2
---

Flow chain data comprises of two parts,
Expand Down
4 changes: 2 additions & 2 deletions docs/networks/node-ops/access-nodes/access-node-setup.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Setting Up a Flow Access Node
sidebar_label: Access Node Setup
sidebar_position: 2
sidebar_position: 1
---

import Tabs from '@theme/Tabs';
Expand Down Expand Up @@ -163,7 +163,7 @@ Fund you Flow account with at least 100.01 FLOW tokens, which covers the require

On Flow port, choose `Stake and Delegate` -> `Start Staking` or `Stake Again` and then choose Access node as the option.

![choose_access_flowport](../../node-operation/choose_access_flowport.png)
![choose_access_flowport](../node-operation/choose_access_flowport.png)

On the next screen, provide the node details of you node.

Expand Down
8 changes: 4 additions & 4 deletions docs/networks/node-ops/light-nodes/observer-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_label: Light Node Setup
sidebar_position: 1
---

A light node also known as the observer node is similar to an access node and provides a locally accessible, continuously updated, verified copy of the block data. It serves the [gRPC Access API](../../access-onchain-data/access-api.md) but unlike an access node, an light node does not need to be staked, and **anyone** can run it without being added to the approved list of nodes.
A light node also known as the observer node is similar to an access node and provides a locally accessible, continuously updated, verified copy of the block data. It serves the [gRPC Access API](../../access-onchain-data/index.md) but unlike an access node, an light node does not need to be staked, and **anyone** can run it without being added to the approved list of nodes.

The light node bootstraps by connecting to an access node and becoming part of the public network comprised of access nodes and other light nodes. It then continuously receives blocks, which the consensus nodes are adding to the chain, either directly from access nodes or from other light nodes that are part of the public network. However, it makes no trust assumption of the upstream access node or the light node which is providing the block and locally verifies that the blocks that are received are the correct extension of the chain e.g. after receiving valid blocks A, B and C when it receives block D, it verifies that block D is indeed signed by the consensus nodes and is a valid next block. The received block data is indexed and made available via the Access API. For Collection, Transactions and Account queries, it delegates those requests to the upstream access node. Similarly, transactions and scripts sent to a light node are also forwarded to the upstream access node. Future versions of the light node will be able to serve this data locally as well.

Expand Down Expand Up @@ -73,7 +73,7 @@ curl -sL -O storage.googleapis.com/flow-genesis-bootstrap/boot-tools-intel-mac.t

#### Step 3 - Download the root-protocol-state-snapshot.json file for the current spork

The `root-protocol-state-snapshot.json` is generated for each [spork](../../node-operation/spork.md) and contains the genesis data for that spork.
The `root-protocol-state-snapshot.json` is generated for each [spork](../node-operation/spork.md) and contains the genesis data for that spork.
It is published and made available after each spork. The download location is specified [here](https://github.com/onflow/flow/blob/master/sporks.json) under [rootProtocolStateSnapshot](https://github.com/onflow/flow/blob/master/sporks.json#L16) and can be downloaded as follows,

For mainnet find the latest spork version from [sporks.json](https://github.com/onflow/flow/blob/master/sporks.json) and then download the `root-protocol-state-snapshot.json` and the signature file for it.
Expand Down Expand Up @@ -207,7 +207,7 @@ e.g. querying the REST API endpoint using curl
curl "http://localhost/v1/blocks?height=sealed"
```

The light node, like the other type of Flow nodes, also produces Prometheus metrics that can be used to monitor node health. More on that [here](../../node-operation/node-setup.md#monitoring-and-metrics)
The light node, like the other type of Flow nodes, also produces Prometheus metrics that can be used to monitor node health. More on that [here](../node-operation/node-setup.md#monitoring-and-metrics)


## FAQs
Expand Down Expand Up @@ -261,4 +261,4 @@ Access-003:


While the public keys remain the same, the hostnames change each spork to include the spork name. Substitute `[current mainnet spork]` and `[current devnet spork]` with the appropriate spork name (e.g. `mainnet20`).
See [Past Sporks](../../node-operation/past-sporks.md) for the current spork for each network.
See [Past Sporks](../node-operation/past-sporks.md) for the current spork for each network.

0 comments on commit 20f12b1

Please sign in to comment.