- Apr 05, 2019
-
-
Bastian Köcher authored
Instead of calculating the `storage_root` a second time, we just can take the `storage_root` from the new header.
-
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.
-
Xiliang Chen authored
-
- Apr 03, 2019
-
-
Arkadiy Paronyan authored
-
gabriel klawitter authored
-
-
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
-
Andrew Jones authored
-
Andrew Jones authored
* Replace Vec<u8> with [u8; 32] for contract storage key * Read storage keys from sandbox memory into fixed size buffer * Increment `impl_version`
-
thiolliere authored
* implement contract events * update runtime * renaming * update test code hash * improve complexity details * add deposit event base cost * add test * Revert "add deposit event base cost" This reverts commit 58ec010c. * update test * Revert "update test" This reverts commit 6fe61a59. * Revert "Revert "add deposit event base cost"" This reverts commit 145e8a9b. * Fix format a bit
-
asynchronous rob authored
* ensure imbalances are properly accounted for * bump runtime version * Update node/runtime/src/lib.rs
-
- 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
-
Kian Peymani authored
* Nasty patch for election * cleanup * a few more comments. * minor fixes * Improve comment
-
asynchronous rob authored
* aura API defaults to rejecting old seals * build node-cli
-
Niklas Adolfsson authored
-
cheme authored
* no_std trie compile in test_runtime (require to set nightly feature due to the way hashbrown currently works). * No nightly with hashmap_core. * using crate elastic-array * switch to publish trie crates * fix default array decl * bump impl_version for ci * set all semver when possible wasm, and remove redundant code. * Actually test use_trie function * impl version +1 * Bump impl version
-
gabriel klawitter authored
-
thiolliere authored
* use parity-codec-derive from parity-codec everywhere * codec v3.2 -> v3.3 * skip phantom when deriving event * fix decl_module call * update impl version of node + builds
-
Denis_P authored
* new Dockerfile, new cache * typo * test build with cache * Update .gitlab-ci.yml Co-Authored-By: TriplEight <[email protected]> * Update .gitlab-ci.yml Co-Authored-By: TriplEight <[email protected]> * Update .gitlab-ci.yml Co-Authored-By: TriplEight <[email protected]> * cleanup * done * cosmetics * removed unneded lines
-
Bastian Köcher authored
* Implement support for renaming runtime api functions * Redelete the wasm files * FIxes test * Fix test correctly... * Bring back old `authorities` * Tag as deprecated * Fixes compilation on WASM * Add missing method implementations * Fixes tests * Increase `spec_version`
-
Pierre Krieger authored
-
- Apr 01, 2019
-
-
asynchronous rob authored
-
Wei Tang authored
-
thiolliere authored
* refactor * fix accountinfo creation + impl mem_stored * add comment * improve syntax Co-Authored-By: thiolliere <[email protected]> * rename current_mem_stored -> storage_size * more explaination + more readable code * bump impl version of node + builds * delete builds
-
Gav Wood authored
-
Gav Wood authored
-
Bastian Köcher authored
This functionality was added by me for Cumulus, but after better understanding Cumulus, this will not be required.
-
Gav Wood authored
* Bump versionb globally * Rebuild and fix * Rename fixes * Rebuild * Minor fix and code formatting for validator election * Fix tests * More test fixes * Fix several bugs in phragmen elections. * Rebuild, remove pointless closures
-
- Mar 31, 2019
-
-
Stanislav Tkach authored
* Use [u8; 4] for well known cache keys * Use type alias
-
Pierre Krieger authored
* Use libp2p 0.6.0 instead of a custom branch * Add support for mDNS * Fix tests * Nit
-
- Mar 30, 2019
-
-
Pierre Krieger authored
-
- Mar 29, 2019
-
-
DemiMarie-parity authored
-
Amar Singh authored
* first try * resolve description of grandpa and add links to relevant docs * Update srml/consensus/src/lib.rs Co-Authored-By: AmarRSingh <[email protected]> * Can do a relative link here * Update srml/consensus/src/lib.rs Co-Authored-By: AmarRSingh <[email protected]> * Update srml/consensus/src/lib.rs Co-Authored-By: AmarRSingh <[email protected]> * Update srml/consensus/src/lib.rs Co-Authored-By: AmarRSingh <[email protected]> * formatting/style/semantics * missed conflict * style * Update srml/consensus/src/lib.rs * Update srml/consensus/src/lib.rs
-
Stanislav Tkach authored
* Move authorities interface from Core to consensus f * notify all caches of block insert + create with up-to-date best_fin * merged authorities_are_cached from light_grandpa_import2 * Add ProvideCache trait * Create helper function for 'get_cache' * Fix some formatting * Bump impl version * Resolve wasm conflicts * Apply review comments * Use try_for_each * Move authorities interface from Core to consensus f * notify all caches of block insert + create with up-to-date best_fin * merged authorities_are_cached from light_grandpa_import2 * Add ProvideCache trait * Create helper function for 'get_cache' * Fix some formatting * Bump impl version * Resolve wasm conflicts * Apply review comments * Use try_for_each * Move authorities interface from Core to consensus f * notify all caches of block insert + create with up-to-date best_fin * merged authorities_are_cached from light_grandpa_import2 * Add ProvideCache trait * Create helper function for 'get_cache' * Fix some formatting * Bump impl version * Resolve wasm conflicts * Apply review comments * Use try_for_each * Increment impl_version * Update lib.rs
-