Skip to content

Commit 7e90e26

Browse files
authored
Merge pull request #319 from ton-blockchain/mytonctrl2
Mytonctrl2
2 parents 47275a9 + 610c7ee commit 7e90e26

File tree

107 files changed

+8029
-4772
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+8029
-4772
lines changed

.gitignore

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,124 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
### Python template
3+
# Byte-compiled / optimized / DLL files
4+
__pycache__/
5+
*.py[cod]
6+
*$py.class
7+
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
MANIFEST
27+
28+
# PyInstaller
29+
# Usually these files are written by a python script from a template
30+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
31+
*.manifest
32+
*.spec
33+
34+
# Installer logs
35+
pip-log.txt
36+
pip-delete-this-directory.txt
37+
38+
# Unit test / coverage reports
39+
htmlcov/
40+
.tox/
41+
.coverage
42+
.coverage.*
43+
.cache
44+
nosetests.xml
45+
coverage.xml
46+
*.cover
47+
.hypothesis/
48+
.pytest_cache/
49+
50+
# Translations
51+
*.mo
52+
*.pot
53+
54+
# Django stuff:
55+
*.log
56+
local_settings.py
57+
db.sqlite3
58+
59+
# Flask stuff:
60+
instance/
61+
.webassets-cache
62+
63+
# Scrapy stuff:
64+
.scrapy
65+
66+
# Sphinx documentation
67+
docs/_build/
68+
69+
# PyBuilder
70+
target/
71+
72+
# Jupyter Notebook
73+
.ipynb_checkpoints
74+
75+
# pyenv
76+
.python-version
77+
78+
# celery beat schedule file
79+
celerybeat-schedule
80+
81+
# SageMath parsed files
82+
*.sage.py
83+
84+
# Environments
85+
.env
86+
.venv
87+
env/
88+
venv/
89+
ENV/
90+
env.bak/
91+
venv.bak/
92+
93+
# Spyder project settings
94+
.spyderproject
95+
.spyproject
96+
97+
# Rope project settings
98+
.ropeproject
99+
100+
# mkdocs documentation
101+
/site
102+
103+
# mypy
104+
.mypy_cache/
105+
106+
#PyCharm
107+
.idea/
108+
.idea/$CACHE_FILE$
109+
.idea/.gitignore
110+
.idea/encodings.xml
111+
.idea/inspectionProfiles/
112+
.idea/misc.xml
113+
.idea/modules.xml
114+
.idea/ton_client.iml
115+
.idea/vcs.xml
116+
1117
*.DS_Store
2118
.idea/
3119
__pycache__/
4120
test.py
121+
.vscode/
122+
venv/
123+
venv38/
124+
sandbox/

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[submodule "mypylib"]
22
path = mypylib
3-
url = https://github.com/igroman787/mypylib.git
3+
url = https://github.com/igroman787/mypylib
44
[submodule "mypyconsole"]
55
path = mypyconsole
6-
url = https://github.com/igroman787/mypyconsole.git
6+
url = https://github.com/igroman787/mypyconsole

README.Ru.md

Lines changed: 0 additions & 119 deletions
This file was deleted.

README.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,19 @@
22

33
<!-- omit from toc -->
44
# MyTonCtrl
5-
[Данный текст доступен на русском языке.](README.Ru.md)
65

76
<!-- omit from toc -->
87
## Contents
98

109
- [What is MyTonCtrl?](#what-is-myttonctrl)
10+
- [MyTonCtrl Documentation](#mytonctrl-documentation)
1111
- [Functionality](#functionality)
1212
- [List of tested operating systems](#list-of-tested-operating-systems)
1313
- [Installation](#installation)
1414
- [Installation scripts overview](#installation-scripts-overview)
1515
- [Installation modes](#installation-modes)
1616
- [Installation for Ubuntu](#installation-for-ubuntu)
1717
- [Installation for Debian](#installation-for-debian)
18-
- [MyTonCtrl Documentation](#mytonctrl-documentation)
1918
- [Telemetry](#telemetry)
2019
- [MyTonCtrl installer mode](#mytonctrl-installer-mode)
2120
- [Web admin panel](#web-admin-panel)
@@ -24,10 +23,14 @@
2423

2524

2625
# What is MyTonCtrl?
27-
MyTonCtrl is a console application that serves as a convenient wrapper for `fift`, `lite-client`, and `validator-engine-console`. It has been specifically developed to streamline wallet, domain, and validator management tasks on the Linux operating system.
26+
MyTonCtrl is a console application that serves as a convenient wrapper for `fift`, `lite-client`, and `validator-engine-console`. It has been specifically developed for node (validator) management tasks on the Linux operating system.
2827

2928
![MyTonCtrl Status](screens/mytonctrl-status.png)
3029

30+
# MyTonCtrl Documentation
31+
32+
Mytonctrl's documentation can be found at https://docs.ton.org/participate/run-nodes/mytonctrl.
33+
3134
# Functionality
3235
- [x] Show TON network status
3336
- [x] Management of local wallets
@@ -84,7 +87,10 @@ MyTonCtrl is a console application that serves as a convenient wrapper for `fift
8487
- `mytoninstaller.py`: configures the validator and `mytonctrl`; generates validator connection keys.
8588

8689
## Installation modes
87-
There are two installation modes: `lite` and`full`. They both **compile** and install `TON` components. However the `lite` version does not configure or run the node/validator.
90+
There are two installation modes: `liteserver` and `validator`. They both **compile** and install `TON` components and run the node/validator. Use `liteserver` mode if you want to use your node as Liteserver only.
91+
Use `validator` mode if you want to participate in the validator elections (you still can use that node as Liteserver).
92+
93+
Learn more about node types: https://docs.ton.org/participate/nodes/node-types
8894

8995
## Installation for Ubuntu
9096
1. Download and execute the `install.sh` script in the desired installation mode. During installation the script prompts you for the superuser password several times.
@@ -111,17 +117,6 @@ There are two installation modes: `lite` and`full`. They both **compile** and in
111117
mytonctrl
112118
```
113119

114-
# MyTonCtrl Documentation
115-
116-
This repository contains the following technical documents for MyTonCtrl, categorized by language. Simply click the links below to navigate to the document you're interested in.
117-
118-
| | FAQ | Import Wallets | Ubuntu Manual | Nominator Pool |
119-
|:-:|:---:|:-------------:|:-------------:|:--------------:|
120-
| **English (EN)** | [Link](./docs/en/FAQ.md) | [Link](./docs/en/import-wallets.md) | [Link](./docs/en/manual-ubuntu.md) | [Link](./docs/en/nominator-pool.md) |
121-
| **Russian (RU)** | [Link](./docs/ru/FAQ.md) | [Link](./docs/ru/import-wallets.md) | [Link](./docs/ru/manual-ubuntu.md) | [Link](./docs/ru/nominator-pool.md) |
122-
| **Traditional Chinese** | [Link](./docs/zh_TW/FAQ.md) | [Link](./docs/zh_TW/import-wallets.md) | [Link](./docs/zh_TW/manual-ubuntu.md) | [Link](./docs/zh_TW/nominator-pool.md) |
123-
124-
125120
# Telemetry
126121
By default, `mytonctrl` sends validator statistics to the https://toncenter.com server.
127122
It is necessary to identify network abnormalities, as well as to quickly give feedback to developers.
@@ -155,4 +150,4 @@ Ready. A local copy of toncenter is available at `http://<server-ip-address>:800
155150
git: https://github.com/igroman787/pytonv3
156151

157152
# Useful links
158-
* https://docs.ton.org/
153+
* https://docs.ton.org/

0 commit comments

Comments
 (0)