z-classic / z-nomp

z-nomp is mining pool software for Zcash and Zclassic so you can create internet money in your home!
MIT License
291 stars 436 forks source link

Could not dumpprivkey for bitcoin gold (encrypted wallet) #230

Open gateway opened 6 years ago

gateway commented 6 years ago

A few of us are starting to use the amazing z-nomp pool to get prepped for the upcoming bitcoin gold release. Some of us are protecting our wallets by encrypting this.. however this has an issue with z-nomp due to the fact that it cant dump the private key.

2017-11-09 06:27:46 [Website] [bitcoin gold] Could not dumpprivkey for bitcoin gold {"code":-13,"message":"Error: Please enter the wallet passphrase with walletpassphrase first."}

Any ideas or suggestions on this. Its not very clear how to deal with wallet encryption, or if it needs to not be encrypted.

jagottsicher commented 6 years ago

same problem here: 2017-11-10 10:40:21 [Payments] [testcoin gold] Daemon does not own pool address - payment processing can not be done with this daemon, {"isvalid":false} 2017-11-10 10:40:21 [Payments] [testcoin gold] Daemon does not own pool address - payment processing can not be done with this daemon, {"isvalid":false} 2017-11-10 10:40:21 [Website] [Server] Website started on 0.0.0.0:8080 2017-11-10 10:40:21 [Website] [testcoin gold] Could not dumpprivkey for testcoin gold {"code":-5,"message":"Invalid Bitcoin address"} 2017-11-10 10:40:21 [Switching] [Setup] (Thread 1) Loading last proxy state from redis 2017-11-10 10:40:21 [Pool] [testcoin gold] (Thread 1) Share processing setup with redis (127.0.0.1:6379) 2017-11-10 10:40:21 [Pool] [testcoin gold] (Thread 1) Daemon reports address is not valid 2017-11-10 10:40:22 [Switching] [Setup] (Thread 2) Loading last proxy state from redis 2017-11-10 10:40:22 [Pool] [testcoin gold] (Thread 2) Share processing setup with redis (127.0.0.1:6379) 2017-11-10 10:40:22 [Pool] [testcoin gold] (Thread 2) Daemon reports address is not valid

jagottsicher commented 6 years ago

@gateway seems you have a different problem. I think you need to encrypt your wallet frist, respectively enter a passphrase.

solved mine: I needed to create valid adresses for the testnet. one for mining, one for transactions and place them in the config.json. eventually I needed to reindex the daemon und set "rewardRecipients": { "": 1.0 }, to "rewardRecipients": { }, now works smootly.

gateway commented 6 years ago

you cant dump priv key unless you unlock your wallet, the znomp code has no way to do this so you need to do it where your running bgoldd .. I did this but not sure how to unlock it for indeff time since you cant really unencrypt.

TheComputerGenie commented 6 years ago

Bgold does not, and probably will not, work with z-nomp (because of how they altered the coin). They made their own edits and their own version.