Skip to content

Commit

Permalink
Mainnet (#3)
Browse files Browse the repository at this point in the history
* mainnet
  • Loading branch information
dkodnik authored Aug 16, 2019
1 parent 093f6a7 commit b7be31a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 6 deletions.
12 changes: 6 additions & 6 deletions adlg.toml
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
26 changes: 26 additions & 0 deletions deleg.service
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

0 comments on commit b7be31a

Please sign in to comment.