Skip to content

Serve receipts by P2P #10320

Closed
Closed
@AskAlexSharov

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).

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions