* Move the is_offline and is_major_syncing logic to service.rs
* Move the ImportQueue to service.rs
* Remove stop() and abort()
* Add some more documentation to sync.rs
* proof on child trie
* higher level api for child storage proof
* boilerplate for proof from light fetch
* actually check proof on light fetch
* Do not break former encoding
* tabify
* tabify2
* Add child trie root tx to full_storage_root transaction.
* Shorten long lines.
* Temp rename for audit
* Make full_storage a trait method
* Name back and replace some code with full_storage where it looks fine.
* fix indentations, remove unused import
* flush child root to top when calculated
* impl +1
* Rewrite the PSM
* Fix disconnecting from reserved peers
* Minor adjustements
* Address review
* Reputation changes adjustements
* More adjustements
* Adjust all reputations
* More fixes and adjustments
* Improve proof
* Remove the possible panic
* Make sure reputation reaches 0
* Add index caching to election
* Initial draft of the new phragmen API.
* Port post-processing to the new API.
* Fix tests and accuracy.
* Final fixes.
* Unify convert namings.
* Remove todo.
* Some typos.
* Bump.
* Add extended balance type doc.
* A bit more sophisticated weight compensation.
* Fix review feedbacks.
* Bump.
* Final updates
* Add a basic PR template
* Update
* Update
* Another iteration.
* Fixes.
* Apply suggestions from code review
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
* Be not rude
* Label only if you have permissions
`impl_runtime_apis!` is not only implementing the apis, it also calls
them internally and thus generates the warning. So, we just allow
depracted calls in the generated code.
* Don't pass validators' public keys with attestations
* Update statement-table's Misbehaviour typedef
* Update network/router
* Expand MessageValidationData
* Try to fix tests
* Extend ApiContext
* Remove 'index_mapping' from the SessionParams
* Construct index_mapping from authorities
* Move index_mapping to TableContext
* Add test for index_mapping order
* Remove the Incoming enum
* Use tokio in the protocol background thread
* Some internal protocol logic simplifications
* Merge the protocol thread with the network thread
* More the status_sinks logic to Service
* Remove FromNetworkMsg
* ignore light nodes in ConsensusGossip
* fixed method name
* temporary disabled penalty when block is announced
* remove traces of BLOCK_ANNOUNCE_REPUTATION_CHANGE
* Reformulate random seed to be more random
- First 80 random values come from cycling the incomplete series (
instead of filling with zeroes)
- Calculate random material each usage (use a single amalgamated
ring buffer to store them for avoiding 81 lookups each time)
- Mutate inputs by hashing each with:
- its index (into the 81)
- an additional "subject" key provided by caller
This keeps the final output low-influence while still allowing
it to be used as the seed to independent contexts. (Hashing the
result to give the final seed is no better than using parent_hash).
* Docs
* Bump runtime
* Update notes
* Remove feature(alloc)
* Update srml/system/src/lib.rs
Co-Authored-By: gavofyork <github@gavwood.com>
* Show more information when too many addresses are reported
* Update core/network-libp2p/src/behaviour.rs
Co-Authored-By: tomaka <pierre.krieger1708@gmail.com>
* Update README for PoC-4
The README was a bit out-of-date. PoC-4 is out (and PoC-3 no longer works with the Alexander Testnet, at least for me). I worked with Logan to come up with the new instructions for building and tested them on OS X.
Additionally, I added a link to the Testnet Faucet as an alternative way to get Testnet DOTs.
* Update README.adoc
Co-Authored-By: laboon <laboon@users.noreply.github.com>
* Update README.adoc
Co-Authored-By: laboon <laboon@users.noreply.github.com>