feat: 更新版本号至 v4.15,调整相关文档和示例配置
Build and Release / build-and-test (arm64, alpine) (push) Successful in -52s
Build and Release / build-and-test (amd64, alpine) (push) Successful in -2m30s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in -1m46s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 43s
Build and Release / release (push) Successful in -1m47s

This commit is contained in:
2026-05-01 21:15:40 +08:00
parent e4f8a390bb
commit 2599d203bb
6 changed files with 37 additions and 159 deletions
+32 -11
View File
@@ -1,6 +1,6 @@
# P2Pool Configuration File Example
# Copy this file to /var/lib/p2pool/params.conf and edit as needed
# Compatible with: p2pool v4.14+
# Compatible with: p2pool v4.15+
# =============================================================================
# Monero Node Connection (REQUIRED)
@@ -38,8 +38,8 @@ p2p = 0.0.0.0:37889
# for peer management, ban checks and logging — instead of the proxy's IP.
# P2P traffic is typically low-volume and usually does NOT need load balancing;
# leave commented out unless you have a specific reason to proxy P2P.
# Accepted values: none (default), v2
# p2p-proxy-protocol = none
# Leave commented to disable; uncomment to enable.
# p2p-proxy-protocol = true
# =============================================================================
# API Settings
@@ -78,8 +78,8 @@ local-api = true
# allows senders to append TLV vectors, increasing addr_len beyond the
# base 12 / 36 bytes).
#
# Accepted values: none (default), v2
# stratum-proxy-protocol = none
# Leave commented to disable; uncomment to enable.
# stratum-proxy-protocol = true
# =============================================================================
# Merge Mining (Optional)
@@ -97,6 +97,13 @@ log-file = /var/log/p2pool/p2pool.log
# Log level (0 = none, 1 = fatal, 2 = error, 3 = warn, 4 = info, 5 = debug, 6 = trace)
loglevel = 3
# Disable logging destinations (v4.15+)
# Leave commented unless you want to disable logging output.
# disable-log is equivalent to no-console-log + no-log-file and saves ~8 MB RAM.
# no-console-log = true
# no-log-file = true
# disable-log = true
# =============================================================================
# Performance Tuning (Advanced)
# =============================================================================
@@ -109,12 +116,26 @@ loglevel = 3
# SOCKS5 proxy for outgoing connections
# socks5 = 127.0.0.1:9050
# SOCKS5 proxy type (v4.14+)
# SOCKS5 proxy type (v4.14+, i2p value added in v4.15)
# Controls how p2pool treats the SOCKS5 proxy configured above.
# Accepted values:
# auto auto-detect whether it is a plain proxy or Tor (default)
# plain treat as a standard SOCKS5 proxy (no Tor-specific behavior)
# tor treat as a Tor SOCKS5 proxy (enables onion routing optimizations,
# e.g. .onion peer resolution, correct onion connection counters)
# auto - auto-detect by port number (9050 = Tor, 4447 = I2P; default)
# plain - treat as a standard SOCKS5 proxy (no Tor/I2P-specific behavior)
# tor - treat as a Tor SOCKS5 proxy (enables .onion peer handling)
# i2p - treat as an I2P SOCKS5 proxy (enables .b32.i2p peer handling)
# Only meaningful when `socks5` is set; ignored otherwise.
# socks5-proxy-type = auto
# socks5-proxy-type = auto
# I2P support (v4.15+)
# Requires an I2P SOCKS proxy, usually 127.0.0.1:4447 with i2pd.
# Recommended for I2P-only P2P to avoid clearnet/DNS/UPnP leaks:
# socks5 = 127.0.0.1:4447
# socks5-proxy-type = i2p
# no-dns = true
# no-upnp = true
# no-clearnet-p2p = true
#
# Broadcast your I2P hidden service .b32.i2p address to peers.
# This address is linked to shares mined by your wallet; use a dedicated
# I2P address for mining.
# i2p-address = YOUR_I2P_ADDRESS.b32.i2p