-
Notifications
You must be signed in to change notification settings - Fork 12
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
Map out transaction input and output data structures for CLI #43
Comments
In order to get transaction information, we would call getLedger with the sequence number of the desired ledger.
In order to export the data to BigQuery, we need a struct with the following fields:
In order to connect the transaction result and the transaction itself, use a LedgerTransactionReader, which packages the transaction envelope, results, and fee changes. It allows for reading in this packaged data one transaction at a time. See Bartek's stats.go for an example. In order to transform the xdr.Hash into a hex string, convert the Hash to a byte array and use Created and updated at times need to be converted to Unix timestamps, right now they are integers. |
What
We need to map out what information we get about transactions from the new ingestion system. We also need to know what the output to BigQuery should look like. Part of #19.
Why
This issue helps us know what transaction information is easily accessible from the ingestion system and what information may have to be reconstructed or omitted.
The text was updated successfully, but these errors were encountered: