Documentation ¶
Index ¶
Constants ¶
View Source
const TxInclusionQueryPath = "txInclusionProof"
Variables ¶
This section is empty.
Functions ¶
func QueryTxInclusionProof ¶
Querier defines the logic performed when the ABCI client using the Query method with the custom prove.QueryPath. The index of the transaction being proved must be appended to the path. The marshalled bytes of the transaction proof (tmproto.TxProof) are returned.
example path for proving the third transaction in that block: custom/txInclusionProof/3
func TxInclusion ¶
TxInclusion uses the provided block data to progressively generate rows of a data square, and then using those shares to creates nmt inclusion proofs It is possible that a transaction spans more than one row. In that case, we have to return more than one proof.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.