dmarcuse / turbokrist

The first-ever GPU accelerated Krist miner - using Java and OpenCL.
GNU General Public License v3.0
6 stars 3 forks source link

Added relay addresses #25

Closed Lemmmy closed 6 years ago

Lemmmy commented 6 years ago

This PR adds support for relay addreses. These are particularly useful if you want to mine directly to a name, as you cannot submit blocks to names.

Relay mode can be activated by passing --relay, or by setting -h to a name, e.g. metaname@name.kst.

When relay mode is activated, a privatekey is generated on startup, and stored in the privatekey file. Mined blocks will submit to this temporary address, and then immediately transfer the funds to the host address passed by -h.

The privatekey file can be skipped entirely by passing -p $PRIVATEKEY instead, to use a custom privatekey.