Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Cannot claim interest for cps in BM 3.1.3 or send cps to another alias - Witness signature not found - code 16 #393

Open
testingsys opened this issue Oct 23, 2018 · 17 comments

Comments

@testingsys
Copy link

I have a pending cps - claim interest and transfer to coinpayments issue. I have discussed it earlier with locutus and jag, but I put it on hold before I could try to claim interest from blockmarket. Today i have uninstalled BM and QT, deleted all files from the appdata folder(except wallet,mnconf and sysconf), installed bm3.1.3 and right now I am reindexing BM. I have tried reindex several times before, but this is the first time I am doing it after cleanup and reinstall. The issue is - I keep getting this error whenever I claim interest or try to transfer CPS to coinpaments. The alias is chanakya15. I had used this alias as a witness for all my other aliases and it worked fine. And I was able to claim interest on chanakya15 in qt, once earlier with hit and trial with several aliases.This was before 3.1.3. Thanks in advance. Here is the error
image

5000 cps bounty for any dev who can help me fix this before the next interest cycle. Interest has been claimed once through qt before 3.3. Another interest claim is pending.

@sidhujag
Copy link
Member

are you using bmd here? can you try via CLI or qt?

@testingsys
Copy link
Author

testingsys commented Oct 28, 2018 via email

@sidhujag
Copy link
Member

try leaving last arg as "" i dont know why it requires a witness.. it should work without witness.. witness is more for KYC/AML and other things

@testingsys
Copy link
Author

testingsys commented Oct 29, 2018 via email

@sidhujag
Copy link
Member

sidhujag commented Oct 29, 2018

ok let me try this tomorrow

@jnessbcf
Copy link

jnessbcf commented Oct 29, 2018

@testingsys - Bear with me, you mentioned:
"The alias is chanakya15. I had used this alias as a witness for all my other aliases and it worked fine"

Have you tried entering:
assetallocationcollectinterest 777845ced7b6022b chanakya15 chanakya15

? i.e. using yourself as the witness for collection of interest. We did see this error quite a while back and it resulted from someone using one of their own aliases as the witness for the asset previously in the first place.

@sidhujag IIRC if the asset was created using a witness, I remember that we experienced issues if the asset interest claim was attempted without the same witness verifying the claim. Not sure if this is related to that one (as you say, asset interest collection shouldn't require a witness...but I remember the team encountered this issue a little while back for similar reasons).

@testingsys
Copy link
Author

testingsys commented Oct 29, 2018 via email

@sidhujag
Copy link
Member

hard to read pls clean up your comments.. i will take a look myself

@testingsys
Copy link
Author

ok.. cleaned up a bit. Here is the summary- So far I have tried:

assetallocationcollectinterest 777845ced7b6022b chanakya15 chanakya15
SYSCOIN_RPC_ERROR ERRCODE: 9000 - Witness to this transaction must be different than the funding alias (code -1)

assetallocationcollectinterest 777845ced7b6022b chanakya15 ''
SYSCOIN_ALIAS_CONSENSUS_ERROR: ERRCODE: 5003 - Witness signature not found (code 16) (code -1)

assetallocationcollectinterest 777845ced7b6022b chanakya15 ""
SYSCOIN_ALIAS_CONSENSUS_ERROR: ERRCODE: 5003 - Witness signature not found (code 16) (code -1)

assetallocationcollectinterest 777845ced7b6022b "" chanakya15
SYSCOIN_ASSET_ALLOCATION_RPC_ERROR: ERRCODE: 1506 - Could not find a asset allocation with this key (code -1)

assetallocationcollectinterest 777845ced7b6022b '' chanakya15
SYSCOIN_ASSET_ALLOCATION_RPC_ERROR: ERRCODE: 1506 - Could not find a asset allocation with this key (code -1)

My syntax that is working while claiming interest is:
assetallocationcollectinterest 777845ced7b6022b chanakya15 any_other_alias - so chanakya15 is the witness here.
And when I do this:
assetallocationcollectinterest 777845ced7b6022b chanakya3 chanakya15

  • Here I get the witness not found error:

SYSCOIN_ALIAS_CONSENSUS_ERROR: ERRCODE: 5003 - Witness signature not found (code 16) (code -1)

@sidhujag
Copy link
Member

sidhujag commented Oct 29, 2018

Jags-MacBook-Pro:src jsidhu$ ./syscoin-cli assetallocationcollectinterest 777845ced7b6022b chanakya15 ''
[
"0174000008525639cd11bf78394f969c20171d3af87fd5a0bbdc8756c58014a53ec95b739d020000001976a914e0a10349af0884b5ff7901fde07eb1eed1adea0088acffffffff325a160721c8d39072974672154ee7fb77e03640404a734b367cd133823a6dae000000005e565240613536663935366335623662643038373766316566366435653238613430363834613561373565633062666231623439373639613462376636393365643965666d7576a914e0a10349af0884b5ff7901fde07eb1eed1adea0088acffffffffa3440b17ac988edca6264a03d68027cdfe024ee3e3ab3ceb2206dd51f61cf6c8000000005e565240613536663935366335623662643038373766316566366435653238613430363834613561373565633062666231623439373639613462376636393365643965666d7576a914e0a10349af0884b5ff7901fde07eb1eed1adea0088acffffffff003d136bcdd3eed4841098a5aecf5ed245e7d9443b1f47cb2754721e63f9762f000000005e565240613536663935366335623662643038373766316566366435653238613430363834613561373565633062666231623439373639613462376636393365643965666d7576a914e0a10349af0884b5ff7901fde07eb1eed1adea0088acffffffff415628a455486306c0f4d1a94c719e3d6a0943b6a046288c8fe493ff26a15fa5000000005e565240613536663935366335623662643038373766316566366435653238613430363834613561373565633062666231623439373639613462376636393365643965666d7576a914e0a10349af0884b5ff7901fde07eb1eed1adea0088acffffffffaa55e9044baec81e0fb396c71c8120b6158e473fd832a4683fda1f6dc7d6b700000000005e565240613536663935366335623662643038373766316566366435653238613430363834613561373565633062666231623439373639613462376636393365643965666d7576a914e0a10349af0884b5ff7901fde07eb1eed1adea0088acffffffff8a228737cff62e6a677b6e997606423d2638172f18c90de96e29a8a44e75b744000000005e565240613536663935366335623662643038373766316566366435653238613430363834613561373565633062666231623439373639613462376636393365643965666d7576a914e0a10349af0884b5ff7901fde07eb1eed1adea0088acffffffff055f1cfc5d7a5a7ef4ef40cf005ba764b727c5d0d8899db2a3f2c7ee9eba31a7000000005e565240613536663935366335623662643038373766316566366435653238613430363834613561373565633062666231623439373639613462376636393365643965666d7576a914e0a10349af0884b5ff7901fde07eb1eed1adea0088acffffffff036a1d0000000000005e565240623530356530643038313036366463356536306163653537306562333133666164346463356336613830383835376434656361663466633831656234646435316d7576a914e0a10349af0884b5ff7901fde07eb1eed1adea0088ac00000000000000009b6a4c5710373737383435636564376236303232620a6368616e616b796131358e22d066ca3b98e9bb9aa2bbb78e78fb65bc9d75386973e6e04209884b1bdafa88e36688e366000000b76389425f05000000000000000000803e00406235303565306430383130363664633565363061636535373065623331336661643464633563366138303838353764346563616634666338316562346464353130750000000000003c51520a6368616e616b79613135106237623038326137393263303039323900006d6d6d76a914e0a10349af0884b5ff7901fde07eb1eed1adea0088ac00000000"

@sidhujag
Copy link
Member

qt also works

10:17:02 |   | assetallocationcollectinterest 777845ced7b6022b chanakya15 ''
[
"0174000008525639cd11bf78394f969c20171d3af87fd5a0bbdc8756c58014a53ec95b739d020000001976a914e0a10349af0884b5ff7901fde07eb1eed1adea0088acffffffff325a160721c8d39072974672154ee7fb77e03640404a734b367cd133823a6dae000000005e565240613536663935366335623662643038373766316566366435653238613430363834613561373565633062666231623439373639613462376636393365643965666d7576a914e0a10349af0884b5ff7901fde07eb1eed1adea0088acffffffffa3440b17ac988edca6264a03d68027cdfe024ee3e3ab3ceb2206dd51f61cf6c8000000005e565240613536663935366335623662643038373766316566366435653238613430363834613561373565633062666231623439373639613462376636393365643965666d7576a914e0a10349af0884b5ff7901fde07eb1eed1adea0088acffffffff003d136bcdd3eed4841098a5aecf5ed245e7d9443b1f47cb2754721e63f9762f000000005e565240613536663935366335623662643038373766316566366435653238613430363834613561373565633062666231623439373639613462376636393365643965666d7576a914e0a10349af0884b5ff7901fde07eb1eed1adea0088acffffffff415628a455486306c0f4d1a94c719e3d6a0943b6a046288c8fe493ff26a15fa5000000005e565240613536663935366335623662643038373766316566366435653238613430363834613561373565633062666231623439373639613462376636393365643965666d7576a914e0a10349af0884b5ff7901fde07eb1eed1adea0088acffffffffaa55e9044baec81e0fb396c71c8120b6158e473fd832a4683fda1f6dc7d6b700000000005e565240613536663935366335623662643038373766316566366435653238613430363834613561373565633062666231623439373639613462376636393365643965666d7576a914e0a10349af0884b5ff7901fde07eb1eed1adea0088acffffffff8a228737cff62e6a677b6e997606423d2638172f18c90de96e29a8a44e75b744000000005e565240613536663935366335623662643038373766316566366435653238613430363834613561373565633062666231623439373639613462376636393365643965666d7576a914e0a10349af0884b5ff7901fde07eb1eed1adea0088acffffffff055f1cfc5d7a5a7ef4ef40cf005ba764b727c5d0d8899db2a3f2c7ee9eba31a7000000005e565240613536663935366335623662643038373766316566366435653238613430363834613561373565633062666231623439373639613462376636393365643965666d7576a914e0a10349af0884b5ff7901fde07eb1eed1adea0088acffffffff036a1d0000000000005e565240623530356530643038313036366463356536306163653537306562333133666164346463356336613830383835376434656361663466633831656234646435316d7576a914e0a10349af0884b5ff7901fde07eb1eed1adea0088ac00000000000000009b6a4c5710373737383435636564376236303232620a6368616e616b796131358e22d066ca3b98e9bb9aa2bbb78e78fb65bc9d75386973e6e04209884b1bdafa88e36688e366000000b76389425f05000000000000000000803e00406235303565306430383130363664633565363061636535373065623331336661643464633563366138303838353764346563616634666338316562346464353130750000000000003c51520a6368616e616b79613135106237623038326137393263303039323900006d6d6d76a914e0a10349af0884b5ff7901fde07eb1eed1adea0088ac00000000"
]

@locutus75
Copy link

QT:
input:
assetallocationcollectinterest 777845ced7b6022b chanakya15 ''
output:
SYSCOIN_ALIAS_CONSENSUS_ERROR: ERRCODE: 5003 - Witness signature not found (code 16) (code -1)

@sidhujag
Copy link
Member

ok the issue is on master and its fixed on development branches.

@testingsys
Copy link
Author

what compile should I use? or wait for the next release?

@sidhujag
Copy link
Member

for bmd pls try next release coming shortly in 3.2, you can compile dev-3.x-prep-3.2.0 though if you want qt or cli to do it

@testingsys
Copy link
Author

Will wait for the next release then. 5k cps waiting for you once I am able to transfer :) Thanks for your time!

@testingsys
Copy link
Author

I am still getting the issue on BM 2.0. How do I compile dev-3.x-prep-3.2.0

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

No branches or pull requests

4 participants