Compare commits

...

10 Commits

Author SHA1 Message Date
SaketAnand
76b936b234
Update README.md 2025-12-03 16:48:03 +05:30
SaketAnand
c8485933b9
Update README.md 2025-12-03 16:43:40 +05:30
SaketAnand
733ce2a63e
Update README.md 2025-11-10 23:31:00 +05:30
SaketAnand
ce4bf2c3d7
Update config.json 2025-11-10 03:55:35 +05:30
SaketAnand
1161e51ba8
Update config.json 2025-11-10 03:54:59 +05:30
SaketAnand
69df459867
Update README.md 2025-11-10 03:51:17 +05:30
SaketAnand
d11e5bcb1f
Update README.md 2025-11-10 03:50:11 +05:30
SaketAnand
63cf4eaca8
Update README.md 2025-11-10 03:45:51 +05:30
SaketAnand
d23703b936
Update README.md 2025-11-10 03:44:23 +05:30
SaketAnand
42aebde905
Update README.md 2025-11-10 03:43:35 +05:30
2 changed files with 44 additions and 32 deletions

View File

@ -35,13 +35,13 @@ When block intervals return to normal, it stops mining to conserve system resour
D:/flo/
├── floautominer.py.py # main controller script
├── floautominer.py # main controller script
├── config.json # configuration file
├── gpu miner/
├── gpuminer/
│ └── cgminer.exe
│ └── cgminer.conf # optional GPU tuning
└── cpuminer minerd/
└── cpuminer/
└── minerd.exe
```
@ -106,7 +106,7 @@ D:/flo/cpuminer minerd/minerd.exe
Download the following files from this repository:
- [gpu_cpu_blockbook_combined.py](https://github.com/ranchimall/floautominer/blob/main/flo_auto_miner.py)
- [flo_auto_miner.py](https://github.com/ranchimall/floautominer/blob/main/flo_auto_miner.py)
- [config.json](https://github.com/ranchimall/floautominer/blob/main/config.json)
- [cgminer.conf](https://github.com/ranchimall/floautominer/blob/main/cgminer.conf)
@ -127,7 +127,9 @@ D:/flo/
### config.json
Example configuration (for FLOCard Pool):
Example configuration (for FLOCard Pool):
**Note: Use the correct path for cgminer.exe, cgminer.conf, and minerd.exe according to your computer directory
You can modify the time placeholder values such as (TARGET_BLOCK_INTERVAL, LOWER_INTERVAL, UPPER_INTERVAL, MAX_RUNTIME_MINUTES, COOLDOWN_SECONDS, etc.) for different testing logic but do not change the API values, Miner Pool URL unless you have a different URL with its stratum url.
```json
{
@ -156,6 +158,8 @@ Example configuration (for FLOCard Pool):
"STABILITY_WINDOW_SIZE": 20,
"STABILITY_REQUIRED_IN_RANGE": 17,
"STABILITY_REQUIRED_PASSES": 3,
"FAST_BLOCK_LIMIT": 20,
"FAST_BLOCK_DURATION": 600,
"GPU_MINER_EXECUTABLE": "D:/flo/gpu miner/cgminer.exe",
"GPU_MINER_CONFIG": "D:/flo/gpu miner/cgminer.conf",
@ -173,28 +177,32 @@ Example configuration (for FLOCard Pool):
### Configuration Explanation
| Key | Description |
| -------------------------------------- | ------------------------------------------- |
| `BLOCKBOOK_API` | Endpoint for latest FLO block |
| `BLOCKBOOK_INDEX_API` | Endpoint for block hash lookup by height |
| `BLOCKBOOK_BLOCK_API` | Endpoint for detailed block data |
| `TARGET_BLOCK_INTERVAL` | Ideal block interval (seconds) |
| `LOWER_INTERVAL` / `UPPER_INTERVAL` | Acceptable timing bounds |
| `MAX_RUNTIME_MINUTES` | Stops mining after this time |
| `MIN_INTENSITY` / `MAX_INTENSITY` | GPU intensity range |
| `NO_BLOCK_TIMEOUT` | Wait time before retrying higher intensity |
| `AUTO_APPLY` | Automatically apply new settings |
| `COOLDOWN_BLOCKS` / `COOLDOWN_SECONDS` | Cooldown logic between changes |
| `STABILITY_WINDOW_SIZE` | Number of blocks in each stability window |
| `STABILITY_REQUIRED_IN_RANGE` | Blocks that must be within range per window |
| `STABILITY_REQUIRED_PASSES` | Number of consecutive windows required |
| `GPU_MINER_EXECUTABLE` | Path to cgminer.exe |
| `GPU_MINER_CONFIG` | Path to cgminer.conf |
| `CPU_MINER_EXECUTABLE` | Path to minerd.exe |
| `CPU_MINER_THREADS_START` | Number of CPU threads to start with |
| `MINER_POOL_URL` | FLOCard pool stratum URL |
| `MINER_USER` | Your FLO wallet address + worker name |
| `MINER_PASS` | Pool password (usually “x”) |
| Key | Description |
| -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `BLOCKBOOK_API` | Endpoint for latest FLO block |
| `BLOCKBOOK_INDEX_API` | Endpoint for block hash lookup by height |
| `BLOCKBOOK_BLOCK_API` | Endpoint for detailed block data |
| `TARGET_BLOCK_INTERVAL` | Ideal block interval (seconds) |
| `LOWER_INTERVAL` / `UPPER_INTERVAL` | Acceptable timing bounds |
| `MAX_RUNTIME_MINUTES` | Stops mining after this time |
| `MIN_INTENSITY` / `MAX_INTENSITY` | GPU intensity range |
| `NO_BLOCK_TIMEOUT` | Wait time before retrying higher intensity |
| `FAST_BLOCK_LIMIT` | Maximum number of **consecutive fast blocks** to determine stable state and stop mining |
| `FAST_BLOCK_DURATION` | Maximum **continuous time in seconds** to determine stable state and stop mining |
| `AUTO_APPLY` | Automatically apply new settings |
| `COOLDOWN_BLOCKS` / `COOLDOWN_SECONDS` | Cooldown logic between changes |
| `STABILITY_WINDOW_SIZE` | Number of blocks in each stability window |
| `STABILITY_REQUIRED_IN_RANGE` | Blocks that must be within range per window |
| `STABILITY_REQUIRED_PASSES` | Number of consecutive windows required |
| `GPU_MINER_EXECUTABLE` | Path to cgminer.exe |
| `GPU_MINER_CONFIG` | Path to cgminer.conf |
| `CPU_MINER_EXECUTABLE` | Path to minerd.exe |
| `CPU_MINER_THREADS_START` | Number of CPU threads to start with |
| `MINER_POOL_URL` | FLOCard pool stratum URL |
| `MINER_USER` | Your FLO wallet address + worker name |
| `MINER_PASS` | Pool password (usually “x”) |
---
@ -223,7 +231,7 @@ You can use this sample configuration:
* These are GPU tuning settings, not pool details.
* Pool credentials come from `config.json` (the controller passes them dynamically).
* Adjust `gpu-engine`, `gpu-memclock`, and fan speeds as appropriate for your GPU.
* Adjust `gpu-engine`, `gpu-memclock`, fan speeds, and others in this file as appropriate for your GPU.
---

View File

@ -25,15 +25,19 @@
"STABILITY_REQUIRED_IN_RANGE": 17,
"STABILITY_REQUIRED_PASSES": 3,
"FAST_BLOCK_LIMIT": 20,
"FAST_BLOCK_DURATION": 600,
"GPU_MINER_EXECUTABLE": "D:/flo/gpu miner/cgminer.exe",
"GPU_MINER_CONFIG": "D:/flo/gpu miner/cgminer.conf",
"GPU_MINER_EXECUTABLE": "<PATH_TO_cgminer.exe>",
"GPU_MINER_CONFIG": "<PATH_TO_cgminer.conf>",
"CPU_MINER_EXECUTABLE": "D:/flo/cpuminer minerd/minerd.exe",
"CPU_MINER_EXECUTABLE": "<PATH_TO_minerd.exe>",
"CPU_MINER_THREADS_START": 3,
"MINER_POOL_URL": "stratum+tcp://pool.flocard.app:3052",
"MINER_USER": "FQ8zdiakBJHx8g4FKfU5o6LRgNwgXTC5RK.worker1",
"MINER_USER": "<<Your_FLO_Address>>.worker1",
"MINER_PASS": "x"
}