-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.toml.example
More file actions
100 lines (79 loc) · 4.25 KB
/
config.toml.example
File metadata and controls
100 lines (79 loc) · 4.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# OxideMiner configuration (TOML)
# Save as ./config.toml next to the oxide-miner binary. You can also point to a different file with --config PATH.
# Any CLI flag can still override these values. Omit a key to use the built-in default / auto behavior.
#
# Minimal example (uncomment & edit the next 3 lines to get started):
# mode = "pool" # "pool" (default) or "solo"
# pool = "xmr.kryptex.network:7029" # Your pool host:port
# wallet = "<YOUR_XMR_ADDRESS>" # Your primary XMR wallet address
# pass = "x" # Pool password / miner name (many pools accept 'x')
# --- Connection ---
# Mining backend mode. Use "solo" to mine against a local monerod (see [solo] below).
#mode = "pool"
# Replace with the mining pool of your choice (host:port)
#pool = "xmr.kryptex.network:7029"
# Replace with your Monero wallet address (primary)
#wallet = "48z8R1GxSL6QRmGKv3x78JSMeBYvPVK2g9tSFoiwH4u88KPSLjnZUe6VXHKf5vrrG52uaaVYMpBBd2QQUiTY84qaSXJYVPS"
# Optional password / miner name
#pass = "x"
# Route pool traffic through a SOCKS5 proxy (useful for Tor/VPN privacy)
#proxy = "socks5://127.0.0.1:9050"
# Number of mining threads.
# Omit this key to auto-tune based on CPU/cache heuristics (recommended).
# For maximum performace set this to the total number of threads your cpu(s) have.
#threads = 8
# Enable TLS for the pool connection. If true, you may also specify a CA bundle/cert
# or pin the pool's leaf/server certificate by its SHA-256 fingerprint.
#tls = true
# Path to a PEM bundle or CA certificate file to trust (only used when tls = true).
#tls_ca_cert = "/etc/ssl/certs/ca-certificates.crt"
# Hex-encoded SHA-256 fingerprint of the expected **leaf** certificate (64 hex chars).
# If set, the connection will be pinned to this certificate. Use with care.
#tls_cert_sha256 = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
# --- HTTP API & Dashboard ---
# Expose a simple HTTP API on this TCP port (e.g., /metrics and /api/stats endpoints).
#api_port = 8080
# Bind the HTTP API to this address (default 127.0.0.1). Only used when api_port is set.
# Use 0.0.0.0 to listen on all interfaces.
#api_bind = "127.0.0.1"
# Serve dashboard files from this directory instead of the embedded assets.
# Useful for local development of the UI.
# (on Windows, escape backslashes [e.g. "C:\\path\\to\\dashboard"] or use single quotes [e.g. 'C:\path\to\dashboard'])
#dashboard_dir = "./crates/oxide-miner/assets"
# --- Performance & Scheduling ---
# Pin worker threads to CPU cores (reduces OS scheduling jitter). Off by default.
#affinity = true
# Request huge/large pages for the RandomX dataset. This often improves hashrate,
# but requires OS configuration/privileges (Linux hugepages, Windows SeLockMemoryPrivilege).
#huge_pages = true
# Number of hashes per batch in the mining loop. Higher = fewer yields, less overhead,
# but increased latency to respond to new jobs. Defaults to 10000.
#batch_size = 10000
# Disable cooperative yields between hash batches. Keep this **false** to be nice
# to other processes. (Internally this maps to yield_between_batches = true.)
no_yield = false
# Enable verbose debug logs. When enabled, logs are also written to ./logs/
# with daily rotation.
debug = false
# --- Solo mining (local monerod) ---
#
# Please keep the [solo] table at the bottom of this file.
# Requires a fully-synced monerod with RPC enabled (default http://127.0.0.1:18081).
# Just point it at the parent of your 'lmdb' folder.
#
# Example:
# monerod.exe --data-dir "C:\ProgramData\bitmonero" --rpc-bind-ip 127.0.0.1 --rpc-bind-port 18081 --rpc-login user:pass
# monerod.exe --data-dir "C:\xmr" --rpc-bind-ip 127.0.0.1 --rpc-bind-port 18081 --rpc-login user:pass
# monerod --data-dir /var/lib/monero --rpc-bind-ip 127.0.0.1 --rpc-bind-port 18081 --rpc-login user:pass
# monerod --data-dir "~/xmr" --rpc-bind-ip 127.0.0.1 --rpc-bind-port 18081 --rpc-login user:pass
#
# NOTE: In order to use solo mining mode, you must uncomment the '[solo]' line as well as the other values below.
#
#[solo]
#node_rpc_url = "http://127.0.0.1:18081"
#node_rpc_user = "user"
#node_rpc_pass = "pass"
#wallet = "<YOUR_XMR_ADDRESS>"
#reserve_size = 60
# ZMQ pub/sub for near real-time template updates (monerod --zmq-pub tcp://127.0.0.1:18083)
#solo_zmq = "tcp://127.0.0.1:18083"