Closed
Description
Code is here: in getReceipts66
need uncomment things and inside AnswerGetReceiptsQuery
implement re-execution of requested blocks - to produce Receipts.
Additional: need use only 1 gorotine for all such P2P requests. (probably by *semaphore.Weighted
)
Additional: add LRU of results.
Example of block re-exec see in: getLogsV3
. (there is use of intraBlockExec
).
See also Receipts LRU in RPCDaemon (as an example. don't re-use it).