Total Complexity | 1 |
Total Lines | 10 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | class MinerPool(object): |
||
2 | '''A pool that is available for a miner |
||
3 | has a priority that can be switched. |
||
4 | Links Miner to Pool |
||
5 | ''' |
||
6 | def __init__(self, miner: Miner, priority, pool: AvailablePool): |
||
7 | self.miner = miner |
||
8 | self.priority = priority |
||
9 | self.pool = pool |
||
10 | |||
11 |