CCF icon indicating copy to clipboard operation
CCF copied to clipboard

Expose a way for indexing strategies to get the commit evidence of the TxID.

Open plietar opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. See #4247

Describe the solution you'd like In order to compute a receipt, an indexing strategy needs the signature, the inclusion proof and the commit evidence. The first two are covered by #4247.

Because indexing strategies are only called with globally committed transactions, I believe it would be safe to pass that evidence as a new argument to handle_committed_transaction, or alternatively provide a way to compute it lazily if doing it for every transaction is too expensive.

plietar avatar Sep 16 '22 13:09 plietar