Comments (4)
Not sure what you mean by your first question, but I'll try to give a general overview of the pools part of get_data
, and the command that supports it, get_pools
.
The get_pools
command gathers information on what I view to be the most important parts of the pool information on modern asics, that being 2 pools and 2 users, as well as a pool quota split if one exists. pool_1_url
and pool_1_user
should always be the first pool on the miner. pool_2_url
and pool_2_user
will usually be the second pool on the miner, unless you are running firmware such as BraiinsOS+ which supports hashrate splitting to multiple users, in which case pyasic will try to represent the seconds user in the pool split with the pool 2 data. This means that pool_split
is only used in cases where the hashrate is being split, and it represents a how many parts of the hashrate are going to each user, such as 1/1 which would be 50%/50%, or 4/1 which would be 80%/20%. This means that pool_split
being 0 just means there is no hashrate splitting on the device.
Regarding general pool related questions, the second (and third) pools are backup pools in case the connection to the first pool fails, but pyasic does no checks to see which pool is active. The only goal of get_pools
and get_data
is to expose the most vital information to the user, while also being as minimal and unbloated as possible.
Regarding adding the 3rd pool to get_data
, I don't currently have an plans to, I'm not sure it actually makes anything less confusing. Sure most machines get the 3rd pool, but the edge cases where there are say 2 groups and 1/1 quota running 6 pools? Then which pool do I pick as the 3rd one? The problem is that pool data in get_data
needs to extend theoretically forever, which I don't think is a good idea.
That all being said, if you really want to get all the pool data, pyasic definitely won't stop you, I would just use get_config
as it does the exact infinite extension thing I was talking about above, and will gather data on every pool on the miner, or you can call AnyMiner().api.pools()
and parse that out, as that is the source of the pool data when gathering data.
from pyasic.
Thanks i 'll test
from pyasic.
Could you tell me , how to remove miner's cache when pyasic
find miner . I can't find func which do it.
I need it because sometimes my miners turn off, but i see it after a while.
from pyasic.
You should be able to
from pyasic.miners.miner_factory import MinerFactory
MinerFactory(). clear_cached_miners()
from pyasic.
Related Issues (20)
- MinerData's as_json() method raises error 'Object of type TunerAlgo is not JSON serializable' HOT 3
- `config` - Only source code is shown under the Miner Config page, ideally it would have some descriptions of how to use, along with docstrings from the methods. It would also be ideal to add documentation on the sub-items. HOT 1
- I can't set power target on Braiins OS+ Miner HOT 8
- Network scan of some subnets time out on Ubuntu 22.04.2 HOT 22
- Can't seem to set pool configuration using send_config HOT 8
- Add firmware vendor to MinerData HOT 7
- Add control board model to MinerData HOT 1
- I want to know what pool a miner is currently active on HOT 1
- I want to know the expected fans of a miner. HOT 2
- Add in functionality to limit the number of ips being pinged when scanning. HOT 3
- Doesnt get Miner Modell BraiinsOS 24.04 Plus HOT 4
- Intermittent Failure to read all fans on Braiins OS+ HOT 3
- wmt.pyasic.org source code or any other solution to unlock whatsminer asic privileged API HOT 1
- Unable to modify power limits from inside home assistant on S19K pro miner HOT 12
- Problems getting data from stock antminer firmware on 0.57.x HOT 1
- `RuntimeWarning: coroutine 'sleep' was never awaited` while calling `get_data` HOT 2
- [Feature Request] Add Bitaxe Miner Support (esp-miner) HOT 21
- Antminer S19 pro hydro with Vnish Firmware HOT 2
- 0.58.0 possible Bug (@dataclass) HOT 3
- Two miners Innosilicon T3+ and Bluestar L1 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyasic.