- Apr 22, 2019
-
-
郭光华 authored
-
mattrutherford authored
* change NetworkState from string to json in telemetry
-
- Apr 19, 2019
-
-
郭光华 authored
* Fix a bug about rpc call panic * Update code from review * Add database block number limit issue
-
cheme authored
* Do not allow malleability in odd slice padding. * align dep
-
Marek Kotewicz authored
-
- Apr 17, 2019
-
-
* grandpa: initial implementation of minimal grandpa worker * grandpa: extract grandpa observer future to function * grandpa: add test for observer * grandpa: start observer if no local key is defined * grandpa: add minor comments * grandpa: observer: log invalid commit * grandpa: observer: persist voter set state on authority change and pause * grandpa: observer: use commit processing callback * grandpa: keep run_grandpa to avoid breaking public api * grandpa: use grandpa::process_commit_validation_result * grandpa: use finality-grandpa 0.7.2
-
Bastian Köcher authored
We should not test debug output, especially when it can change.
-
Pierre Krieger authored
-
- Apr 16, 2019
-
-
Marek Kotewicz authored
-
Bastian Köcher authored
* Adds deposit event benchmark * Add `StorageValue::append` `StorageValue::append` can be used by types that implement `EncodeAppend` to speed-up situations where you just want to append an item to storage without wanting to decode all previous items. * Stay at 100 events * Fixes compilation * Use correct year and increase spec version
-
Tomasz Drwięga authored
* Disable cors in dev mode, * Whitelist substrate-ui. * Fix build. * Update docs.
-
cheme authored
-
asynchronous rob authored
* send neighbor packets in more generic way * integrate periodic neighbor-packet rebroadcaster * integrate reporting * attach callbacks to commit messages for rebroadcasting and reporting * Tests for commit relay * crunch up some nice warnings * exit-scope sub-futures of grandpa * address small grumbles * some changes to commit handling
-
- Apr 15, 2019
-
-
Bastian Köcher authored
* Remove peerset debug output test We should not test debug output, especially when it can change. * Update lock file
-
-
-
DemiMarie-parity authored
* Add basic BABE consensus type * Update core/consensus/babe/slots/Cargo.toml Co-Authored-By: DemiMarie-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 af53d762 . * `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: DemiMarie-parity <[email protected]> * Remove wrongly added file * Fix copyright notice Co-Authored-By: DemiMarie-parity <[email protected]> * Bump `impl_version` and `spec_version` * Fix deprecation version; remove spurious carets * Update Cargo.lock * Update dependencies
-
- Apr 14, 2019
-
-
Xiliang Chen authored
-
Kian Peymani authored
* Remove unused imports/ doc comments * Better doc for node template.
-
- Apr 12, 2019
-
-
Svyatoslav Nikolsky authored
-
- Apr 11, 2019
-
-
Andrew Jones authored
* WIP: convert client error * Remove error_chain for client error * Ignore tx-pool error deprecation warning * Update Cargo.lock files * Fix tests * Increment impl_version * Derive From impls, remove allow(missing_docs) * Remove space * Remove redundant into()s * Blockchain Error source * Bump impl version
-
-
Luke Schoen authored
-
- Apr 10, 2019
-
-
Tomasz Drwięga authored
* Introduce CORS CLI flags. * Fix test.
-
Arkadiy Paronyan authored
* Apply negative rating on explicit ban * Update core/network/src/service.rs Co-Authored-By: arkpar <[email protected]>
-
Luke Schoen authored
Consistency with Parity Ethereum CLI Light option https://github.com/paritytech/parity-ethereum/blob/master/parity/cli/mod.rs#L263
-
Marek Kotewicz authored
* Reuse slots data structure also for peerset discovered * updated peerset docs
-
- Apr 09, 2019
-
-
Pierre Krieger authored
* Add warning when using default protocol ID * Update core/service/src/lib.rs
-
- Apr 08, 2019
-
-
* 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 comm...
-
-
- Apr 05, 2019
-
-
Pierre Krieger authored
* Fix state inconsistency between handler and behaviour * Fix the error! being in the wrong place
-
Marek Kotewicz authored
* Peerset::discovered accepts many peer ids * Improve tracing in peerset
-
- Apr 04, 2019
-
-
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
-
Arkadiy Paronyan authored
-
André Silva authored
-
Bastian Köcher authored
Both functions will ignore any overlayed changes and access the backend directly.
-
- Apr 03, 2019
-
-
Bastian Köcher authored
-
Svyatoslav Nikolsky authored
* cache changes trie config in db storage * Update core/client/db/src/lib.rs Co-Authored-By: svyatonik <[email protected]> * Update core/client/db/src/lib.rs Co-Authored-By: svyatonik <[email protected]>
-
Bastian Köcher authored
* Add some tests * More tests * Switch to `derive(Encode, Decode)` for `Call` * Update lock files * Simplify the macro cases
-
- Apr 02, 2019
-
-
asynchronous rob authored
* Consensus status packet * Allow for repropagation after status * More generic gossip * add a basic view struct and gossip module * move gossip stuff to the gossip module * integrate view into gossip * some reshuffling * alter rules for keeping one commit at a time in view * Allow sending addressed messages * don't cast outgoing votes if we know that we voted before * Handle one hop messages * initial run at polite grandpa * build WASM * handle neighbor messages * refactor validator's internals into an Inner struct * gossip only knows to keep or discard messages. optimize should_send_to * Periodic rebroadcast * implement `should_send_to` and message_expired * track peers' best received commit height * Pass peer id to topic steam * kill rebroadcasting network * Notify about existing peers * clean up network APIs a bunch * implement gossip::send_message for direct messages * refactor network trait * implement gossip::send_message for direct messages * get all non set-change tests passing * treat unknown rebroadcasts as broadcasts * get all other main tests passing * remove unimplemented test * everything compiles * treat unknown rebroadcasts as broadcasts * Rebradcast interval * Apply suggestions from code review Style Co-Authored-By: arkpar <[email protected]> * Style * some module docs * address some grumbles + docs * allow rebroadcast every few minutes * send_topic && generic context * some tests for view change * more grumbles & tests * use send_peer
-