How can I receive a push notification of new 30k block epoch per DAG?

ioiioi SevillaMember Posts: 9
edited September 2015 in Mining
I am using a Geth client with three GPU for mining, one ethminer per GPU connected through rpc. I would like to be informed when a new DAG period comes, because:
- GPU number 1 and number 2 should switch off manually.
- Restarting ethminer on GPU 0 allows me to generate the new dag.
- I can restart mining on all GPU.

How do you handle this transition? How you get notified?

Comments

  • farwarefarware Member Posts: 116
    I am a little confused about that myself, sometimes I see ethminer regenerating DAG by itself, othertimes it happens when I start it.

    What you could do is use a script to restart the mining process every X hours.

  • ordoeordoe tehranMember Posts: 132 ✭✭
    farware said:

    What you could do is use a script to restart the mining process every X hours.

    How could such a script look like? I'm currently using a script which only checks if the miner crashed and restarts in an endless while-true loop.
    #!/bin/bash

    echo "SET GPU MAX ALLOC 95%..."
    export GPU_MAX_ALLOC_PERCENT=95

    echo "START GPU MINER..."
    while true; do
    ethminer -v 9 -G -F http://mine.pro.xy:13337
    echo "CRASHED ... RESTART IN 1 ..."
    sleep 1
    done
Sign In or Register to comment.