I think I was finally able to fix the error in my block explorer showing the JustDice wallet 'special' coinstake tx's as a negative mint. If anyone sees any issues with balances, please let me know
I am still working on getting the charts to display for very large transaction histories, hopefully have that worked out soon too.
http://www.presstab.pw/phpexplorer/CLAM/richlist.phpGreat news!
I'm happy to see the chart for
this address again - it was beautiful last time I saw it, shortly before it became too big to plot.
Transaction Count 55679
Balance 535,799.154328
Minted 55,695.532970
I believe that every "deposit" into that address was the result of staking, and so the transaction count should be the same as the number of stakes. It looks about right:
minted / tx_count = 55695.532970 / 55679 = 1.00029693
1.0003 seems about right for the average block reward size
Edit: there's a typo on your address claim page:
"For daemons: ./clamsd signmessage addressgoeshere nametosignfor"
It's "clamd", not "clamsd".
Edit2: your row count is off by one:
http://www.presstab.pw/phpexplorer/CLAM/richlist.php?count=5 only shows 4 addresses, not 5.
Edit3: it looks like the 'amount in' and 'amount out' columns are labelled wrongly on the address.php page. I see staking transactions with Amount In=20, Amount Out=19. The output should be greater than the input surely?
Awesome to see the numbers finally synced up as they should be! The problem was my code was assuiming that if the tx was coinstake, that the net difference in balance from that tx was the minted amount. The JD staking wallet has those transactions that send outputs to other wallets in the coinstake tx, so that created a negative mint
Just switched that out and indexed it with pindex->nMint instead which should be accurate.
1) I'll fix this, its actually a variable populated for different coin's page with the coin name and 'd' on the end
I'll make an exception for clams in there.
2) I hid the burn address for clams. This is what is causing this row count to be off. I can either a) show the burn address or b) fix the row count. Although the burn address coins are gone, some users might be interested in seeing the address. Thoughts?
3) In my context it is 'amount in' would mean amount deposited into the address, and 'amount out' means amount taken out of the address. A bit different then inputs/outputs of bitcoin protocol, maybe I should word it better to be more clear (maybe withdraw/deposit or credit/debit). So for your example, 19 clams sent out from the wallet into the coinstake tx, 20 clams sent back into the wallet in the coinstake tx.
PS - I haven't checked this, but I do believe the JD staking address has the most transactions out of all the addresses I have indexed on my site. Quite the accomplishment