Skip to content

[feature] Built-in stratum server (pool) #1

@DeckerSU

Description

@DeckerSU

This issue is created for public testing new feature - built-in stratum pool. To test in you'll need build komodod from stratum-dev branch as usually, and launch it with stratum server specific keys:

Stratum server options:

  -stratum
       Enable stratum server (default: off)

  -stratumbind=<addr>
       Bind to given address to listen for Stratum work requests. Use
       [host]:port notation for IPv6. This option can be specified multiple
       times (default: bind to all interfaces)

  -stratumport=<port>
       Listen for Stratum work requests on <port> (default: 8771 or testnet:
       8771)

  -stratumallowip=<ip>
       Allow Stratum work requests from specified source. Valid for <ip> are a
       single IP (e.g. 1.2.3.4), a network/netmask (e.g. 1.2.3.4/255.255.255.0)
       or a network/CIDR (e.g. 1.2.3.4/24). This option can be specified
       multiple times

For example. to launch KMD with stratum pool on default (rpcPort + 1000) stratum port 8771, you'll need to execute:

./src/komodod -stratum &

And for launch DEX assetchain with stratum on port 10216:

./src/komodod -ac_name=DEX -ac_supply=999999 -addnode=95.213.238.98 -stratum -stratumport=10216 &

Then point your favorite miner or ASIC on stratum+tcp://stratum_ip:stratum_port. Don't forget to specify username as valid KMD address, like RDeckerSubnU8QVgrhj27apzUvbVK3pnTk and any password (x, for example).

Will appreciate for any comments in this topic from users tried new feature. Thx in advance!

p.s. If you'll found a block address you specified in miner will receive blockreward. For example, if you'll launch ccminer as:

./ccminer --algo=equihash --url=stratum+tcp://127.0.0.1:10216 --user=RDeckerSubnU8QVgrhj27apzUvbVK3pnTk --pass=x 

And it will found a block, address RDeckerSubnU8QVgrhj27apzUvbVK3pnTk will receive a reward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions