You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening an issue. It looks like you got this figured out?
I know the flow of transactions from node_transaction to block_transaction (immutable) + node_block isn't very obvious – Chaingraph probably needs some better guides to introduce how the database models chain activity. This data model sets us up well for long-term scaling considerations though (avoiding some duplication and enabling time-based partitioning).
node_transaction is essentially the observed "mempool" for each connected node. The transactions then get organized into block_transactions, which are immutable even when particular nodes switch between accepted chain tips. Only node_block is changed when a particular node changes its mind about the state of the network, and the matching _history tables record changes to the various temporary tables.
bitjson
changed the title
Can't lookup already confirmed transaction
Document the purpose of node_transaction (mempool) vs. block_transaction + node_block (accepted tip)
Mar 27, 2023
The graphql query:
returns:
even though the transaction has been confirmed . Maybe because it's the coinbase?
@Edit1: It's possible to find this transaction by looking up the block it was included in:
returns:
@edit2: The following query also works:
The text was updated successfully, but these errors were encountered: