Skip to content
  1. Sep 04, 2020
  2. Sep 02, 2020
  3. Sep 01, 2020
  4. Aug 31, 2020
  5. Aug 29, 2020
  6. Aug 28, 2020
    • Max Inden's avatar
      client/*: Treat protocol name as str and not [u8] (#6967) · beb74f49
      Max Inden authored
      * client/*: Treat protocol name as str and not [u8]
      
      Notification protocol names are in practice always valid utf8 strings.
      Instead of treating them as such in the type system, thus far they were
      casted to a [u8] at creation time.
      
      With this commit protocol names are instead treated as valid utf8
      strings throughout the codebase and passed as `Cow<'static, str>`
      instead of `Cow<'static, [u8]>`. Among other things this eliminates the
      need for string casting when logging.
      
      * client/network: Don't allocate when protocol name is borrowed
      beb74f49
    • Rakan Alhneiti's avatar
      Rename BareCryptoStore to CryptoStore · 0a97a024
      Rakan Alhneiti authored
      0a97a024