Skip to content
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

TXIndex incorrectly indexes genesis block #46

Open
metaspartan opened this issue Jun 25, 2021 · 6 comments
Open

TXIndex incorrectly indexes genesis block #46

metaspartan opened this issue Jun 25, 2021 · 6 comments

Comments

@metaspartan
Copy link

The Genesis Block #0 has this transaction listed:

3JuEUEgf48j68DJPn7M4RMNpBxHZo221sYm39hatrnMyUdDVyC6w3F

Running any of the transaction-info API calls on this transaction return back an error stating the Transaction could not be found.

(Error: APITransactionInfo: Could not find transaction with TransactionIDBase58Check = 3JuEUEgf48j68DJPn7M4RMNpBxHZo221sYm39hatrnMyUdDVyC6w3F)

This transaction contains most of the outputs towards the six centralized public keys from the genesis.

This leads to the missing input: 3JuESjmiiRsfbF4AKB6y9QUMj6iAN24abbSBBhh69JxqfwPLHqW53k

Referring to @tijno issue #21

@tijno
Copy link
Contributor

tijno commented Jun 25, 2021

I would love to get this clarified too!

Maybe should not have closed the issue.

@maebeam
Copy link
Contributor

maebeam commented Jun 25, 2021

The genesis block transaction hash is all zeroes but the block explorer indexes this transaction incorrectly. I'm working on a fix for this as we speak.

@metaspartan
Copy link
Author

The genesis block transaction hash is all zeroes but the block explorer indexes this transaction incorrectly. I'm working on a fix for this as we speak.

Also, so the block explorer just uses the api/v1/transaction-info call, this call is also fairly useless currently and documentation is out of date immensely for it.

"IDsOnly": true or false does not exist in the call anymore (which it should)

If you try to call a PublicKeyBase58Check address to return transactions, it will timeout for any user with over 10k-20k+ transactions, most active users have 50,000+ transactions.

@ghost
Copy link

ghost commented Jul 13, 2021

Here's the transaction metadata of TXN ID: 3JuEUEgf48j68DJPn7M4RMNpBxHZo221sYm39hatrnMyUdDVyC6w3F, if it's useful to anyone.

transaction_metadata_3JuEUEgf48j68DJPn7M4RMNpBxHZo221sYm39hatrnMyUdDVyC6w3F.json.zip

@tijno
Copy link
Contributor

tijno commented Jul 14, 2021

The issue seems to remain:

Block 0 - has one Transaction with ID 3JuEUEgf48j68DJPn7M4RMNpBxHZo221sYm39hatrnMyUdDVyC6w3F
Block 1 has no transactions
Block 2 - has 997 ... but

  • none use 3JuEUEgf48j68DJPn7M4RMNpBxHZo221sYm39hatrnMyUdDVyC6w3F as input
  • 2 transactions use 3JuESjmiiRsfbF4AKB6y9QUMj6iAN24abbSBBhh69JxqfwPLHqW53k which does not exist in any block upto and incl block 2

I believe the transaction ID for block 0 is incorrect and should be 3JuESjmiiRsfbF4AKB6y9QUMj6iAN24abbSBBhh69JxqfwPLHqW53k

If this is not the case - where is transaction 3JuESjmiiRsfbF4AKB6y9QUMj6iAN24abbSBBhh69JxqfwPLHqW53k which (from memory) i remember is used by 140 or so transactions as input

This relates to issue mentioned above in #21

@maebeam
Copy link
Contributor

maebeam commented Jul 15, 2021

The genesis block transaction hash is all zeroes but the block explorer indexes this transaction incorrectly. I'm working on a fix for this as we speak.

This is still the case

@maebeam maebeam changed the title Missing Genesis Transaction TXIndex incorrectly indexes genesis block Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants