Skip to content
  1. Apr 16, 2019
  2. Apr 15, 2019
    • Denis_P's avatar
      set size as a global var (#2280) · 7e1ac697
      Denis_P authored
      7e1ac697
    • Bastian Köcher's avatar
      Remove peerset debug output test (#2267) · c11afbee
      Bastian Köcher authored
      * Remove peerset debug output test
      
      We should not test debug output, especially when it can change.
      
      * Update lock file
      c11afbee
    • Arkadiy Paronyan's avatar
      Disable gossip for peers running old version (#2245) · e30b3621
      Arkadiy Paronyan authored and asynchronous rob's avatar asynchronous rob committed
      e30b3621
    • André Silva's avatar
      2fad6d80
    • DemiMarie-parity's avatar
      Add basic BABE consensus type (#2165) · ae916c6c
      DemiMarie-parity authored
      
      
      * Add basic BABE consensus type
      
      * Update core/consensus/babe/slots/Cargo.toml
      
      Co-Authored-By: default avatarDemiMarie-parity <[email protected]>
      
      * Fix parameterization and run `rustfmt`
      
      * Respond to review comments
      
      * Update various Cargo.lock files
      
      * Revert "Update various Cargo.lock files"
      
      This reverts commit af53d7624752a744320e9cbb25749fdd8e6f46d2.
      
      * `BabeSealSignature` → `BabeSeal`
      
      * Move slot code to its own crate
      
      This was highly non-trivial, due to cyclic dependencies.
      
      * Remove redundancy between AuRa and BABE
      
      Some of the code duplication was removed using a macro.
      
      * Fix build error
      
      * Avoid non-`#[doc(hidden)]` re-exports
      
      Also, bump some library versions in `Cargo.toml`.
      
      * Remove dead code in AuRa
      
      * Remove impl_slot macro
      
      It was more trouble than it was worth.
      
      Also, delete useless dependencies on Serde.
      
      * AuRa and BABE need different DB keys
      
      * Bring back `aura::Network`, but deprecate it.
      
      * Improve docs and add `slot_duration` inherent method
      
      * Add docs to `substrate_consensus_aura::SlotDuration`
      
      * Add missing documentation and #![forbid(missing_docs, unsafe_code)]
      
      * Add a #![forbid(missing_docs)]
      
      * Remove dependency of `test-runtime` on `slots`
      
      * Update core/consensus/babe/src/lib.rs
      
      Co-Authored-By: default avatarDemiMarie-parity <[email protected]>
      
      * Remove wrongly added file
      
      * Fix copyright notice
      
      Co-Authored-By: default avatarDemiMarie-parity <[email protected]>
      
      * Bump `impl_version` and `spec_version`
      
      * Fix deprecation version; remove spurious carets
      
      * Update Cargo.lock
      
      * Update dependencies
      ae916c6c
  3. Apr 14, 2019
  4. Apr 12, 2019
  5. Apr 11, 2019
  6. Apr 10, 2019
  7. Apr 09, 2019
  8. Apr 08, 2019
    • André Silva's avatar
      grandpa: Voter persistence and upgrade to finality-grandpa v0.7 (#2139) · a1e15ae5
      André Silva authored and asynchronous rob's avatar asynchronous rob committed
      * core: grandpa: migrate to grandpa 0.7
      
      * core: grandpa: store current round votes and load them on startup
      
      * core: grandpa: resend old persisted votes for the current round
      
      * core: grandpa: store base and votes for last completed round
      
      * core: grandpa: fix latest grandpa 0.7 changes
      
      * core: grandpa: update to grandpa 0.7.1
      
      * core: grandpa: persist votes for last two completed rounds
      
      * core: grandpa: simplify VoterSetState usage
      
      * core: grandpa: use Environment::update_voter_set_state
      
      * core: grandpa: fix aux_schema test
      
      * core: grandpa: add docs
      
      * core: grandpa: add note about environment assumption
      
      * core: grandpa: don't update voter set state on ignored votes
      
      * core: grandpa: add test for v1 -> v2 aux_schema migration
      
      * core: grandpa: add test for voter vote persistence
      
      * core: grandpa: use grandpa 0.7.1 from crates.io
      
      * core: grandpa: use try_init in test
      
      * core: grandpa: add comment about block_import in test
      
      * core: grandpa: avoid cloning HasVoted
      
      * core: grandpa: add missing docs
      
      * core: grandpa: cleanup up can_propose/prevote/precommit
      a1e15ae5
    • Gregory Terzian's avatar
      remove clone bound on specialization in testnet factory (#2157) · ed3ae4ac
      Gregory Terzian authored and asynchronous rob's avatar asynchronous rob committed
      ed3ae4ac
  9. Apr 06, 2019
  10. Apr 05, 2019
  11. Apr 04, 2019
    • Marek Kotewicz's avatar
      simplification of peerset api (#2123) · 1142bcde
      Marek Kotewicz authored
      * Introduction of PeersetHandle
      
      * integrate PeersetHandle with the rest of the codebase
      
      * fix compilation errors
      
      * more tests for peerset, fixed overwriting bug in add_reserved_peer
      
      * Slots data structure and bugfixes for peerset
      
      * bend to pressure
      
      * updated lru-cache to 0.1.2 and updated linked-hash-map to 0.5.2
      
      * peerset discovered list is now a LinkedHashMap
      
      * fix review suggestions
      
      * split back Peerset and PeersetHandle
      
      * test for Peerset::discovered
      
      * applied review suggestions
      
      * fixes to peerset::incoming
      
      * peerset disconnects are all instantaneous
      
      * instantaneous drop in peerset finished
      
      * Peerset::set_reserved_only can also reconnect nodes
      
      * Peerset scores cache uses lru-cache
      
      * remove redundant function call and comment from Peerset::on_set_reserved_only
      
      * add_peer returns SlotState enum
      
      * apply review suggestions
      
      * is_reserved -> is_connected_and_reserved
      1142bcde
    • Arkadiy Paronyan's avatar
      Disconnect on protocol timeout (#2212) · 301844dd
      Arkadiy Paronyan authored
      301844dd
    • André Silva's avatar
    • Bastian Köcher's avatar
      Introduce `original_storage` and `original_storage_hash` (#2211) · 6920b169
      Bastian Köcher authored
      Both functions will ignore any overlayed changes and access the backend
      directly.
      6920b169
    • Xiliang Chen's avatar
      code cleanup (#2206) · cb7a8161
      Xiliang Chen authored
      cb7a8161
  12. Apr 03, 2019