quetzalcoatl / blagominer

Taking Blagominer to the next chain!
GNU General Public License v3.0
8 stars 3 forks source link

how to add config for diskcoin #4

Closed nitteo closed 4 years ago

nitteo commented 5 years ago

How to add config for diskcoin,can you give an example?

quetzalcoatl commented 5 years ago

Sure, here you go:

    // other coins..
    "coin:Diskcoin" : {
        "EnableMining": true,
        "Priority" : ..............,
        "Mode": "pool",   // I have not tested "solo" mode for DISKCOIN, maybe it works, maybe not
        "UseHTTPS": ............,
        "Server" : ............,
        "Port" : ............,
        "RootUrl": ............,
        "SubmitTimeout" : 1500,
        "UpdaterAddr" : ............,
        "UpdaterPort" : ............,
        "UpdaterRootUrl": ............,
        "EnableProxy" : false,
        "ProxyPort" : "9926",
        "ProxyUpdateInterval" : 450,
        "SendInterval": 100,
        "UpdateInterval": 450,
        "TargetDeadline" : ............,
        "enableDiskcoinGensigs": true,      // <------ THIS
        "POC2StartBlock" : 0,
        "ExtraHeader": {
            "X-Account": ".......",
            "X-MinerName": ".....",
            "X-MinerAlias": "......"
        }
    },
    // other settings..

Substitute all "............" with the values relevant to your pool.

quetzalcoatl commented 4 years ago

Closing due to no response. Any similar configuration problems should disappear after fixing #1 anyways.