Skip to content
  1. Jul 06, 2020
    • Toralf Wittner's avatar
      Ignore `Multiaddr`s with DNS protocol components. · 80a166fb
      Toralf Wittner authored
      Issue #5756 recommends not resolving DNS names to prevent leaking DNS
      configuration. In order to achieve this the following modifications are
      applied:
      
      - `Multiaddr` values received via libp2p-identify are ignored if they
        contain a DNS protocol component.
      - In `Discovery` `Multiaddr` values with a DNS protocol component are
        not inserted into the DHT unless the command-line option `discover-local`
        is present which allows non-global IP addresses and DNS names in the DHT
        and is meant for site-local deployments.
      - In `authority-discovery` we filter `Multiaddr` values received from
        the DHT and ignore those with and DNS protocol component.
      80a166fb
  2. Jul 04, 2020
    • André Silva's avatar
      babe: report equivocations (#6362) · 18334ee1
      André Silva authored
      * slots: create primitives crate for consensus slots
      
      * offences: add method to check if an offence is unknown
      
      * babe: initial equivocation reporting implementation
      
      * babe: organize imports
      
      * babe: working equivocation reporting
      
      * babe: add slot number to equivocation proof
      
      * session: move duplicate traits to session primitives
      
      * babe: move equivocation stuff to its own file
      
      * offences: fix test
      
      * session: don't have primitives depend on frame_support
      
      * babe: use opaque type for key owner proof
      
      * babe: cleanup client equivocation reporting
      
      * babe: cleanup equivocation code in pallet
      
      * babe: allow sending signed equivocation reports
      
      * node: fix compilation
      
      * fix test compilation
      
      * babe: return bool on check_equivocation_proof
      
      * babe: add test for equivocation reporting
      
      * babe: add more tests
      
      * babe: add test for validate unsigned
      
      * babe: take slot number in generate_key_ownership_proof API
      
      * babe: add benchmark for equivocation proof checking
      
      * session: add benchmark for membership proof checking
      
      * offences: fix babe benchmark
      
      * babe: add weights based on benchmark results
      
      * babe: adjust weights after benchmarking on reference hardware
      
      * babe: reorder checks in check_and_report_equivocation
      18334ee1
    • Wei Tang's avatar
      pallet-evm: return Ok(()) when EVM execution fails (#6493) · e42d046d
      Wei Tang authored
      
      
      * pallet-evm: return Ok(()) when EVM execution fails
      
      * Bump spec version
      
      * Init test module
      
      * Add fail_call_return_ok test
      
      * Fix tests and use full match pattern
      
      Co-authored-by: default avatarGav Wood <[email protected]>
      e42d046d
  3. Jul 03, 2020
  4. Jul 02, 2020
  5. Jul 01, 2020
  6. Jun 30, 2020
  7. Jun 29, 2020
  8. Jun 28, 2020
  9. Jun 26, 2020