Skip to content
This repository has been archived by the owner on Mar 18, 2020. It is now read-only.

Latest commit

 

History

History
100 lines (81 loc) · 3.15 KB

Notes.md

File metadata and controls

100 lines (81 loc) · 3.15 KB
  • how do i prevent new connections?

  • how to tell if a peer supports my protocol? (just attempt dial?)

  • clients are both dialing kitsunet at eachother

  • how will we ever get wrtc stable?

    • per-protocol connection limits
  • stream each peer's networkState to cnc

  • use peerBook for connections list libp2p.switch.muxedConn libp2p.getPeers (?)

  • on connect, start timeout to check for kitsunet connection

  • track pubsub

  • opened libp2p/js-libp2p#175

  • we want more low level hooks for rejecting connection attempts

  • how will we ever get wrtc stable?

    • per-protocol connection limits
  • network research

    • what to measure to determine network health?
    • what infrastructure to point at (instead of ipfs defaults)
    • how to stand up ws-star.cloud.ipfs.team
    • how do we limit peers to avoid crashing
  • metamask light client

    eth light client

    • GraphSync + selectors

    • implement custom protcols

      bridge (golang)

      • peer index
      • block syncer
      • state bridge
      • go-ipfs ipld selector alpha (handling) <--- daviddias
      • state prefetch
      • state transition (full)

      metamask (js) <--- daviddias

      • block tracking via ipns published head
      • ipld selector alpha (requesting)
      • broadcast new tx
      • log querying ????????
      • peering: bridge
      • block syncing

      light client perf hacks

      • eth_call proofs (eth_call as query)
      • pub/sub storage/logs on full node
      • extra-consensus geth bloom filter trie

      Better eth rpc

      • stream data (e.g. logs), with cancel (+ backpressure?)
      • selectors
      • query trace (anything sent message/eth to me)

      perf: ipld-resolver selector alpha peering: 1) bridge 2) metamask mesh new block + tx publishing coselector indexing tx -> block log querying, log -> tx