Summary
Bases: Base
ORM model for the 'summary' 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. |
id |
str
|
ID of the summary. |
worker_id |
str
|
Worker ID. |
uptime |
int
|
Uptime of the miner. |
restricted |
bool
|
Whether the miner is restricted. |
resources |
dict
|
Resources data. |
resources_memory |
dict
|
Memory resources data. |
resources_memory_free |
int
|
Free memory. |
resources_memory_total |
int
|
Total memory. |
resources_memory_rsm |
int
|
RSM memory. |
resources_load_average |
dict
|
Load average data. |
resources_hardware_concurrency |
int
|
Hardware concurrency. |
features |
dict
|
Features data. |
results |
dict
|
Results data. |
results_diff_current |
int
|
Current difficulty. |
results_shares_good |
int
|
Good shares. |
results_shares_total |
int
|
Total shares. |
results_avg_time |
int
|
Average time. |
results_avg_time_ms |
int
|
Average time in milliseconds. |
results_hashes_total |
int
|
Total hashes. |
results_best |
dict
|
Best results data. |
algo |
str
|
Algorithm. |
connection |
dict
|
Connection data. |
connection_pool |
str
|
Connection pool. |
connection_ip |
str
|
Connection IP. |
connection_uptime |
int
|
Connection uptime. |
connection_uptime_ms |
int
|
Connection uptime in milliseconds. |
connection_ping |
int
|
Connection ping. |
connection_failures |
int
|
Connection failures. |
connection_tls |
dict
|
TLS connection data. |
connection_tls_fingerprint |
dict
|
TLS fingerprint data. |
connection_algo |
str
|
Connection algorithm. |
connection_diff |
int
|
Connection difficulty. |
connection_accepted |
int
|
Accepted connections. |
connection_rejected |
int
|
Rejected connections. |
connection_avg_time |
int
|
Average connection time. |
connection_avg_time_ms |
int
|
Average connection time in milliseconds. |
connection_hashes_total |
int
|
Total connection hashes. |
version |
str
|
Version. |
kind |
str
|
Kind. |
ua |
str
|
User agent. |
cpu |
dict
|
CPU data. |
cpu_brand |
str
|
CPU brand. |
cpu_family |
int
|
CPU family. |
cpu_model |
int
|
CPU model. |
cpu_stepping |
int
|
CPU stepping. |
cpu_proc_info |
int
|
CPU processor info. |
cpu_aes |
bool
|
CPU AES support. |
cpu_avx2 |
bool
|
CPU AVX2 support. |
cpu_x64 |
bool
|
CPU x64 support. |
cpu_64_bit |
bool
|
CPU 64-bit support. |
cpu_l2 |
int
|
CPU L2 cache size. |
cpu_l3 |
int
|
CPU L3 cache size. |
cpu_cores |
int
|
Number of CPU cores. |
cpu_threads |
int
|
Number of CPU threads. |
cpu_packages |
int
|
Number of CPU packages. |
cpu_nodes |
int
|
Number of CPU nodes. |
cpu_backend |
str
|
CPU backend. |
cpu_msr |
str
|
CPU MSR. |
cpu_assembly |
str
|
CPU assembly. |
cpu_arch |
str
|
CPU architecture. |
cpu_flags |
dict
|
CPU flags. |
donate_level |
int
|
Donation level. |
paused |
bool
|
Whether the miner is paused. |
algorithms |
dict
|
Algorithms data. |
hashrate |
dict
|
Hashrate data. |
hashrate_total |
dict
|
Total hashrate. |
hashrate_highest |
float
|
Highest hashrate. |
hugepages |
dict
|
Hugepages data. |
Source code in xmrig/models.py
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 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
|