-
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 operations input and output data structures for CLI #26
Comments
In order to get Operations info, we need to look through Transaction information. The NewLedgerTransactionReader() function creates a transaction reader for a given ledger, which allows for iterating through each transaction. Calling txReader.Read() gives a LedgerTransaction struct, which is defined as:
Operations are stored in tx.Envelope.V1.Tx.Operations (call a given operation op)
The details struct must be filled out on a case by case basis. The fields that get filled out are dependent on the type of operation that is being performed. If a field is not filled, it should default to null. See the Operations_Processor's Details() method for an example of a switch that fills out the details based on operation type. |
What
We need to map out what information we get about operations 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 information about operations we can get from the ingestion system and what information may have to be reconstructed or omitted.
The text was updated successfully, but these errors were encountered: