-
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
Some inconsistency in coin balances #139
Comments
Thank you for solving this yourself :) I agree with your diagnostics, so I'm closing. |
Sorry for reopening, just a quick question: would it make sense to show the coin balances of the not mature coins in |
This would make these commands much more complex and also much (!) slower. Those mining and minting should also know that these coins are not part of the normal balance while immature, so I see no need to change that. |
Makes sense, closing. |
Probably I've found the explanation of this issue please see the last update beneath.
I've been testing
pobtoken burn_coins
/pobtoken claim
commands and everything is working as expected so far.However I've noticed some differences in coin balances if I compare the output of
transaction list
command with theaddress list
outputs.Here is the steps to verify whether the issue is reproducible on your end or may be you know the explanation of what I'm seeing:
slimcoind getinfo
command, it was 480524.address list
command.b1606924836646653c2d8108427410a718b87e85529974ddae9cd172264488e2
.pobtoken claim fb93cce7aceb9f7fda228bc0c0c2eca8c56c09c1d846a04bd6a59cae2a895974 b1606924836646653c2d8108427410a718b87e85529974ddae9cd172264488e2
and which have produced the transaction2182c64eb2d87eb787ba7d834c3fcc88e2b6e0422b8c8658e424d10d4379f065
.address list
again.After that I've compared the address list balances and have found the following anomalies:
mskxtnWBJ1bBYZxmHe8rTR5H8ayZEXvG35
was261105.41
, the final one was261597.46
,mrnZpB5Wm1FDBBcZ1s1pdPHpQgzaLRteSr
has remained unchanged,2793.95
and it's still unchanged now while I'm on the block480556
. The value was the same also at the block480403
.By running
transaction list mskxtnWBJ1bBYZxmHe8rTR5H8ayZEXvG35 -x -f 480523 -e 480535 -v
I'm getting the following output:The sum of the above transactions is
1022,94
, while the difference of the initial and the final balance in the same range for that address as reported byaddress list
is492,05
.While if I run
transaction list mrnZpB5Wm1FDBBcZ1s1pdPHpQgzaLRteSr -x -f 480523 -e 480535 -v
I'm getting:_
UPDATE 08-07-2024
Thinking the issue doesn't have to to do with the
pobtoken burn_coins
command I've made the following test:At the block 484233 I've launched
address list
command and got the following:Then I've launched the same command on the block 484248 and the output was:
The first difference I've noticed is that the donor_address7 mskxtnWBJ1bBYZxmHe8rTR5H8ayZEXvG35 has increased from 267147.61 to 267331.05 tSLMs (the difference is 183.44 tSLMs).
However by launching
transaction list mskxtnWBJ1bBYZxmHe8rTR5H8ayZEXvG35 -x -f 484232 -e 484249 -v
I'm getting the following outputThus the difference should be 1196.27 tSLMs.
Another strange thing I've noticed is that there was the address
mqM44ufTNCmrNoKDTRKJQfkKVYbM5fuEXr
mentioned in the 484233 block's output while in the 484248 block's output there is no such address._
UPDATE 09-07-2024
I think today I've found the explanation of this "inconsistency": the coinbase transactions are not being added to the balance until they are not mature. So they are not included in the interval in which the balance is increased.
I think this issue can be closed.
The text was updated successfully, but these errors were encountered: