Open altergui opened 2 months ago
if you have any comments or early feedback already, much appreciated
Why to do this? Actually the explorer shows the transaction number as part of the information shown for a transaction. Is a big effort to continue maintaining this?
Is also true that on other explorers like this https://eth.blockscout.com/txs the transaction number is not shown on txs list / details.
So if you finally remove it for any reason, the explorer must be refactored
it does make the reindexing code more complex, and indeed other blockchains have no such concept, they index txs by blockHeight+blockIndex (that we also do, so it's redundant)
i've created https://github.com/vocdoni/vocdoni-node/pull/1371
as part of the work i'm doing on the indexer, i'm considering removing the concept of "transactionNumber", currently an incremental id that basically counts how many transactions were done since genesis.
i'm working on this in https://github.com/vocdoni/vocdoni-node/pull/1329 and it's still WIP but when it's merged will require changes in sdk and explorer, since:
this endpoint will no longer exist (will return 405)
GET /chain/transactions/reference/index/:index
current docsthe json returned by the following paginated endpoints will change (each transaction in the list will no longer have a
transactionNumber
field)as well as these endpoints in a similar manner (the returned json will no longer have a
transactionNumber
field)