Skip to content

Conversation

@ferranbt
Copy link
Contributor

This PR adds a new set object that abstract the cache for known blocks and transactions.

Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm aside from some minor nits

Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moar minor nits

@holiman holiman changed the title Simplify peer known block/txns cache eth/protocols/eth: simplify peer known block/txs caches Sep 28, 2021
@holiman holiman merged commit a541fbe into ethereum:master Sep 28, 2021
@holiman holiman added this to the 1.10.9 milestone Sep 28, 2021
sidhujag pushed a commit to syscoin/go-ethereum that referenced this pull request Sep 28, 2021
* Simplify peer known block/txns cache

* Address minor changes

* Add more minor comments

* Minor changes from review
yongjun925 pushed a commit to DODOEX/go-ethereum that referenced this pull request Dec 3, 2022
* Simplify peer known block/txns cache

* Address minor changes

* Add more minor comments

* Minor changes from review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants