Skip to content

Investigate potential data bug #123

@dangershony

Description

@dangershony

What I think the issue to be is that the information we capture isn't the info most care about.

Say I go to the store and buy a Yogurt. I give the clerk 1000 shillings and they give me back 33. What I care about is that the Yougurt cost 977. Not that I "Spent" 1000 and "received" 33.
So the TotalSpent and TotalReceived appear to be of little value.
When downloading the transactions from Chains and filtering on Send or Receive and Totaling them I get the number that is of value.
https://explorer.blockcore.net/crs/explorer/address/CPGdssraPjL7syfBDUpNiMoUmLuafvqbrb
Blockcore /// Build Blockchains
Blockcore Explorer is a Cross-Chain Multi-Chain Block Explorer.
Blockcore /// Build Blockchains
Can use this address (a masternode) as example
Image
Those Total Sent and Received numbers are of little to no value at all.
curl -X 'GET'
'https://crs.indexer.blockcore.net/api/query/address/CPGdssraPjL7syfBDUpNiMoUmLuafvqbrb/transactions?offset=0&limit=50'
-H 'accept: /'

taking these results and filtering by type and summing them gives a value that has meaning.
The key piece of information is the Delta
if Delta is negative you spent if Positive you received

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions