1. 21 Aug, 2021 1 commit
  2. 11 Aug, 2021 1 commit
  3. 29 Jun, 2021 1 commit
  4. 30 Mar, 2021 1 commit
    • Marten Seemann's avatar
      fix staticcheck errors (#191) · ea8b3691
      Marten Seemann authored
      * run go mod tidy
      
      * omit receiver name if unused
      
      * remove unused type testkey in tests
      
      * fix duplicate import of go-multiaddr
      
      * fix use of deprecated peer.IDB58{Encode,Decode}
      
      * use bytes.Equal instead of bytes.Compare
      
      * fix unnecessary assigments to blank identifier
      
      * use time.Until instead of t.Sub(time.Now())
      
      * fix use of deprecated go-multihash.ID
      
      * add missing error check in envelope test
      
      * fix error check in tests
      ea8b3691
  5. 03 Mar, 2020 1 commit
  6. 02 Oct, 2019 1 commit
  7. 14 Aug, 2019 1 commit
    • Alex Stokes's avatar
      Compare multihash `Code` to `IDENTITY` when extracting public key · 686c1736
      Alex Stokes authored
      This PR is a non-substantive change with the goal of making this method
      `ExtractPublicKey` from a `peer.ID` clearer to the reader. This goal is
      accomplished by using the full name of the identity hash code `IDENTITY` instead
      of the deprecated `ID` code. This change makes its clearer to the reader that
      there is a trivial way to compute the public key given the digest. Without this
      change it is easy to confuse `ID` with a concept relating to peer IDs (and thus
      implying this function somehow computes a hash pre-image to get the
      corrresponding public key.
      686c1736
  8. 22 May, 2019 1 commit