Skip to content
  1. Jan 03, 2020
    • Max Inden's avatar
      *: Register network event stream for authority discovery (#4344) · c5fe4295
      Max Inden authored
      Previously one would create a sender and receiver channel pair, pass the
      sender to the `build_network_future` through the service builder and
      funnel network events returned from polling the network service into the
      sender to be consumed by the authority discovery module owning the
      receiver.
      
      With recent changes it is now possible to register an `event_stream`
      with the network service directly, thus one does not need to make the
      detour through the `build_network_future`.
      c5fe4295
    • Nikolay Volf's avatar
      Update kvdb-* and trie (#4483) · f0e21eff
      Nikolay Volf authored
      f0e21eff
    • Max Inden's avatar
      client/authority-discovery: Limit number of connections to authorities (#4487) · 5cf682ce
      Max Inden authored
      * client/authority-discovery: Limit number of connections to authorities
      
      Instead of connecting to all sentry nodes of all authorities, with this
      patch the authority discovery module does the following:
      
      - Choose one sentry node per authority at random.
      
      - Choose MAX_NUM_AUTHORITY_CONN out of the above at random.
      
      The module uses randomness to prevent hot spots, e.g. all nodes trying
      to connect to a single node. If the authority discovery module would
      choose the nodes to connect to at random on each new address that it
      learns of, the node would go through a lot of connection churn.  Instead
      it creates a random seed at start up and uses this seed for its RNG on
      each update cycle.
      
      * client/authority-discovery: Extract address cache into own module
      
      * client/authority-discovery/src/addr_cache: Add basic unit tests
      
      * client/authority-discovery: Replace unwrap with expect on [u8] cmp
      
      * .maintain/sentry-node/docker-compose.yml: Prefix endpoint flags
      
      * client/authority-discovery/src/addr_cache: Use sort_unstable and cmp
      
      * client/authority-discovery: Use BTreeMap in addr_cache for sorted iter
      
      To reduce connection churn it is preferrable to have `get_subset` of the
      `addr_cache` to return the same result on repeated calls. `get_subset`
      iterates a map. To make the process of iteration deterministic, use a
      `BTreeMap` instead of a `HashMap`.
      5cf682ce
    • Denis_P's avatar
      triggers srml-contracts-waterfall ci (#4490) · fa1e42a2
      Denis_P authored
      * triggers srml-contracts-waterfall ci
      
      * only nightly and merges
      
      * substrate does not use tager cache so far
      fa1e42a2
    • Tomasz Drwięga's avatar
      Fix `period` of offchain transactions. (#4521) · 59868693
      Tomasz Drwięga authored
      * Fix period of offchain transactions.
      
      * Calculate period dynamically.
      
      * Convert to u64.
      59868693
    • Bastian Köcher's avatar
    • ddorgan's avatar
      a45aa6e1
    • Pierre Krieger's avatar
      0b606613
  2. Jan 02, 2020
  3. Dec 31, 2019
  4. Dec 30, 2019
  5. Dec 29, 2019
    • Bastian Köcher's avatar
      Make wasm-builder remove invalid members (#4510) · 43e34bb9
      Bastian Köcher authored
      * Make wasm-builder remove invalid members
      
      Wasm-builder now removes members that point to packages that do not
      exist anymore or that were renamed. Up to now, the build would fail and
      required manual fixing.
      
      * Fixes build
      43e34bb9
  6. Dec 28, 2019
    • Bastian Köcher's avatar
      Fix cli for structopt 0.3.7 and pin to that version (#4509) · 56355879
      Bastian Köcher authored
      * Fix cli for structopt 0.3.7 and pin to that version
      
      This is just some hotfix to make everything compile. In the future it
      will require another pr to not depend on internals of StructOpt, but
      that will probably also require some additions to StructOpt itself. To
      not break the code again with another StructOpt, this also pins the
      StructOpt version.
      
      * Fix benches
      
      * Fix for fix
      56355879
    • Denis_P's avatar
      less dupes, cleanup (#4491) · 9876d3dd
      Denis_P authored
      * build node job is separated from build substrate; less dupes, cleanup
      
      * it's not effective yet to split these jobs
      9876d3dd
  7. Dec 27, 2019
  8. Dec 26, 2019
  9. Dec 25, 2019
  10. Dec 24, 2019
  11. Dec 23, 2019
  12. Dec 22, 2019
  13. Dec 21, 2019
  14. Dec 20, 2019