Skip to content
  1. Nov 22, 2019
  2. Nov 21, 2019
  3. Nov 20, 2019
  4. Nov 19, 2019
  5. Nov 18, 2019
    • Bryant Eisenbach's avatar
      Add serde for Signature types (#4109) · 566328cd
      Bryant Eisenbach authored
      * refactor: Added `from_slice()` method to ECDSA signatures
      
      * doc: Modified ECDSA signature docstring to note Recovery ID
      
      * feat: Implemented serde for Signature types
      
      Note: using hexstring encoding
      
      * feat: Automatically derive serde for MultiSignature
      
      * refactor: Convert hex bytes using try_from instead of from_slice
      
      Avoids panicking in critical code
      
      Implemented from Peer Review
      
      * clean: spaces -> tabs
      
      * test: Added tests for Signature serialization
      
      Added dependency on serde_json for testing purposes
      566328cd