sgminer-dev / sgminer

Scrypt GPU miner
GNU General Public License v3.0
629 stars 825 forks source link

solo mine gbt support coinbase addr #489

Open goodthebest opened 6 years ago

goodthebest commented 6 years ago

To solo mine, how do I add coinbase augment trying --coinbase addr but getting error, even --generate-to, doesn't work

./sgminer --algorithm neoscrypt -o 127.0.0.1:42953 -u rpcuser -p rpcpassword -D --coinbase-addr GtiUGttQVBZSfwv9ijo6GYoERZpk18mrYo

--coinbase-addr: unrecognized option

When I run without coinbase, even though I've compiled it with libcurl(GBT+getwork).: Enabled: -lcurl

./sgminer --algorithm neoscrypt -o 127.0.0.1:42953 -u rpcuser -p rpcpassword -D

[06:29:35] Loading settings from default_profile for pool 0 [06:29:35] Pool 0 Algorithm set to "neoscrypt" [06:29:35] Pool 0 devices set to "all" [06:29:35] Pool 0 lookup gap set to "(null)" [06:29:35] Pool 0 Intensity set to "8" [06:29:35] Pool 0 Thread Concurrency set to "(null)" [06:29:35] Pool 0 GPU Clock set to "(null)" [06:29:35] Pool 0 GPU Memory clock set to "(null)" [06:29:35] Pool 0 GPU Threads set to "(null)" [06:29:35] Pool 0 GPU Fan set to "(null)" [06:29:35] Pool 0 GPU Powertune set to "(null)" [06:29:35] Pool 0 GPU Vddc set to "(null)" [06:29:35] Pool 0 Shaders set to "(null)" [06:29:35] Pool 0 Worksize set to "(null)" [06:29:35] WARNING: GPU_MAX_ALLOC_PERCENT is not specified! [06:29:35] WARNING: GPU_USE_SYNC_OBJECTS is not specified! [06:29:35] Trying to set current pool... [06:29:35] Probing for an alive pool [06:29:35] Testing 127.0.0.1 [06:29:35] Probing for GBT support [06:29:35] No GBT coinbase + append support found, using getwork protocol [06:29:35] HTTP request failed: The requested URL returned error: 404 Not Found [06:29:35] Succeeded delayed connect [06:29:35] JSON decode failed(1): '[' or '{' expected near 'HTTP' [06:29:35] Failed to resume stratum, trying afresh [06:29:35] Closing 127.0.0.1 socket [06:29:35] Succeeded delayed connect [06:29:35] JSON decode failed(1): '[' or '{' expected near 'HTTP' [06:29:35] Initiating stratum failed on 127.0.0.1 [06:29:35] Suspending stratum on 127.0.0.1 [06:29:35] Closing socket for stratum 127.0.0.1 [06:29:35] FAILED to retrieve work from 127.0.0.1 [06:29:35] 127.0.0.1 slow/down or URL or credentials invalidSegmentation fault