ethereum / eth-portal

A collection of utilities related to Ethereum's Portal Network
MIT License
6 stars 6 forks source link

Use portal_historyOffer to propagate (instead of _historyStore) #27

Closed carver closed 2 years ago

carver commented 2 years ago

What was wrong?

trin was updated so that portal_historyStore no longer propagates the data (it only stores it to disk). The offer RPC endpoint was updated to offer to all connected peers (and to accept the content value, rather than assume the content was already in the node).

How was it fixed?

Use portal_historyOffer instead. Plus a bunch of bonus logging and recovery (like when the filter gets lost).

To-Do

Cute Animal Picture

put a cute animal picture link inside the parentheses