-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* mainnet
- Loading branch information
Showing
2 changed files
with
32 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# Адрес мастерноды с открытым доступом к API, по умолчанию - мастернода разработчиков Minter | ||
address = "https://minter-node-1.testnet.minter.network" | ||
address = "https://minter-nodes-1.mainnet.minter.network" | ||
# Публичные ключи мастернод и процентное соотношение, суммарно 100, без знака % и только целое число | ||
nodes = [ ["Mp7555e8a7b2fea6e0c45dd92075338076dc330a6b3e09130720d9946a4421a97a", "60"], | ||
["Mp7555e8a7b2fea6e0c45dd92075338076dc330a6b3e09130720d9946a4421a97a", "40", "VALIDATOR"] ] | ||
nodes = [ ["Mp77774337c2212ce5a9b57b9392daf5e11639f7fd38e1a16a584291ed3a98b777", "70"], | ||
["Mp77774337c2212ce5a9b57b9392daf5e11639f7fd38e1a16a584291ed3a98b777", "30", "VALIDATOR"] ] | ||
|
||
# Адреса аккаунтов в виде "Mx..." и приватные ключи аккаунтов | ||
accounts = [ ["Mx...","..."], | ||
["Mx...","..."], | ||
["Mx...","..."] ] | ||
# Монета сети (в тестовой MNT, в рабочей BIP) | ||
coin_net = "MNT" | ||
coin_net = "BIP" | ||
# Время ожидания между делегированием (в минутах) | ||
timeout = 10 | ||
# Минимальная сумма делегирования | ||
min_amount = 100 | ||
# Тип сети main или test | ||
chain = "test" | ||
chain = "main" | ||
# Максимальный коэф. оплаты комиссии | ||
max_gas = 1 | ||
max_gas = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# copy to /etc/systemd/system/ | ||
# sudo systemctl enable deleg | ||
# sudo systemctl start deleg | ||
|
||
[Unit] | ||
Description=VCDeleg | ||
After=syslog.target | ||
After=network.target | ||
|
||
[Service] | ||
Type=simple | ||
PIDFile=/opt/deleg/service.pid | ||
User=root | ||
Group=root | ||
WorkingDirectory=/opt/deleg | ||
ExecStart=/opt/deleg/adlg_lin64 /opt/deleg/adlg.toml & | ||
SyslogIdentifier=vcdeleg | ||
StandardOutput=syslog | ||
StandardError=syslog | ||
OOMScoreAdjust=-100 | ||
TimeoutSec=10 | ||
Restart=always | ||
LimitNOFILE=16384 | ||
|
||
[Install] | ||
WantedBy=multi-user.target |