Skip to content

Commit d0ad53c

Browse files
ethernity-cloudEthernity CLOUDIosif Peterfi
authored
V3.3.3 (#105)
Setup & Configuration Updates * Added AMOY network details * Added POLYGON AMOY network * Added IOTEX TESTNET network * Updated installation script for multichain support * Added task price setting in multichain support * Updated the task execution price during setup * Updated README.md * Added dependency manager module * Added IPFS configuration during setup * Updated .env variables for default IPFS settings * Update IPFS configuration settings in the storage module * Disabled IPv6 during vagrant setup, as well as during agent startup * ETNY_NGROK_AUTHTOKEN was added Network & Blockchain Enhancements * Optimized gas spending on Polygon * Optimized IOTEX TESTNET gas parameters * Increased MAX_FEE_PER_GAS to 30 for SEPOLIA * Integrated threads to run each network in its own thread * Refactored the code for multichain support * Consolidated all network parameters inside the .env file * Added EIP1559 support and related variables * Added RPC_DELAY variable * Added BLOC_TIME variable * Added MIDDLEWARE variable * Added TOKEN_NAME variable * Added REWARD_TYPE variable * Added NETWORK_FEE variable * Added ENCLAVE_FEE variable * Added network type variable * Updated dispersion factor to take into account the size of the network * Improved caching mechanisms * Added the possibility to override any network parameter via command line * Added migration from legacy node configuration * Reordered imports to allow web3 upgrade * Upgraded web3.py to version 7.6.1 Performance & Optimization Improvements * DPRequests are created only once, leaving only heartbeats for regular calls * Balanced is checked before starting new DP requests * Memory floor instead of ceil is performed to advertise available resources * Hardware information is collected during startup * The agent restarts for upgrade every 48 hours now * A restart of the threads is performed every 24 hours * Registry cleanup process now stops the etny-securelock and etny-trustedzone enclaves * Working dir is now changed to the proper network to manage downloads and cache * Reordered imports to allow web3 upgrade * Moved global vars inside init to prevent sharing between threads IPFS & Storage Enhancements * Enabled IPFS cache cleanup * IPFS cache is being cleaned regularly for entries older than 14 days * IPFS cache migration moves also the downloaded Qm* data * When IPFS download fails, the local IPFS service is restarted to resume operations * Retry uploads with restart of IPFS on failure * Decreased IPFS timeout to 60 seconds * IPFS garbage collection moved to the end of request processing * IPFS upload performs a swarm connect every time now * UFW rules enable IPFS gateway for local access * IPFS configuration enables the gateway service on port 8080 Transaction & Order Handling Improvements * All transactions retry several times until successful * Refactored code for better transaction handling * Fixed order approval handling * Improved error handling for order placement * Fixed a bug that prevented order requests under specific conditions * Fixed a bug when a previous running task was blocking startup * Fixed a bug when a task was not continued due to cache update * Fixed a bug when placing an order would generate a continuous loop * Integration tests are run until one of them is successful, then the rest are skipped Logging & Debugging Improvements * Rewards are shown in the logs now * General clarification and simplifications of INFO log messages * Marked most of detailed logs as DEBUG * Enabled heartbeats during cache building Bug Fixes * Minor bug fix during Docker containers cleanup * Fix Docker cleanup bug after restart and typo * Fixed bug when installing on testnet * Fixed RPC setting on testnet installation * Fixed a bug when task was not continued due to cache update * Fixed a bug when placing an order would generate a continuous loop * Fixed SwiftStream startup * Typo bug fix Miscellaneous Improvements * Improve how SGX compatibility is handled. Enabled testing for branch. * Enabled heartbeats during cache building --------- Co-authored-by: Ethernity CLOUD <contact@ethernity.cloud> Co-authored-by: Iosif Peterfi <iosif@ethernity.cloud>
1 parent 47ff9d4 commit d0ad53c

File tree

22 files changed

+2943
-1523
lines changed

22 files changed

+2943
-1523
lines changed

README.md

Lines changed: 39 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,37 @@ Debian 12.0
4242
We are planning support for the following operating systems:
4343

4444
```
45-
Debian 12*
46-
Fedora 41*
47-
Rocky 9*
45+
Fedora
46+
Rocky
47+
AlmaLinux
4848
```
4949

50-
## Installation
50+
## Automated Installation
5151

52-
### Automated Installation
53-
Please check the automated process at https://github.com/ethernity-cloud/etny-node-installer.
52+
This installer provides an easy way to automate the installation process of an Ethernity Node as much as possible.
5453

55-
For Manual installation please continue reading below.
54+
Features:
55+
- Automates the system update, kernel update (5.0.0-050000-generic for ubuntu 18.04 and 5.13.0-41-generic for ubuntu 20.04) and runs the ansible-playbook installation process
56+
- Asks the user to generate (using the “ethkey” tool) or to input wallet details from console (node and result)
57+
- Checks wallet balance for Bergs (continues only if Bergs > 0)
58+
- Validates wallet for wrong input
59+
- Prevents the user to continue if the node wallet is the same as the result wallet
60+
- Restarts the system automatically after the system and kernel is updated
61+
62+
### 1. Clone the repository to the home folder and run it
63+
```
64+
$ cd && git clone https://github.com/ethernity-cloud/mvp-pox-node.git
65+
$ cd mvp-pox-node
66+
$ ./etny-node-installer.sh
67+
```
68+
69+
### 2. Run the script again after system restart
70+
```
71+
$ cd mvp-pox-node
72+
$ ./etny-node-installer.sh
73+
```
74+
75+
## Maual Installation
5676

5777
### 1. Install ansible
5878

@@ -127,38 +147,27 @@ Service status can be seen by running the below command.
127147
```
128148
systemctl status etny-vagrant.service
129149
```
130-
### 7. For Ubuntu 18.04 and 20.04 installations if you'd like to upgrade the virtual machine from Ubuntu 18.04 to 22.04
131150

132-
Please run the commands below
151+
## Ugrading
152+
153+
To upgrade to the latest version, please use the automated installer by running the following commands:
133154
```
134155
$ cd && cd mvp-pox-node
135156
$ git pull
136-
$ sudo ansible-playbook -i localhost, playbook.yml \
137-
-e "ansible_python_interpreter=/usr/bin/python3"
157+
$ ./etny-node-installer.sh
138158
```
139159

140-
# ETNY Node Installer
141-
142-
This installer provides an easy way to automate the installation process of an Ethernity Node as much as possible.
143-
144-
Features:
145-
- Automates the system update, kernel update (5.0.0-050000-generic for ubuntu 18.04 and 5.13.0-41-generic for ubuntu 20.04) and runs the ansible-playbook installation process
146-
- Asks the user to generate (using the “ethkey” tool) or to input wallet details from console (node and result)
147-
- Checks wallet balance for Bergs (continues only if Bergs > 0)
148-
- Validates wallet for wrong input
149-
- Prevents the user to continue if the node wallet is the same as the result wallet
150-
- Restarts the system automatically after the system and kernel is updated
160+
## Troubleshooting
151161

152-
## Usage Instructions
162+
### Failed installation
163+
Backup the `~/mvp-pox-node/config` file
153164

154-
### 1. Clone the repository to the home folder and run it
155165
```
156-
$ cd && git clone https://github.com/ethernity-cloud/mvp-pox-node.git
157-
$ cd mvp-pox-node
166+
$ cd && cd mvp-pox-node
167+
$ git pull
168+
$ rm -rf config
158169
$ ./etny-node-installer.sh
159170
```
160171

161-
### 2. Run the script again after system restart
162-
```
163-
$ cd mvp-pox-node
164-
$ ./etny-node-installer.sh
172+
Follow through the prompts and use the same keys and addresses from your backup
173+

0 commit comments

Comments
 (0)