You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Internal Node Error -4 (Error with send_transaction RPC request to wallet daemon) #42
after a few days of running all services fine. (forknote daemon, simplewallet rpc, and the nodejs pool)
i get an error when the pool wants to make a payout to the clients. (see error below) The max amount should be ok as it is only 1000 coins.
2017-11-19 17:33:31 Error with send_transaction RPC request to wallet daemon {"code":-4,"message":"Internal node error"}
2017-11-19 17:33:31 Payments failed to send to {"amount":1000000000000000,"address":"ErHbYf6zSmdDJni9Zi97u51B4r8u7XAqGibXq83oNgHFHhXBkD3N9qVGRfRmgsRefseXTHXuZdfJ6PSjZENkTyPh65Kov42"}
any ideas why this error occurs and how to solve it? Restarting of all 3 services did not solve the problem.
You probably have this misconfigured in the pool config:
(in blockUnlocker)
/* Block depth required for a block to unlocked/mature. Found in daemon source as
the variable CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW */
"depth": 60,
If that's not the problem - if you sync your wallet file in another simplewallet instance, are you seeing the same balance?
and the CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW in my coin config is 40.
should i match these two numbers to be the same?
i did not have troubles with auto payouts since the pool is running. which is about 10 days or so. Why does it occur now?
not every payout is failing. maybe about every third time it does the job.
the confirmed amount of coins in the wallet is enough. so the payouts should be no problem.
yes a separate insance of simplewallet shows the same balance.
i stopped the simplewallet on the pool server with was running in rpc mode.
then i started the simplewallet manually (no rpc mode)
then i typed reset. waited till it was done. saved the wallet and exited it.
then i restarted the daemon, simplewallet in rpc and pool.
now pool payouts are working normal again.
it is working now. but thats no solution. i cannot reset the pool wallet every week.
do you have an idea how the wallet got in this bad state in the first place. how can i
make sure that the wallet in rpc mode does not get corrupted?
ok great thx. what is the best way to every now and then save the state of the simplewallet in rpc mode and save the db of the daemon? pipes with commands? or how are you doing that?
@cycleworm I'm getting the same error after sending a few payments. I tried deleting the db, wallet reset and restarted the daemon and pool, but still get the same error.
Activity
pmitchev commentedon Nov 19, 2017
What is the error you got in the daemon?
cycleworm commentedon Nov 19, 2017
i think that should be the corresponding log of the forknote daemon. (see file)
messages that i read in there.
Transaction ... is not valid
Transaction uses spent key image
...
RPC Error.txt
pmitchev commentedon Nov 19, 2017
You probably have this misconfigured in the pool config:
(in blockUnlocker)
/* Block depth required for a block to unlocked/mature. Found in daemon source as
the variable CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW */
"depth": 60,
If that's not the problem - if you sync your wallet file in another simplewallet instance, are you seeing the same balance?
cycleworm commentedon Nov 19, 2017
the depth in my pool config is 10

and the CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW in my coin config is 40.
should i match these two numbers to be the same?
i did not have troubles with auto payouts since the pool is running. which is about 10 days or so. Why does it occur now?
not every payout is failing. maybe about every third time it does the job.
the confirmed amount of coins in the wallet is enough. so the payouts should be no problem.
yes a separate insance of simplewallet shows the same balance.
pmitchev commentedon Nov 19, 2017
depth >= CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW
cycleworm commentedon Nov 19, 2017
changed the depth. but the error still occurs.
only every third or fourth payout works.
cycleworm commentedon Nov 20, 2017
i stopped the simplewallet on the pool server with was running in rpc mode.
then i started the simplewallet manually (no rpc mode)
then i typed reset. waited till it was done. saved the wallet and exited it.
then i restarted the daemon, simplewallet in rpc and pool.
now pool payouts are working normal again.
it is working now. but thats no solution. i cannot reset the pool wallet every week.
do you have an idea how the wallet got in this bad state in the first place. how can i
make sure that the wallet in rpc mode does not get corrupted?
thanks.
pmitchev commentedon Nov 20, 2017
the problem most likely is related to using the wrong debt. You will not have this problem anymore
PS: if you didn't restarted the pool after you changed the config that must be the problem
cycleworm commentedon Nov 20, 2017
ok great thx. what is the best way to every now and then save the state of the simplewallet in rpc mode and save the db of the daemon? pipes with commands? or how are you doing that?
madradio commentedon Mar 22, 2018
@cycleworm I'm getting the same error after sending a few payments. I tried deleting the db, wallet reset and restarted the daemon and pool, but still get the same error.
Did you manage to find any solution to it?
bobbieltd commentedon Mar 28, 2018
Running simplewallet (no argument) + reset helps me. Thanks cycleworm. For long term solution, I don’t know.
madradio commentedon Mar 28, 2018
@bobbieltd which version of simplewallet, daemon are you using?
aejontargaryen commentedon Sep 1, 2018
i hit this error once from config's minimum fee being accidentally set below DRGL network min.