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
@@ -14,25 +14,17 @@ This image include a script named "**/massa-guard/massa-guard.sh**" to:
14
14
- Autobuy 1 roll when your node failed and lost his "Active rolls".
15
15
- Autobuy X rolls when your MAS amount greater than 200 MAS and if "Active rolls" dont exceed "TARGET_ROLL_AMOUNT" set in /massa_mount/config/config.ini (If set).
16
16
- Autosell X rolls when "Active rolls" exceed "TARGET_ROLL_AMOUNT" set in /massa_mount/config/config.ini (If set).
17
-
-[BOOTSTRAPFINDER]**Deprecated since testnet 16**. From now and by default comminity node unable to bootstrap on other community nodes.
18
-
- Auto refresh massa online bootstrap list with connected node.
19
-
- Filter to only add node which have TCP port 31244 & 31245 reachable.
20
17
-[WATCHDOG]
21
18
- Restart node when hang or when ram consumption exceed 90% (Value can be adjust)
22
19
- You host your node under a dynamical IP? massa-guard will watch IP change and update your config.toml and push IP updates to massabot.
23
-
- Push public IP or public IP change to massabot (Need to set discord token in /massa_mount/config/config.ini)
24
20
- Logs his actions over /massa_mount/logs/ and backup node logs before restart if necessary.
25
-
- Autoget MAS faucet on Discord 1 time by day (Need to set discord token in /massa_mount/config/config.ini)
26
21
-[STARTING]
27
-
- Massa-guard will auto register your node with massabot.
28
22
- Massa-guard will auto create wallet + nodekey + stacke privkey; all with default password "**MassaToTheMoon2022**".
29
23
- Massa-guard auto create your config.toml with your public IP.
30
-
- Massa-guard auto get faucet to buy your first roll.
- 20230309 - Testnet 20 - v20.2.0 - Testnet 20 - v20.2 Ready! Please note you will need to create a new wallet for this Testnet.
@@ -42,36 +34,29 @@ This image include a script named "**/massa-guard/massa-guard.sh**" to:
42
34
## [HOWTO] ##
43
35
### [SETUP] ###
44
36
#### [PREPARE] ####
45
-
__STEP 1:__
46
-
/!\ Register your discord account to the testnet program
47
-
* Go to Massa Discord channel https://discord.com/channels/828270821042159636/872395473493839913 and follow inscructions.
48
-
49
-
__STEP 2:__
50
37
Create an empty folder to mount in our container /massa_mount path or store your wallet /nodekey/stacking_key/config.toml into this folder if you have it:
51
-
-wallet.dat
38
+
-wallet_%%%.dat
52
39
- config.toml
53
40
- node_privkey.key
54
-
- staking_keys.json
55
41
56
42
/!\ If don't have this file, leave your folder empty, massa-guard will create a wallet and node key and automaticaly stake wallet for you. This files will be backup on your mount point by massa-guard.
57
43
58
44
#### [RUN] Usecase Example ####
59
45
/!\ You can define ENV values when you create your container:
60
46
- ''MASSAGUARD'' - Set with 1 to enable all massa-guard features or with 0 to disable all features except keys creations (Enable by default without ENV value)
61
-
- ''DISCORD'' - Set with your discord token id (Refer to HELP section) - To enable discord feature (GetFaucet + NodeRegistration + DynamicalIP)
62
47
- ''DYNIP'' - Set with "0" if you host under static public IP or "1" if you host under dynimic public IP to enable update IP feature
63
48
- ''WALLETPWD'' - Set with "YourCustomPassword" if you want to use a custom wallet password.
64
49
- ''NODEPWD'' - Set with "YourCustomPassword" if you want to use a custom node password.
65
50
- ''IP'' - Set with "YourIPAddress" if your node have differents publics IPs and you want to set your custom selection.
66
51
/!\ Please note, this ENV variables have a low priority if a previous config.ini exist in your mount point.
67
52
68
-
*__Example N°1:__ Container creation example with ENV variables to define Dicord token and docker argument to restart container with host:
53
+
*__Example N°1:__ Container creation example with ENV variables docker argument to restart container with host:
0 commit comments