Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions @l10n/ru/docs/development/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ chmod +x build-linux.sh

```bash
./build-linux.sh # Release-сборка (по умолчанию)
./build-linux.sh -l # LOW_MEMORY_NODE (узлы-валидаторы)
./build-linux.sh -n # Testnet-сборка
./build-linux.sh -t Debug -j4 # Debug-сборка с 4 параллельными задачами
./build-linux.sh --skip-deps # Пропустить установку зависимостей
./build-linux.sh --install # Установить в систему после сборки

# Пользовательские пути к зависимостям
Expand All @@ -54,7 +52,6 @@ chmod +x build-mac.sh
**Параметры:**

```bash
./build-mac.sh -l # Low-memory узел
./build-mac.sh -n # Testnet
./build-mac.sh --skip-deps # Пропустить установки Homebrew
./build-mac.sh --boost-root /opt/boost_1_74_0
Expand All @@ -77,7 +74,6 @@ build-mingw.bat
| Переменная | По умолчанию | Описание |
|-----------|-------------|---------|
| `VIZ_BUILD_TYPE` | Release | Release или Debug |
| `VIZ_LOW_MEMORY` | OFF | Включить low-memory узел |
| `VIZ_BUILD_TESTNET` | OFF | Testnet-сборка |
| `VIZ_FULL_STATIC` | OFF | Полностью статический бинарник |
| `VIZ_CMAKE_EXTRA` | — | Дополнительные флаги CMake |
Expand All @@ -100,7 +96,6 @@ build-msvc.bat
|-----------|-------------|---------|
| `VIZ_VS_VERSION` | "Visual Studio 17 2022" | Генератор Visual Studio |
| `VIZ_BUILD_TYPE` | Release | Тип сборки |
| `VIZ_LOW_MEMORY` | OFF | Low-memory узел |
| `VIZ_BUILD_TESTNET` | OFF | Testnet-сборка |

**Требования:** Visual Studio 2019+ с нагрузкой "Desktop development with C++", CMake 3.16+.
Expand All @@ -125,7 +120,6 @@ build-msvc.bat
| Параметр | По умолчанию | Описание |
|---------|-------------|---------|
| `BUILD_TESTNET` | OFF | Сборка для testnet |
| `LOW_MEMORY_NODE` | OFF | Исключить неконсенсусные данные (уменьшает RAM) |
| `CHAINBASE_CHECK_LOCKING` | OFF | Включить проверку блокировок (только для разработки) |
| `BUILD_SHARED_LIBRARIES` | OFF | Собирать разделяемые библиотеки |
| `USE_PCH` | OFF | Включить предкомпилированные заголовки (ускоряет пересборку) |
Expand All @@ -140,9 +134,6 @@ build-msvc.bat
# Release-сборка
python3 programs/build_helpers/configure_build.py --release --src ../..

# Debug с low-memory
python3 programs/build_helpers/configure_build.py --debug --low-memory

# Кросс-компиляция для Windows с MinGW
python3 programs/build_helpers/configure_build.py --win --release

Expand Down
9 changes: 0 additions & 9 deletions @l10n/ru/docs/node/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ chmod +x build-linux.sh
### Основные флаги сборки

```bash
# Низкопамятный узел (для валидаторов/сид-узлов — без плагинов индексирования истории)
./build-linux.sh -l

# Сборка для тестнета
./build-linux.sh -n

Expand All @@ -58,9 +55,6 @@ chmod +x build-linux.sh
# Параллельные задания
./build-linux.sh -j 8

# Пропустить установку зависимостей (уже установлены)
./build-linux.sh --skip-deps

# Пользовательские пути к Boost / OpenSSL
./build-linux.sh --boost-root /opt/boost_1_74_0 --openssl-root /opt/openssl
```
Expand Down Expand Up @@ -99,7 +93,6 @@ build-mingw.bat
| Переменная | По умолчанию | Описание |
|------------|--------------|----------|
| `VIZ_BUILD_TYPE` | `Release` | `Release` или `Debug` |
| `VIZ_LOW_MEMORY` | `OFF` | `ON` для низкопамятного узла |
| `VIZ_BUILD_TESTNET` | `OFF` | `ON` для сборки тестнета |
| `VIZ_FULL_STATIC` | `OFF` | `ON` для полностью статического бинарного файла |

Expand All @@ -124,7 +117,6 @@ build-msvc.bat
| Опция | По умолчанию | Описание |
|-------|--------------|----------|
| `BUILD_TESTNET` | `OFF` | Включить код для тестнета |
| `LOW_MEMORY_NODE` | `OFF` | Исключить плагины истории/индексирования |
| `CHAINBASE_CHECK_LOCKING` | `OFF` | Включить проверки блокировок (debug) |
| `BUILD_SHARED_LIBRARIES` | `OFF` | Собрать разделяемые библиотеки |
| `USE_PCH` | `OFF` | Включить предкомпилированные заголовки (ускоряет пересборку) |
Expand All @@ -134,7 +126,6 @@ build-msvc.bat
```bash
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DLOW_MEMORY_NODE=ON \
-DCMAKE_INSTALL_PREFIX=/usr/local \
..
make -j$(nproc)
Expand Down
8 changes: 4 additions & 4 deletions @l10n/ru/docs/node/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ docker build \

### CMake-флаги для каждого образа

| Образ | `LOW_MEMORY_NODE` | `BUILD_TESTNET` |
|-------|:-----------------:|:---------------:|
| production | OFF | OFF |
| testnet | OFF | ON |
| Образ | `BUILD_TESTNET` |
|-------|:---------------:|
| production | OFF |
| testnet | ON |

---

Expand Down
3 changes: 1 addition & 2 deletions @l10n/ru/docs/node/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ shared-file-size = 4G

# Плагины (полный узел)
plugin = chain p2p webserver json_rpc database_api network_broadcast_api
plugin = social_network tags follow account_history
plugin = account_history
```

Для узла-валидатора см. [Узел-валидатор](./validator-node.md).
Expand Down Expand Up @@ -172,7 +172,6 @@ curl -s -X POST http://localhost:8090 \
| Полный узел | `config.ini` | Все плагины, публичные RPC-эндпоинты |
| Валидатор | `config_witness.ini` | Производство блоков, RPC только на localhost |
| Тестовая сеть | `config_testnet.ini` | Разработка и тестирование |
| Малая память | `config.ini` + флаг сборки `LOW_MEMORY_NODE` | Только консенсус, без индексов истории |

---

Expand Down
9 changes: 0 additions & 9 deletions @l10n/zh-CN/docs/development/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ chmod +x build-linux.sh

```bash
./build-linux.sh # Release 构建(默认)
./build-linux.sh -l # LOW_MEMORY_NODE(验证者节点)
./build-linux.sh -n # Testnet 构建
./build-linux.sh -t Debug -j4 # Debug 构建,4 个并行任务
./build-linux.sh --skip-deps # 跳过依赖安装
./build-linux.sh --install # 构建后安装到系统

# 自定义依赖路径
Expand All @@ -54,7 +52,6 @@ chmod +x build-mac.sh
**选项:**

```bash
./build-mac.sh -l # 低内存节点
./build-mac.sh -n # Testnet
./build-mac.sh --skip-deps # 跳过 Homebrew 安装
./build-mac.sh --boost-root /opt/boost_1_74_0
Expand All @@ -77,7 +74,6 @@ build-mingw.bat
| 变量 | 默认值 | 描述 |
|------|--------|------|
| `VIZ_BUILD_TYPE` | Release | Release 或 Debug |
| `VIZ_LOW_MEMORY` | OFF | 启用低内存节点 |
| `VIZ_BUILD_TESTNET` | OFF | Testnet 构建 |
| `VIZ_FULL_STATIC` | OFF | 完全静态二进制文件 |
| `VIZ_CMAKE_EXTRA` | — | 附加 CMake 标志 |
Expand All @@ -100,7 +96,6 @@ build-msvc.bat
|------|--------|------|
| `VIZ_VS_VERSION` | "Visual Studio 17 2022" | Visual Studio 生成器 |
| `VIZ_BUILD_TYPE` | Release | 构建类型 |
| `VIZ_LOW_MEMORY` | OFF | 低内存节点 |
| `VIZ_BUILD_TESTNET` | OFF | Testnet 构建 |

**要求:** Visual Studio 2019+(带"Desktop development with C++"工作负载)、CMake 3.16+。
Expand All @@ -125,7 +120,6 @@ build-msvc.bat
| 选项 | 默认值 | 描述 |
|------|--------|------|
| `BUILD_TESTNET` | OFF | 为 testnet 构建 |
| `LOW_MEMORY_NODE` | OFF | 排除非共识数据(减少 RAM) |
| `CHAINBASE_CHECK_LOCKING` | OFF | 启用锁检查(仅用于开发) |
| `BUILD_SHARED_LIBRARIES` | OFF | 构建共享库 |
| `USE_PCH` | OFF | 启用预编译头文件(加速重新构建) |
Expand All @@ -140,9 +134,6 @@ build-msvc.bat
# Release 构建
python3 programs/build_helpers/configure_build.py --release --src ../..

# 带低内存的 Debug
python3 programs/build_helpers/configure_build.py --debug --low-memory

# 使用 MinGW 交叉编译 Windows 版本
python3 programs/build_helpers/configure_build.py --win --release

Expand Down
9 changes: 0 additions & 9 deletions @l10n/zh-CN/docs/node/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ chmod +x build-linux.sh
### 常用构建标志

```bash
# 低内存节点(验证者/种子节点 — 排除历史索引)
./build-linux.sh -l

# 测试网构建
./build-linux.sh -n

Expand All @@ -58,9 +55,6 @@ chmod +x build-linux.sh
# 并行任务数
./build-linux.sh -j 8

# 跳过依赖安装(已安装)
./build-linux.sh --skip-deps

# 自定义 Boost / OpenSSL 路径
./build-linux.sh --boost-root /opt/boost_1_74_0 --openssl-root /opt/openssl
```
Expand Down Expand Up @@ -99,7 +93,6 @@ build-mingw.bat
| 变量 | 默认值 | 描述 |
|------|-------|------|
| `VIZ_BUILD_TYPE` | `Release` | `Release` 或 `Debug` |
| `VIZ_LOW_MEMORY` | `OFF` | `ON` 构建低内存节点 |
| `VIZ_BUILD_TESTNET` | `OFF` | `ON` 用于测试网构建 |
| `VIZ_FULL_STATIC` | `OFF` | `ON` 构建完全静态二进制文件 |

Expand All @@ -124,7 +117,6 @@ build-msvc.bat
| 选项 | 默认值 | 描述 |
|------|-------|------|
| `BUILD_TESTNET` | `OFF` | 启用测试网专用代码 |
| `LOW_MEMORY_NODE` | `OFF` | 排除历史/索引插件 |
| `CHAINBASE_CHECK_LOCKING` | `OFF` | 启用锁断言检查(debug) |
| `BUILD_SHARED_LIBRARIES` | `OFF` | 构建共享库 |
| `USE_PCH` | `OFF` | 启用预编译头文件(加快重新构建) |
Expand All @@ -134,7 +126,6 @@ build-msvc.bat
```bash
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DLOW_MEMORY_NODE=ON \
-DCMAKE_INSTALL_PREFIX=/usr/local \
..
make -j$(nproc)
Expand Down
8 changes: 4 additions & 4 deletions @l10n/zh-CN/docs/node/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ docker build \

### 各镜像的 CMake 标志

| 镜像 | `LOW_MEMORY_NODE` | `BUILD_TESTNET` |
|------|:-----------------:|:---------------:|
| production | OFF | OFF |
| testnet | OFF | ON |
| 镜像 | `BUILD_TESTNET` |
|------|:---------------:|
| production | OFF |
| testnet | ON |

---

Expand Down
1 change: 0 additions & 1 deletion @l10n/zh-CN/docs/node/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ curl -s -X POST http://localhost:8090 \
| 全节点 | `config.ini` | 所有插件,公共 RPC 端点 |
| 验证者 | `config_witness.ini` | 区块生产,RPC 仅限本地 |
| 测试网 | `config_testnet.ini` | 开发和测试 |
| 低内存 | `config.ini` + `LOW_MEMORY_NODE` 构建标志 | 仅共识,无历史索引 |

---

Expand Down
9 changes: 0 additions & 9 deletions docs/development/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ chmod +x build-linux.sh

```bash
./build-linux.sh # Release build (default)
./build-linux.sh -l # LOW_MEMORY_NODE (validator nodes)
./build-linux.sh -n # Testnet build
./build-linux.sh -t Debug -j4 # Debug build with 4 parallel jobs
./build-linux.sh --skip-deps # Skip dependency installation
./build-linux.sh --install # Install to system after build

# Custom dependency paths
Expand All @@ -54,7 +52,6 @@ Requires Xcode Command Line Tools and Homebrew. The script installs: `boost`, `c
**Options:**

```bash
./build-mac.sh -l # Low-memory node
./build-mac.sh -n # Testnet
./build-mac.sh --skip-deps # Skip Homebrew installs
./build-mac.sh --boost-root /opt/boost_1_74_0
Expand All @@ -77,7 +74,6 @@ build-mingw.bat
| Variable | Default | Description |
|----------|---------|-------------|
| `VIZ_BUILD_TYPE` | Release | Release or Debug |
| `VIZ_LOW_MEMORY` | OFF | Enable low-memory node |
| `VIZ_BUILD_TESTNET` | OFF | Testnet build |
| `VIZ_FULL_STATIC` | OFF | Fully static binary |
| `VIZ_CMAKE_EXTRA` | — | Additional CMake flags |
Expand All @@ -100,7 +96,6 @@ build-msvc.bat
|----------|---------|-------------|
| `VIZ_VS_VERSION` | "Visual Studio 17 2022" | Visual Studio generator |
| `VIZ_BUILD_TYPE` | Release | Build type |
| `VIZ_LOW_MEMORY` | OFF | Low-memory node |
| `VIZ_BUILD_TESTNET` | OFF | Testnet build |

**Requirements:** Visual Studio 2019+ with "Desktop development with C++" workload, CMake 3.16+.
Expand All @@ -125,7 +120,6 @@ All Dockerfiles use a two-stage build to minimize image size and use Boost 1.71
| Option | Default | Description |
|--------|---------|-------------|
| `BUILD_TESTNET` | OFF | Build for testnet |
| `LOW_MEMORY_NODE` | OFF | Exclude non-consensus data (reduces RAM) |
| `CHAINBASE_CHECK_LOCKING` | OFF | Enable lock checking (development only) |
| `BUILD_SHARED_LIBRARIES` | OFF | Build shared libraries |
| `USE_PCH` | OFF | Enable precompiled headers (faster rebuilds) |
Expand All @@ -140,9 +134,6 @@ Wraps CMake with sensible defaults and cross-compilation support:
# Release build
python3 programs/build_helpers/configure_build.py --release --src ../..

# Debug with low-memory
python3 programs/build_helpers/configure_build.py --debug --low-memory

# Cross-compile for Windows with MinGW
python3 programs/build_helpers/configure_build.py --win --release

Expand Down
9 changes: 0 additions & 9 deletions docs/node/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ Output binary: `build/programs/vizd/vizd`
### Common build flags

```bash
# Low-memory node (validators/seed nodes — excludes history indexing)
./build-linux.sh -l

# Testnet build
./build-linux.sh -n

Expand All @@ -58,9 +55,6 @@ Output binary: `build/programs/vizd/vizd`
# Parallel jobs
./build-linux.sh -j 8

# Skip dependency installation (already installed)
./build-linux.sh --skip-deps

# Custom Boost / OpenSSL paths
./build-linux.sh --boost-root /opt/boost_1_74_0 --openssl-root /opt/openssl
```
Expand Down Expand Up @@ -99,7 +93,6 @@ Optional environment variables:
| Variable | Default | Description |
|----------|---------|-------------|
| `VIZ_BUILD_TYPE` | `Release` | `Release` or `Debug` |
| `VIZ_LOW_MEMORY` | `OFF` | `ON` to build low-memory node |
| `VIZ_BUILD_TESTNET` | `OFF` | `ON` for testnet build |
| `VIZ_FULL_STATIC` | `OFF` | `ON` for fully static binary |

Expand All @@ -124,7 +117,6 @@ For direct CMake usage (advanced):
| Option | Default | Description |
|--------|---------|-------------|
| `BUILD_TESTNET` | `OFF` | Enable testnet-specific code |
| `LOW_MEMORY_NODE` | `OFF` | Exclude history/indexing plugins |
| `CHAINBASE_CHECK_LOCKING` | `OFF` | Enable lock assertion checks (debug) |
| `BUILD_SHARED_LIBRARIES` | `OFF` | Build shared libraries |
| `USE_PCH` | `OFF` | Enable precompiled headers (faster rebuilds) |
Expand All @@ -134,7 +126,6 @@ Example:
```bash
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DLOW_MEMORY_NODE=ON \
-DCMAKE_INSTALL_PREFIX=/usr/local \
..
make -j$(nproc)
Expand Down
8 changes: 4 additions & 4 deletions docs/node/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ docker build \

### CMake flags per image

| Image | `LOW_MEMORY_NODE` | `BUILD_TESTNET` |
|-------|:-----------------:|:---------------:|
| production | OFF | OFF |
| testnet | OFF | ON |
| Image | `BUILD_TESTNET` |
|-------|:---------------:|
| production | OFF |
| testnet | ON |

---

Expand Down
1 change: 0 additions & 1 deletion docs/node/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ Check `head_block_number` — it should increase every 3 seconds once synced.
| Full node | `config.ini` | All plugins, public RPC endpoints |
| Validator | `config_witness.ini` | Block production, RPC on localhost only |
| Testnet | `config_testnet.ini` | Development and testing |
| Low-memory | `config.ini` + `LOW_MEMORY_NODE` build flag | Consensus only, no history indexes |

---

Expand Down
Loading
Loading