You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,3 @@
1
-
2
1
# The Open Mina Node
3
2
4
3
## With the Rust-based Open Mina node, you can produce, validate and apply blocks
@@ -7,15 +6,17 @@
7
6
8
7
## Run the Block Producer
9
8
10
-
Once you have completed the [pre-requisites](https://github.com/openmina/openmina/blob/main/docs/producer-demo.md#prerequisites) for your operating system, follow these steps:
9
+
Once you have completed the [pre-requisites](./docs/docker-installation.md) for your operating system, follow these steps:
11
10
12
11
### Setup Option 1: Download Docker Compose Files from the Release
13
12
14
13
1.**Download the Docker Compose files:**
14
+
15
15
- Go to the [Releases page](https://github.com/openmina/openmina/releases) of this repository.
16
16
- Download the latest `openmina-vX.Y.Z-docker-compose.zip` (or `.tar.gz`) file corresponding to the release version (available since v0.8.0).
17
17
18
18
2.**Extract the files:**
19
+
19
20
- Unzip or untar the downloaded file:
20
21
```bash
21
22
unzip openmina-vX.Y.Z-docker-compose.zip
@@ -34,6 +35,7 @@ Once you have completed the [pre-requisites](https://github.com/openmina/openmin
|☑ **Produce and prove blocks** (with and without transactions). | ☐ Receiving and broadcasting transactions from/into the transaction pool. | ☐ Direct transfer of MINA funds using Webnode |
73
-
|☑ **Produce SNARK proofs** for transactions. | ☐ A block replayer that uses data from the archive nodes| ☐ O1JS support for Webnode.|
74
-
|☑ **Connect to the network** and sync up to the best tip block | | |
75
-
|☑ **Validate and apply new blocks** and transactions to update consensus and ledger state. | | |
76
-
|☑ **Broadcast messages**: blocks, SNARK pool | | |
72
+
| Current functionalities | In Development | Future Plans |
|☑ **Produce and prove blocks** (with and without transactions). | ☐ Receiving and broadcasting transactions from/into the transaction pool. | ☐ Direct transfer of MINA funds using Webnode |
75
+
|☑ **Produce SNARK proofs** for transactions. | ☐ A block replayer that uses data from the archive nodes | ☐ O1JS support for Webnode. |
76
+
|☑ **Connect to the network** and sync up to the best tip block | | |
77
+
|☑ **Validate and apply new blocks** and transactions to update consensus and ledger state. | | |
78
+
|☑ **Broadcast messages**: blocks, SNARK pool | | |
77
79
78
80
Please note that receiving and broadcasting transactions from/into the transaction pool is already possible, but is still an early alpha version and needs more work.
79
81
80
-
81
82
## Updates to the Front End
82
83
83
84
We've added two new pages to the node's front end:
@@ -86,21 +87,19 @@ We've added two new pages to the node's front end:
The benchmarks page helps us to send transactions. The transactions are signed in the front end by the Mina signer.
97
-
Every user can send transactions and they can see in the mempool whether the transactions were sent by their node.
97
+
Every user can send transactions and they can see in the mempool whether the transactions were sent by their node.
98
98
99
99
## Launch the block producer demo
100
100
101
101
Run the Open Mina block producer node by following this [guide](https://github.com/openmina/openmina/blob/main/docs/producer-demo.md).
102
102
103
-
104
103
## How to launch the node (with Docker compose):
105
104
106
105
From the directory containing the Docker Compose files (either the root of the cloned repository or the directory where the released Docker Compose files were extracted):
@@ -113,7 +112,6 @@ Then visit http://localhost:8070 in your browser.
By default, `docker compose up` will use the latest node and frontend images available (tagged with `latest`), but specific versions can be selected by using the `OPENMINA_TAG` and `OPENMINA_FRONTEND_TAG` variables.
118
116
119
117
## How to launch the node (without Docker compose):
@@ -133,7 +131,7 @@ Ubuntu or Debian-based Linux distribution with the following packages installed:
Copy file name to clipboardExpand all lines: docs/alpha-testing-guide.md
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,51 +4,57 @@ This guide will walk you through running the **Alpha Rust Node** on Devnet using
4
4
5
5
## 1. Prerequisites
6
6
7
-
Ensure you have **Docker** installed. For installation instructions specific to your operating system, follow the steps outlined in the **Producer Demo Launch Guide**:
7
+
Ensure you have **Docker** installed:
8
8
9
-
-[Docker Installation Guide for Linux, macOS, and Windows](https://github.com/openmina/openmina/blob/main/docs/producer-demo.md#prerequisites)
9
+
-[Docker Installation Guide for Linux, macOS, and Windows](./docker-installation.md)
10
10
11
11
## 2. Download & Start the Node
12
12
13
13
1.**Download the Latest Release**:
14
+
14
15
- Visit the [Open Mina Releases](https://github.com/openmina/openmina/releases).
15
16
- Download the latest `openmina-vX.Y.Z-docker-compose.zip`.
16
17
17
18
2.**Extract the Files**:
19
+
18
20
```bash
19
21
unzip openmina-vX.Y.Z-docker-compose.zip
20
22
cd openmina-vX.Y.Z-docker-compose
21
23
```
22
24
23
25
3.**Start the Node on Devnet and Save Logs**:
24
26
Start the node and save the logs for later analysis:
>**1. Connecting to Peers:** The node connects to peers. You’ll see the number of connected, connecting, and disconnected peers grow.
37
+
38
+
>**1. Connecting to Peers:** The node connects to peers. You’ll see the number of connected, connecting, and disconnected peers grow.
36
39
>
37
-
>**2. Fetching Ledgers:** The node downloads key data: Staking ledger, Next epoch ledger, and Snarked ledger. Progress bars show the download status.
40
+
>**2. Fetching Ledgers:** The node downloads key data: Staking ledger, Next epoch ledger, and Snarked ledger. Progress bars show the download status.
38
41
>
39
-
>**3. Fetching & Applying Blocks:** The node downloads recent blocks to match the network’s current state. The dashboard tracks how many blocks are fetched and applied.
42
+
>**3. Fetching & Applying Blocks:** The node downloads recent blocks to match the network’s current state. The dashboard tracks how many blocks are fetched and applied.
40
43
41
44
## 3. Monitoring and troubleshooting
42
45
43
46
### Inspecting Saved Logs
47
+
44
48
If you’ve saved logs to a file, you can use tail or similar tools to view them:
45
49
46
50
```bash
47
51
tail -f openmina-node.log
48
52
```
49
53
50
54
### Restart the Node:
55
+
51
56
If the node becomes unresponsive or fails to start, restart the setup:
docker compose -f docker-compose.block-producer.yml up -d --pull always
44
+
```
45
+
46
+
4.**Go to Dashboard**
47
+
48
+
Visit [http://localhost:8070](http://localhost:8070) to [monitor sync](http://localhost:8070/dashboard) and [block production](http://localhost:8070/block-production).
49
+
50
+
### Access Logs
51
+
52
+
Logs are stored in `openmina-workdir` with filenames like `openmina.log.2024-10-14`, `openmina.log.2024-10-15`, etc.
53
+
54
+
### Provide Feedback
55
+
56
+
Collect logs from `openmina-workdir` and report issues on the [rust-node-testing](https://discord.com/channels/484437221055922177/1290662938734231552) discord channel. Include reproduction steps if possible.
0 commit comments