1. 11 Oct, 2021 1 commit
  2. 10 Feb, 2020 3 commits
    • Steven Allen's avatar
      0ab1fa18
    • Oli Evans's avatar
      feat: add peerlog plugin · edfe9c5e
      Oli Evans authored
      adds a plugin to log just peerIDs for nodes we connect to, to allow us to see how many unique peers a node connects to over time.
      
      It's set up a preloaded plugin, so it would be enabled by default. We may want to extract it to a seperate repo so we can make it an optional add on.
      
      **Usage**
      
      ```console
      $ GOLOG_FILE=~/peer.log IPFS_LOGGING_FMT=json ipfs daemon
      ```
      
      **output**
      
      ```json
      {"level":"info","ts":"2020-02-10T13:54:26.639Z","logger":"plugin/peerlog","caller":"peerlog/peerlog.go:51","msg":"connected","peer":"QmS2H72gdrekXJggGdE9SunXPntBqdkJdkXQJjuxcH8Cbt"}
      {"level":"info","ts":"2020-02-10T13:54:59.095Z","logger":"plugin/peerlog","caller":"peerlog/peerlog.go:56","msg":"disconnected","peer":"QmS2H72gdrekXJggGdE9SunXPntBqdkJdkXQJjuxcH8Cbt"}
      ```
      
      License: MIT
      Signed-off-by: default avatarOli Evans <oli@tableflip.io>
      edfe9c5e
    • Oli Evans's avatar
      wip: minimal plugin works · d83e07ea
      Oli Evans authored
      License: MIT
      Signed-off-by: default avatarOli Evans <oli@tableflip.io>
      d83e07ea
  3. 15 Aug, 2019 1 commit
  4. 05 Nov, 2018 1 commit
  5. 01 May, 2018 1 commit
  6. 21 Sep, 2017 1 commit
  7. 16 Jul, 2017 1 commit