warthog-network / Warthog

Experimental cryptocurrency implementation
MIT License
21 stars 13 forks source link

changing windows miner RPC endpoint?? #15

Closed mahalamobile closed 10 months ago

mahalamobile commented 10 months ago

Hi, so i have a node running and would like to set the RPC endpoint to the IP address of the server from the windows machine, so need this configurable....please is there a param setting for this so mabey wart-miner-windows.exe - a "address" -rpc ipaddress:3000 etc

[2023-12-10 17:53:03.632] [info] Node RPC is localhost:3000 [2023-12-10 17:53:03.790] [info] CPU is used for mining. [2023-12-10 17:53:03.895] [info] Starting worker pool with 12 threads [2023-12-10 17:53:08.839] [error] API request failed. Are you running the node with RPC endpoint enabled? [2023-12-10 17:53:08.982] [warning] Could not get mining information, retrying in 100 milliseconds...

JulsKawa commented 10 months ago

It's already possible with -h and -p

"      --help                   Print help and exit",
  "  -V, --version                Print version and exit",
  "  -a, --address=WALLETADDRESS  Specify address that is mined to",
  "      --gpu                    Use GPUs for mining. Select specific GPUs with\n                                 the \"--gpus=\" option. By default CPU is used",
  "      --gpus=STRING            Specify GPUs as comma separated list like\n                                 \"0,2,3\". Only applicable for GPU mining. By\n                                 default all GPUs are used.",
  "  -t, --threads=INT            Number of CPU worker threads, use 0 for number\n                                 of cores. Only applicable for CPU mining.\n                                 (default=`0')",
  "  -h, --host=STRING            Host (RPC-Node)  (default=`localhost')",
  "  -p, --port=INT               Port (RPC-Node)  (default=`3000')"
mahalamobile commented 10 months ago

ok cools, didnt see that anywhere :/0

On Sun, Dec 10, 2023 at 6:35 PM JulsKawa @.***> wrote:

It's already possible with -h and -p

" --help Print help and exit", " -V, --version Print version and exit", " -a, --address=WALLETADDRESS Specify address that is mined to", " --gpu Use GPUs for mining. Select specific GPUs with\n the \"--gpus=\" option. By default CPU is used", " --gpus=STRING Specify GPUs as comma separated list like\n \"0,2,3\". Only applicable for GPU mining. By\n default all GPUs are used.", " -t, --threads=INT Number of CPU worker threads, use 0 for number\n of cores. Only applicable for CPU mining.\n (default=0')", " -h, --host=STRING Host (RPC-Node) (default=localhost')", " -p, --port=INT Port (RPC-Node) (default=`3000')"

— Reply to this email directly, view it on GitHub https://github.com/warthog-network/Warthog/issues/15#issuecomment-1849014348, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2VBKBT22JVP266S2S27EDYIXQFDAVCNFSM6AAAAABAOVASTOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBZGAYTIMZUHA . You are receiving this because you authored the thread.Message ID: @.***>