-
Notifications
You must be signed in to change notification settings - Fork 0
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
Discrepancy between transaction list [ADDRESS] and address cache [THE_SAME_ADDRESS] outputs #132
Comments
Thank you. I'm already working on the discrepancy, but this could take some time. I'll think about what can be done with the unconfirmed transactions. pacli itself can't detect if they are invalid as it shows the result of a slimcoind command, so for example if you just created some transactions which are still unconfirmed they will be shown in the same way than old invalid transactions that still "hang" in your mempool. I would prefer to not have to add another flag (e.g. "only-confirmed" or so) nor "mark" them in any special way (this is difficult, and also the user already sees that the txes are unconfirmed). |
The inconsistencies are now probably solved. I had inconsistencies too with this address, and they disappeared now with the fix in commit 8d83d95. The reason was that the address mkwJijAwqXNFcEBxuC93j3Kni43wzXVuik is a P2TH address. For optimization reasons, however, I had excluded the P2TH accounts from the query which is called by Regarding the unconfirmed transactions, I have still not modified the policy, so this issue can stay open until this is solved. |
The discrepancy is gone. Looking forward for your decision on what to do with the pending transactions. |
Almost a miracle but I found a good flag: I have it implemented now (commit 6677030) in a way that only if you use this flag, unconfirmed transactions will be shown (alongside the confirmed ones). Of course it doesn't work with A question: Do you think it's more helpful if (Just as a help for decision: |
What if we introduce another possible value for the
Here is my
it doesn't seem to contain the pending transactions. |
Good idea, I have implemented it in commit 766fdd1. I have pre-tested all variants but leave this open in the case you want to test it. If not (or everything works), the issue can be closed. Regarding the getmemorypool issue, I have checked that and it seems that indeed some unconfirmed transactions aren't displayed by getmemorypool. These transactions may have been saved in the wallet file but are strangely not in the mempool. I can't do anything to change this behavior as this is the Slimcoin client. |
Everything works. I'm closing this.
Alright, I only had not clear how to use this command in this case. |
I've run transaction list
transaction list mkwJijAwqXNFcEBxuC93j3Kni43wzXVuik
and gotthis output, while the
address cache mkwJijAwqXNFcEBxuC93j3Kni43wzXVuik
reports as following:Thus the number of blocks in
address cache mkwJijAwqXNFcEBxuC93j3Kni43wzXVuik
output is 68, while thetransaction list mkwJijAwqXNFcEBxuC93j3Kni43wzXVuik -t
reports only 61 transactions.I've further compared
transaction list mkwJijAwqXNFcEBxuC93j3Kni43wzXVuik
output withtransaction list mkwJijAwqXNFcEBxuC93j3Kni43wzXVuik -x -l
andtransaction list -x -o mkwJijAwqXNFcEBxuC93j3Kni43wzXVuik -l
outputs (the-x
flag doesn't work on my side without the-l
flag for the moment, as reported here) and got that thetransaction list mkwJijAwqXNFcEBxuC93j3Kni43wzXVuik
has the following two transactions that are not present in the other two outputs:(which is a kind of expected because those are probably my test with
--sign
and--send
flags as per issue #109, but probably we have to decide what we should do with the invalid transactions for different command. Maybe we create another flag for them? (although it could be a big challenge to find a letter for that)).The
transaction list mkwJijAwqXNFcEBxuC93j3Kni43wzXVuik -x -l
have the following 14 transactions that are not reported intransaction list mkwJijAwqXNFcEBxuC93j3Kni43wzXVuik
output:The
transaction list -x -o mkwJijAwqXNFcEBxuC93j3Kni43wzXVuik -l
has the following transaction that is not present intransaction list mkwJijAwqXNFcEBxuC93j3Kni43wzXVuik
output:For your convenience here are the
transaction list mkwJijAwqXNFcEBxuC93j3Kni43wzXVuik -x -l
and thetransaction list -x -o mkwJijAwqXNFcEBxuC93j3Kni43wzXVuik -l
outputs I'm getting:transaction_list_mkwJijAwqXNFcEBxuC93j3Kni43wzXVuik_-x_-l(20240614).txt
transaction_list_-x_-o_mkwJijAwqXNFcEBxuC93j3Kni43wzXVuik_-l(20240614).txt
The text was updated successfully, but these errors were encountered: