Skip to content

Commit 7457472

Browse files
committed
Website: use absolute links to GH develop branch
1 parent d036db7 commit 7457472

File tree

4 files changed

+22
-20
lines changed

4 files changed

+22
-20
lines changed

website/docs/node-runners/archive-node.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ The compose file sets up a PG database, the archiver process and the openmina
6666
node. The archiver process is responsible for storing the blocks in the database
6767
by receiving the blocks from the openmina node.
6868

69-
See [docker-compose.archive.devnet.yml](../../docker-compose.archive.devnet.yml)
69+
See
70+
[docker-compose.archive.devnet.yml](https://github.com/o1-labs/openmina/blob/develop/docker-compose.archive.devnet.yml)
7071
for more details.
7172

7273
### Starting the setup

website/docs/node-runners/block-producer.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ Ensure Docker and Docker Compose are installed on your system -
2727

2828
2. **Prepare Your Keys**
2929

30-
[Docker Compose](../../docker-compose.block-producer.yml) references
31-
`openmina-workdir`. It stores a private key and logs for block production.
32-
Place your block producer's private key into the `openmina-workdir` directory
33-
and name it `producer-key`:
30+
[Docker Compose](https://github.com/o1-labs/openmina/blob/develop/docker-compose.block-producer.yml)
31+
references `openmina-workdir`. It stores a private key and logs for block
32+
production. Place your block producer's private key into the
33+
`openmina-workdir` directory and name it `producer-key`:
3434

3535
```bash
3636
cp /path/to/your/private_key openmina-workdir/producer-key

website/docs/node-runners/testing/bootstrap.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ Then it deploys the new instance of Openmina and waits until it is bootstrapped
2020
- The node's best tip is the same as in berkeleynet
2121
- There were no restarts for the openmina container
2222

23-
See the [Openmina Daily](../../../.github/workflows/daily.yaml) workflow file
24-
for further details.
23+
See the
24+
[Openmina Daily](https://github.com/o1-labs/openmina/blob/develop/.github/workflows/daily.yaml)
25+
workflow file for further details.

website/docs/node-runners/testing/overview.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
## P2p tests
2222

23-
### [RPC](../../p2p/tests/rpc.rs)
23+
### [RPC](https://github.com/o1-labs/openmina/blob/develop/p2p/tests/rpc.rs)
2424

2525
- `rust_to_rust`: test that rust node can receive and send response to and from
2626
another rust node
@@ -34,7 +34,7 @@
3434
`attempt to subtract with overflow` in yamux
3535
- `block`: fails with `attempt to subtract with overflow` in yamux
3636

37-
### [Kademlia](../../p2p/tests/kademlia.rs)
37+
### [Kademlia](https://github.com/o1-labs/openmina/blob/develop/p2p/tests/kademlia.rs)
3838

3939
- `kademlia_routing_table`: tests that node receives peers using kademlia
4040
- `kademlia_incoming_routing_table`: test that kademlia is updated with incoming
@@ -45,11 +45,11 @@
4545
- `discovery_seed_multiple_peers`: test node discovery and identify integration
4646
- `test_bad_node`: test that if node gives us invalid peers we handle it
4747

48-
### [Identify](../../p2p/tests/identify.rs)
48+
### [Identify](https://github.com/o1-labs/openmina/blob/develop/p2p/tests/identify.rs)
4949

5050
- `rust_node_to_rust_node`: test if rust node can identify another rust node
5151

52-
### [Connection](../../p2p/tests/connection.rs)
52+
### [Connection](https://github.com/o1-labs/openmina/blob/develop/p2p/tests/connection.rs)
5353

5454
- `rust_to_rust`: test if rust node can connect to rust node
5555
- `rust_to_libp2p`: test if out node can connect to rust libp2p
@@ -66,7 +66,7 @@
6666

6767
## Scenarios
6868

69-
### [Connection Discovery](../../node/testing/src/scenarios/multi_node/connection_discovery.rs)
69+
### [Connection Discovery](https://github.com/o1-labs/openmina/blob/develop/node/testing/src/scenarios/multi_node/connection_discovery.rs)
7070

7171
We want to test whether the Rust node can connect and discover peers from Ocaml
7272
node, and vice versa
@@ -104,7 +104,7 @@ node, and vice versa
104104
these nodes connect to the Rust node, the test makes sure that they also have
105105
each other’s addresses as their peers.
106106

107-
### [P2P Connections](../../node/testing/tests/p2p_basic_connections.rs)
107+
### [P2P Connections](https://github.com/o1-labs/openmina/blob/develop/node/testing/tests/p2p_basic_connections.rs)
108108

109109
- `SimultaneousConnections`: Tests if two nodes are connecting to each other at
110110
the same time, they should be connected, so each one has exactly one
@@ -123,28 +123,28 @@ node, and vice versa
123123

124124
- `MaxNumberOfPeersIs1` Two nodes with max peers = 1 can connect to each other.
125125

126-
### [P2P Kademlia](../../node/testing/tests/p2p_kad.rs)
126+
### [P2P Kademlia](https://github.com/o1-labs/openmina/blob/develop/node/testing/tests/p2p_kad.rs)
127127

128128
Test related to kademlia layer.
129129

130130
- `KademliaBootstrap`: Test that node discovers peers another rust node and is
131131
able to bootstrap
132132

133-
### [P2P Pubsub](../../node/testing/tests/p2p_pubsub.rs)
133+
### [P2P Pubsub](https://github.com/o1-labs/openmina/blob/develop/node/testing/tests/p2p_pubsub.rs)
134134

135135
Tests related to pubsub layer.
136136

137137
- `P2pReceiveMessage` Test that node receives message over meshsub from node
138138

139-
### [P2P Incoming](../../node/testing/tests/p2p_basic_incoming.rs)
139+
### [P2P Incoming](https://github.com/o1-labs/openmina/blob/develop/node/testing/tests/p2p_basic_incoming.rs)
140140

141141
Tests related to handling incoming connections.
142142

143143
- `AcceptIncomingConnection`: Node should accept incoming connections.
144144
- `AcceptMultipleIncomingConnections`: Node should accept multiple incoming
145145
connections.
146146

147-
### [P2P Outgoing](../../node/testing/tests/p2p_basic_outgoing.rs)
147+
### [P2P Outgoing](https://github.com/o1-labs/openmina/blob/develop/node/testing/tests/p2p_basic_outgoing.rs)
148148

149149
Tests related to outgoing connections
150150

@@ -171,7 +171,7 @@ Tests related to outgoing connections
171171
- `ConnectToInitialPeersBecomeReady`: Node should be able to connect to all
172172
initial peers after they become ready.
173173

174-
### [Single Node](../../node/testing/tests/single_node.rs):
174+
### [Single Node](https://github.com/o1-labs/openmina/blob/develop/node/testing/tests/single_node.rs):
175175

176176
We want to test whether the Rust node is compatible with the OCaml node. We
177177
achieve this by attempting to connect the Openmina node to the existing OCaml
@@ -194,7 +194,7 @@ cluster.
194194
- `SoloNodeBootstrap`: Set up single Rust node and bootstrap snarked ledger,
195195
bootstrap ledger and blocks.
196196

197-
### [Multi Node](../../node/testing/tests/multi_node.rs):
197+
### [Multi Node](https://github.com/o1-labs/openmina/blob/develop/node/testing/tests/multi_node.rs):
198198

199199
We also want to test a scenario in which the network consists only of Openmina
200200
nodes. If the Openmina node is using a functionality that is implemented only in
@@ -209,7 +209,7 @@ testing is completely local and under our control.
209209
- `MultiNodeBasicConnectivityInitialJoining`: Tests that node maintains number
210210
of peers between minimum and maximum allowed peers.
211211

212-
### [Record/Replay](../../node/testing/tests/record_replay.rs)
212+
### [Record/Replay](https://github.com/o1-labs/openmina/blob/develop/node/testing/tests/record_replay.rs)
213213

214214
- `RecordReplayBootstrap`: Bootstrap a rust node while recorder of state and
215215
input actions is enabled and make sure we can successfully replay it.

0 commit comments

Comments
 (0)