-
Notifications
You must be signed in to change notification settings - Fork 8
Add active peer probing and reputation caching #53
Copy link
Copy link
Closed
Labels
P1High: Likely tackled by core team if no one steps upHigh: Likely tackled by core team if no one steps updif/hardHaving worked on the specific codebase is importantHaving worked on the specific codebase is importantkind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing feature
Metadata
Metadata
Assignees
Labels
P1High: Likely tackled by core team if no one steps upHigh: Likely tackled by core team if no one steps updif/hardHaving worked on the specific codebase is importantHaving worked on the specific codebase is importantkind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing feature
Type
Fields
Give feedbackNo fields configured for issues without a type.
Someguy should be able to cache (#25) peerbook info returned on
/routing/v1/providers, and build reputation over time for returned PeerIDs.Goals
/wss,/tls/../ws|http,/https,/webrtc*,/webtransport)/tls/../httpand/httpsis a trustless gateway, and addtransport-ipfs-gateway-httptoProtocolslist in respective peeripfs id --peerid-base base36 QmbNSJi9X4Phf5G6YgmVYWZiCzraLp5Ta4GT2XYHPwzE5Sproduces[/ip4/3.75.101.246/udp/4001/quic] QUIC draft-29 has been removed, QUIC (RFC 9000) is accessible with /quic-v1and[/ip4/3.75.101.246/tcp/4001] failed to negotiate security protocol: read tcp4 192.168.50.102:4001Implementation ideas
I imagine we could start with something built on top of peerbook system where every PeerID has additional attributes:
last time PeerID was returnedwith/routing/v1/responsehow many times PeerID was returnedwith/routing/v1/responselast time PeerID was probed/last time PeerID was seen onlineActive probing could be async, going over peers with
last time PeerID was seen onlineolder than N (6?) hours and trying to connect to them and