Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error trying to send payments #720

Open
Leonardiae opened this issue Apr 26, 2022 · 0 comments
Open

Error trying to send payments #720

Leonardiae opened this issue Apr 26, 2022 · 0 comments

Comments

@Leonardiae
Copy link

The pool reports an error when sending payments:
Error trying to send payments with RPC sendmany {"code":-5,"message":"Invalid BTCSQ address: 17oAU2og"}

I was able to reproduce this by having a miners share accepted while the miner address contains an addition, like a rigname:
3CqDjU8CzWaaAA7Ho8XzaFXMVbY2Dx5tZG.rig12

I noticed that when I try to add an extension having more than 5 characters then the miner won't be authorized on the pool (unauthorized) but having up to 5 characters the miner is authorized. But when the bloch reaches enough confirmations and payments are being send then the pool generates the error mentioned above.

I started the pool using a clean database and mined one block. Redis shows:

127.0.0.1:6379> HGETALL vbitcoin:shares:round80106
1) "3CqDjU8CzWaaAA7Ho8XzaFXMVbY2Dx5tZG.rig12"
2) "500000"

After 100 blocks (mined by other pools) the block reaches enough confirmations and payment goes out but every time this error occurs:

2022-04-26 14:08:09 [Payments]	[vbitcoin] Error trying to send payments with RPC sendmany {"code":-5,"message":"Invalid BTCSQ address: 17oAU2og"}
2022-04-26 14:08:09 [Payments]	[vbitcoin] Finished interval - time spent: 2ms total, 0ms redis, 1ms daemon RPC

After this I have to flush the redis database and start over but for miners it's very easy to mess up again with the pools payments...

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant