electroneum / electroneum-pool

GNU General Public License v2.0
177 stars 172 forks source link

[payments] Payments failed to send to #72

Open tianna1121 opened 6 years ago

tianna1121 commented 6 years ago

Hi, Electroneum

My pool has found the first block. However, everyone's account presents just pending payments. Something wrong with payment service.

[payments] Error with transfer RPC request to wallet daemon {“code”:-4,”message”:”destination amount is zero”}

[payments] Payments failed to send to {"amount":null, "address": "etnxxxxxxxx" {amount: NaN, address: 'etnxxxxxx'} { amount: NaN, address: 'etnxxxxxxxx'}

The RPC service complains: [RPC0] ERROR wallet.wallets src/wallet/wallet2.cpp:4391 0 == dt.amount. THROW EXCEPTION: error::zero_destination

I start the RPC service as follows: ./electroneum-wallet-rpc --wallet-file the walletGeneratedInPool --password walletpasswdGeneratedInPool --rpc-bind-port 26969 --disable-rpc-login

and the config.json is: …. "poolServer": { "enabled": true, "clusterForks": "auto", "poolAddress": "walletGeneratedInPool", "blockRefreshInterval": 1000, "minerTimeout": 900, ….

Please help me, thank you!

tianna1121 commented 6 years ago

Some said the destination-amount-is-zero due to denomination. Not sure what does this mean...

I am not sure if I should set the denomination from 0 to 0.01. And restart the RPC & Payment service now?

Any suggestions are appreciated!

cooltaby commented 6 years ago

facing same issue with error Error with transfer RPC request to wallet daemon {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"}

please help all payments in pending balance

ddvs1 commented 6 years ago

Hi,

probably you have the ports not well setup. What are your pool ?

cooltaby commented 6 years ago

www.asiaetnpool.com

cooltaby commented 6 years ago

—rpc-bind-port 8082 matches your config "wallet": { "host": "127.0.0.1", "port": 8082 }, checked all good but no payment

otsaki commented 6 years ago

Did this get fixed cooltaby? what was the problem?

cooltaby commented 6 years ago

yes its fixed now

cooltaby commented 6 years ago

reconfigured pool again and started demon wallet with sudo

Mvanmierlo commented 6 years ago

Can you be a bit more specific with "reconfigured pool again"? I am having the same issue but do not understand what you mean with that.

cooltaby commented 6 years ago

After setup correctly the ports,

just run this sudo ./electroneum-wallet-rpc --wallet-file poolwallet --password pass --rpc-bind-port 26969 --disable-rpc-login --trusted-daemon

with the --trusted-daemon added to the inicial command

change your wallet file and password to yours

https://github.com/electroneum/electroneum-pool/issues/75

Mvanmierlo commented 6 years ago

Thank you BIG time ! Also here issue with ports config in the config.json .. I pointed the wallet to my wallet port : "wallet": { "host": "127.0.0.1", "port": 8082

And needed to be the wallet RPC :

"wallet": {
    "host": "127.0.0.1",
    "port": 26969

After changing that and restarting the pool all worked .. by the way I do not use Sudo for running any process as the developper specificly mentioned NOT to run any deamon under root.

Works for me :)

Thanks again for your feedback that REALLY helped !