Skip to content
  1. Sep 13, 2019
  2. Sep 12, 2019
  3. Sep 11, 2019
  4. Sep 10, 2019
  5. Sep 09, 2019
  6. Sep 07, 2019
  7. Sep 06, 2019
    • Sergey Pepyakin's avatar
      Update docs for the wasm executor crate (#3569) · 17e389db
      Sergey Pepyakin authored
      
      
      * Grammar.
      
      * Update docs for wasm executor.
      
      * Update core/executor/src/lib.rs
      
      Co-Authored-By: default avatarAndré Silva <[email protected]>
      17e389db
    • Caio's avatar
      Implement `Maybe*` marker traits using a declarative macro (#3557) · a66536cf
      Caio authored
      Although simple, the current `Maybe*` trait implementations are based on
      a manual approach that uses some code duplication. Now this duplication
      is removed using a declarative macro.
      Tested locally, the modification don't seem to affect building times.
      a66536cf
    • Arkadiy Paronyan's avatar
      Add transactions from retracted blocks back to the pool (#3562) · e169b372
      Arkadiy Paronyan authored
      * Add transactions from retracted blocks back to the pool
      
      * Line width
      
      * Reverse retracted
      e169b372
    • Kian Paimani's avatar
      Better testing for lock types in staking/democracy. (#3565) · 43c4ef5d
      Kian Paimani authored
      
      
      * Better testing for lock types in staking/democracy.
      
      * Update docs.
      
      * Update srml/executive/src/lib.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Update srml/executive/src/lib.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Fix test
      43c4ef5d
    • Max Inden's avatar
      core/authority-discovery: Enable authorities to discover each other (#3452) · 7fc21cea
      Max Inden authored
      With the *authority-discovery* module an authoritative node makes itself
      discoverable and is able to discover other authorities. Once discovered, a node
      can directly connect to other authorities instead of multi-hop gossiping
      information.
      
      1. **Making itself discoverable**
      
          1. Retrieve its external addresses
      
          2. Adds its network peer id to the addresses
      
          3. Sign the above
      
          4. Put the signature and the addresses on the libp2p Kademlia DHT
      
      2. **Discovering other authorities**
      
          1. Retrieve the current set of authorities
      
          2. Start DHT queries for the ids of the authorities
      
          3. Validate the signatures of the retrieved key value pairs
      
          4. Add the retrieved external addresses as ~reserved~ priority nodes to the
             peerset
      
      
      * node/runtime: Add authority-discovery as session handler
      
      The srml/authority-discovery module implements the OneSessionHandler in
      order to keep its authority set in sync. This commit adds the module to
      the set of session handlers.
      
      * core/network: Make network worker return Dht events on poll
      
      Instead of network worker implement the Future trait, have it implement
      the Stream interface returning Dht events.
      
      For now these events are ignored in build_network_future but will be
      used by the core/authority-discovery module in subsequent commits.
      
      * *: Add scaffolding and integration for core/authority-discovery module
      
      * core/authority-discovery: Implement module logic itself
      7fc21cea