Skip to content

Value & revision for a transaction entry #1261

Answered by jeroiraz
grossvater asked this question in Q&A
Discussion options

You must be logged in to vote

When iterating over raw transactions, entries do not hold the actual payload but a reference to the value (and its digest). The store provides the ReadValue method to fetch the actual value:

value, err := st.ReadValue(e)

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@grossvater
Comment options

@jeroiraz
Comment options

@grossvater
Comment options

@jeroiraz
Comment options

@grossvater
Comment options

Answer selected by grossvater
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants