1. Aug 25, 2020
  2. Aug 24, 2020
  3. Aug 21, 2020
  4. Aug 19, 2020
  5. Aug 18, 2020
  6. Aug 17, 2020
  7. Aug 15, 2020
  8. Aug 14, 2020
    • Max Inden's avatar
      client/authority-discovery: Revert query interval change (#6897) · eec7d713
      Max Inden authored
      Revert the accidental query interval change from every one minute back
      to every 10 minutes.
      eec7d713
    • Roman Borschel's avatar
      Update to libp2p-0.23. (#6870) · 13b0650c
      Roman Borschel authored
      * Update to libp2p-0.23.
      
      Thereby incorporate bandwidth measurement along the
      lines previously done by libp2p itself.
      
      * Tweak dependencies for wasm32 compilation.
      
      For wasm32 we need to enable unstable features to
      make `task::Builder::local` available.
      
      * Simplify dependencies.
      
      * Simplify.
      
      Leave the calculation of bytes sent/received per second
      to the outer layers of the code, subject to their own
      individual update intervals.
      
      * Cleanup
      
      * Re-add lost dev dependency.
      
      * Avoid division by zero.
      
      * Remove redundant metric.
      
      * Enable sending of noise legacy handshakes.
      
      * Add comment about monotonic gauge.
      
      * CI
      13b0650c
    • Alan Sapede's avatar
      Adds debug logs to EVM frame (#6887) · 0e703a50
      Alan Sapede authored
      0e703a50
  9. Aug 13, 2020
  10. Aug 12, 2020
    • Bastian Köcher's avatar
      Make `HexDisplay` useable in `no_std` (#6883) · ed4f7a11
      Bastian Köcher authored
      Actually I use this quite often when debugging some WASM bugs and there
      is no harm in enabling it by default. Before I just always copied it
      everytime I needed it.
      ed4f7a11
    • Max Inden's avatar
      client/authority-discovery: Introduce AuthorityDiscoveryService (#6760) · 473a23f4
      Max Inden authored
      * client/authority-discovery: Rename AuthorityDiscovery to XXXWorker
      
      * client/authority-discovery: Introduce AuthorityDiscoveryService
      
      Add a basic `AuthorityDiscoveryService` implementation which enables
      callers to get the addresses for a given `AuthorityId` from the local
      cache.
      
      * client/authority-discovery: Split into worker and service mod
      
      Move `Service` and `Worker` to their own Rust modules resulting in the
      following file structure.
      
      ├── build.rs
      ├── Cargo.toml
      └── src
          ├── error.rs
          ├── lib.rs
          ├── service.rs
          ├── tests.rs
          ├── worker
          │   ├── addr_cache.rs
          │   ├── schema
          │   │   └── dht.proto
          │   └── tests.rs
          └── worker.rs
      
      * client/authority-discovery: Cache PeerId -> AuthorityId mapping
      
      * client/authority-discovery: Update priority group on interval
      
      Instead of updating the authority discovery peerset priority group each
      time a new DHT value is found, update it regularly on an interval.
      
      This removes the need for deterministic random selection. Instead of
      trying to return a random stable set of `Multiaddr`s, the `AddrCache`
      now returns a random set on each call.
      
      * client/authority-discovery: Implement Service::get_authority_id
      
      * client/authority-discovery: Use HashMap instead of BTreeMap
      
      * client/authority-discovery: Rework priority group interval
      
      * client/authority-discovery: Fix comment
      
      * bin/node/cli: Update authority discovery constructor
      
      * client/authority-discovery: Fuse from_service receiver
      
      * client/authority-discovery: Remove Rng import
      
      * client/authority-discovery: Ignore Multiaddr without PeerId
      
      * client/authority-discovery/service: Add note on returned None
      
      * client/authority-discovery/addr_cache: Replace double clone with deref
      473a23f4