This file contains hidden or 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
| const net = require('net'); | |
| const axios = require('axios'); | |
| // ================= НАСТРОЙКИ ================= | |
| const PROXY_PORT = 3333; | |
| const NODE_RPC_URL = 'http://127.0.0.1:8668'; | |
| const NODE_RPC_USER = 'tteFTlJ7YOfGDA2KBMHKqnDnXeE='; | |
| const NODE_RPC_PASS = 'SOkvF8sxay8ViOxpgbraHmqJmSU='; | |
| // ============================================= |
This file contains hidden or 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
| const net = require('net'); | |
| const jayson = require('jayson/promise'); | |
| // --- КОНФИГУРАЦИЯ (ВАШИ ДАННЫЕ) --- | |
| const PROXY_PORT = 3333; | |
| // Подключаемся локально, так как скрипт и нода на одной машине (192.168.2.180) | |
| // Используем порт 8668, так как он указан для rpclistengetwork | |
| const NODE_RPC_URL = 'http://127.0.0.1:8668'; |
This file contains hidden or 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
| const net = require('net'); | |
| const http = require('http'); | |
| const crypto = require('crypto'); | |
| // КОНФИГУРАЦИЯ | |
| const CONFIG = { | |
| STRATUM_PORT: 3333, | |
| NODE_RPC_HOST: '127.0.0.1', | |
| NODE_GETWORK_PORT: 8668, | |
| RPC_USER: 'tteFTlJ7YOfGDA2KBMHKqnDnXeE=', |
This file contains hidden or 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
| ответ от https://bothub.ru : | |
| TeamRedMiner Mining Protocol Message Processing: A Technical Analysis of Epoch, Target, and Extranonce HandlingTeamRedMiner is an optimized AMD GPU and FPGA cryptocurrency miner that implements sophisticated protocol handling for communicating with mining pools using the Stratum protocol[1][2]. At the core of its mining operation lies the critical task of parsing mining protocol messages, particularly the mining.set notification, which carries essential parameters including epoch, target, and extranonce values that must be precisely translated into GPU-executable instructions. Understanding how TeamRedMiner processes these parameters reveals the intricate relationship between pool-side difficulty distribution and GPU-level hash computation, demonstrating why the miner converts target values into local share difficulty thresholds for efficient work distribution across compute devices.Stratum Protocol Fundamentals and Mining.Set Message ArchitectureThe Stratum protocol represents a |
This file contains hidden or 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
| const net = require('net'); | |
| const https = require('https'); | |
| class AbelianStratumProxy { | |
| constructor() { | |
| this.currentJob = null; | |
| // Конфигурация из логов пула | |
| this.difficulty = 0.5; | |
| this.target = '00000001ffff0000000000000000000000000000000000000000000000000000'; // Для diff 0.5 | |
| this.algo = 'abelhash'; |
This file contains hidden or 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
| root@nodeabel:~/abelcoin-proxy# node test_abelian39.js | |
| Stratum proxy listening on port 3333 | |
| Node RPC: 127.0.0.1:8667 | |
| Node Getwork: 127.0.0.1:8668 | |
| Starting difficulty: 4096 | |
| Error generating new job: Invalid response from node: {"result":null,"error":{"code":-32602,"message":"wrong number of params (expected 1, received 0)"},"id":1} | |
| New miner connected: 176.59.139.197:55470 | |
| Received from miner 176.59.139.197:55470: {"id":1,"method":"mining.hello","params":["ethminer-2.0.2+commit.ef1122c0","77.82.85.68","d05","AbelianStratum"]} | |
| Unknown method from 176.59.139.197:55470: mining.hello |
This file contains hidden or 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
| root@burilich:/home/user# timeout 300 /hive/miners/teamredminer/0.10.21/teamredminer -a abel -o stratum+tcp://emily-service.abelian.info:27778 -u abe1e549028e8de000d39d942a282d7a94babbca2183b05101731ae079baefbd7654b1039d1ad4a6c59385448894c0effffe751d96b720ae933371caa168376f51a7.deepseek_rig -p 44960d94ec --user 1ac57913f85d90cd8e31fdb110c1385c632f47caa3cdd37e8527ec39826197ea --debug --pool_debug | |
| Team Red Miner version 0.10.21 | |
| [2025-12-22 17:10:13] Auto-detected AMD OpenCL platform 0 | |
| [2025-12-22 17:10:13] Initializing GPU 0. | |
| [2025-12-22 17:10:14] Initializing GPU 1. | |
| [2025-12-22 17:10:14] Initializing GPU 2. | |
| [2025-12-22 17:10:15] Initializing GPU 3. | |
| [2025-12-22 17:10:15] Initializing GPU 4. | |
| [2025-12-22 17:10:15] Initializing GPU 5. | |
| [2025-12-22 17:10:15] GPU 0 Starting tuning. |
This file contains hidden or 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
| // test_abelian29_final.js | |
| // Final Abelian Stratum proxy (forward / local test mode) | |
| // Usage: | |
| // Forward (default): node test_abelian29_final.js | |
| // Local test accept: MODE=local node test_abelian29_final.js | |
| const net = require('net'); | |
| const http = require('http'); | |
| const MODE = (process.env.MODE || process.env.NODE_ENV || 'forward').toLowerCase(); // 'forward' or 'local' |
This file contains hidden or 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
| const net = require("net"); | |
| const http = require("http"); | |
| const axios = require("axios"); | |
| const crypto = require("crypto"); | |
| const config = { | |
| // Node configuration | |
| abelRpcHost: "127.0.0.1", | |
| abelGetWorkPort: 8668, // Port for getting work (rpclistengetwork) | |
| abelSubmitPort: 8667, // Port for submitting nonce (rpclisten / RPC) |
This file contains hidden or 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
| только логгер | |
| root@burilich:/home/user# python3 logger_proxy_v2.py | |
| [*] Прокси-логгер V2 слушает порт 8888 | |
| [*] Настройте майнер на stratum+tcp://ВАШ_IP:8888 | |
| ------------------------------------------------------------ | |
| [+] Входящее от 127.0.0.1:36988 | |
| [+] Подключение к пулу установлено. | |
| [!] Ошибка в потоке К ПУЛУ: [Errno 32] Broken pipe | |
| [+] Входящее от 127.0.0.1:56174 |
NewerOlder