Config
Bases: Base
ORM model for the 'config' table.
Attributes:
Name | Type | Description |
---|---|---|
uid |
int
|
Primary key. |
miner_name |
str
|
Name of the miner. |
timestamp |
datetime
|
Timestamp of the record. |
full_json |
dict
|
Full JSON data. |
api |
dict
|
API data. |
api_id |
str
|
API ID. |
api_worker_id |
str
|
API worker ID. |
http |
dict
|
HTTP data. |
http_enabled |
bool
|
Whether HTTP is enabled. |
http_host |
str
|
HTTP host. |
http_port |
int
|
HTTP port. |
http_access_token |
str
|
HTTP access token. |
http_restricted |
bool
|
Whether HTTP is restricted. |
autosave |
bool
|
Whether autosave is enabled. |
background |
bool
|
Whether background mode is enabled. |
colors |
bool
|
Whether colors are enabled. |
title |
dict
|
Title data. |
randomx |
dict
|
RandomX data. |
randomx_init |
int
|
RandomX initialization. |
randomx_init_avx2 |
int
|
RandomX AVX2 initialization. |
randomx_mode |
str
|
RandomX mode. |
randomx_1gb_pages |
bool
|
Whether RandomX 1GB pages are enabled. |
randomx_rdmsr |
bool
|
Whether RandomX RDMSR is enabled. |
randomx_wrmsr |
dict
|
RandomX WRMSR data. |
randomx_cache_qos |
bool
|
Whether RandomX cache QoS is enabled. |
randomx_numa |
bool
|
Whether RandomX NUMA is enabled. |
randomx_scratchpad_prefetch_mode |
int
|
RandomX scratchpad prefetch mode. |
cpu |
dict
|
CPU data. |
cpu_enabled |
bool
|
Whether CPU is enabled. |
cpu_huge_pages |
dict
|
CPU huge pages data. |
cpu_huge_pages_jit |
bool
|
Whether CPU huge pages JIT is enabled. |
cpu_hw_aes |
bool
|
Whether CPU hardware AES is enabled. |
cpu_priority |
int
|
CPU priority. |
cpu_memory_pool |
dict
|
CPU memory pool data. |
cpu_yield |
bool
|
Whether CPU yield is enabled. |
cpu_max_threads_hint |
int
|
CPU max threads hint. |
cpu_asm |
dict
|
CPU assembly data. |
cpu_argon2_impl |
str
|
CPU Argon2 implementation. |
opencl |
dict
|
OpenCL data. |
opencl_enabled |
bool
|
Whether OpenCL is enabled. |
opencl_cache |
bool
|
Whether OpenCL cache is enabled. |
opencl_loader |
str
|
OpenCL loader. |
opencl_platform |
dict
|
OpenCL platform data. |
opencl_adl |
bool
|
Whether OpenCL ADL is enabled. |
cuda |
dict
|
CUDA data. |
cuda_enabled |
bool
|
Whether CUDA is enabled. |
cuda_loader |
str
|
CUDA loader. |
cuda_nvml |
bool
|
Whether CUDA NVML is enabled. |
donate_level |
int
|
Donation level. |
donate_over_proxy |
int
|
Donation over proxy. |
log_file |
str
|
Log file. |
pools |
dict
|
Pools data. |
print_time |
int
|
Print time. |
health_print_time |
int
|
Health print time. |
dmi |
bool
|
Whether DMI is enabled. |
retries |
int
|
Number of retries. |
retry_pause |
int
|
Retry pause. |
syslog |
bool
|
Whether syslog is enabled. |
tls |
dict
|
TLS data. |
tls_enabled |
bool
|
Whether TLS is enabled. |
tls_protocols |
str
|
TLS protocols. |
tls_cert |
str
|
TLS certificate. |
tls_cert_key |
str
|
TLS certificate key. |
tls_ciphers |
str
|
TLS ciphers. |
tls_ciphersuites |
str
|
TLS ciphersuites. |
tls_dhparam |
str
|
TLS DH parameters. |
dns |
dict
|
DNS data. |
dns_ipv6 |
bool
|
Whether DNS IPv6 is enabled. |
dns_ttl |
int
|
DNS TTL. |
user_agent |
str
|
User agent. |
verbose |
int
|
Verbose level. |
watch |
bool
|
Whether watch mode is enabled. |
rebench_algo |
bool
|
Whether rebench algorithm is enabled. |
bench_algo_time |
int
|
Benchmark algorithm time. |
pause_on_battery |
bool
|
Whether to pause on battery. |
pause_on_active |
dict
|
Pause on active data. |
benchmark |
dict
|
Benchmark data. |
benchmark_size |
str
|
Benchmark size. |
benchmark_algo |
str
|
Benchmark algorithm. |
benchmark_submit |
bool
|
Whether to submit benchmark. |
benchmark_verify |
str
|
Benchmark verification. |
benchmark_seed |
str
|
Benchmark seed. |
benchmark_hash |
str
|
Benchmark hash. |
Source code in xmrig/models.py
170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 |
|