Commit Graph

14554 Commits

Author SHA1 Message Date
Robert Habermeier 934829c052 get everything building 2018-08-14 18:59:32 +02:00
Robert Habermeier cfdda87d44 point things to substrate git repo 2018-08-14 18:53:12 +02:00
Tomasz Drwięga 6c335cb198 RPC: Pending Extrinsics (#563)
* Expose extrinsics in pool.

* Add test.

* Use latest transaction pool.

* Fix compilation.
2018-08-14 18:51:30 +02:00
Tomasz Drwięga 41b7b2a943 RPC: Pending Extrinsics (#563)
* Expose extrinsics in pool.

* Add test.

* Use latest transaction pool.

* Fix compilation.
2018-08-14 18:51:30 +02:00
Robert Habermeier e24537e653 move over some files 2018-08-14 18:49:38 +02:00
Robert Habermeier a079be3e64 Update some outdated slashing tests in runtime (#565)
* fix session slashing test

* fix staking slashing tests
2018-08-14 14:27:34 +02:00
Pierre Krieger 68c1fc0b66 Update libp2p (#559) 2018-08-14 13:14:04 +02:00
Tomasz Drwięga a5a4144ef0 Reject too large transactions (#558)
* Fix is_valid condition when removing transactions from the pool.

* Less verbosity.

* Reject too large transctions from the pool.

* Bring back the warning level.

* Fix link.
2018-08-14 13:13:18 +02:00
Tomasz Drwięga b580d38e51 Reject too large transactions (#558)
* Fix is_valid condition when removing transactions from the pool.

* Less verbosity.

* Reject too large transctions from the pool.

* Bring back the warning level.

* Fix link.
2018-08-14 13:13:18 +02:00
Guanqun Lu e83d85f620 cli: add min-peers and max-peers (#557) 2018-08-14 13:09:01 +02:00
Tomasz Drwięga 08852a1f00 RPC: query historical storage entries (#537)
* Query storage changes from-to block.

* Rewrite to use hashes instead of numbers. Add tests.
2018-08-14 12:52:49 +02:00
Gav Wood 6aa506e2d1 Less verbosity (#546) 2018-08-13 17:52:54 +02:00
Gav Wood c7548977c3 Less verbosity (#546) 2018-08-13 17:52:54 +02:00
Svyatoslav Nikolsky c346af29e0 Fetching storage proofs by light client (#252)
* storage proofs

* fixed grumbles

* Update lib.rs
2018-08-12 12:48:40 +02:00
ddorgan 10e00a4388 Gitlab CI build file for linux. (#552) 2018-08-12 11:14:59 +02:00
Robert Habermeier 74260a0847 Vote out offline authorities (#524)
* notify when an authority appears to have missed their block

* Runtime API

* offline tracker

* Move to consensus

* generating reports of offline indices

* stubbed-out evaluation logic

* Slashing data pathwat

* usize -> u32

* Slash bad validators.

* update to rhododendron 0.3

* fix compilation of polkadot-consensus

* Support offline noting in checked_block

* include offline reports in block authorship voting

* do not vote validators offline after some time

* add test for offline-tracker

* fix test build

* bump spec version

* update wasm

* Only allow validators that are possible to slash

* Fix grumble

* More idiomatic

* New Wasm.

* update rhododendron

* improve logging and reduce round time exponent

* format offline validators in ss58
2018-08-11 11:29:30 +02:00
Robert Habermeier e8f21cf0c9 Vote out offline authorities (#524)
* notify when an authority appears to have missed their block

* Runtime API

* offline tracker

* Move to consensus

* generating reports of offline indices

* stubbed-out evaluation logic

* Slashing data pathwat

* usize -> u32

* Slash bad validators.

* update to rhododendron 0.3

* fix compilation of polkadot-consensus

* Support offline noting in checked_block

* include offline reports in block authorship voting

* do not vote validators offline after some time

* add test for offline-tracker

* fix test build

* bump spec version

* update wasm

* Only allow validators that are possible to slash

* Fix grumble

* More idiomatic

* New Wasm.

* update rhododendron

* improve logging and reduce round time exponent

* format offline validators in ss58
2018-08-11 11:29:30 +02:00
Robert Habermeier 22c9ac76aa format offline validators in ss58 2018-08-10 18:40:39 +02:00
Gav e61657cb5c Less verbosity 2018-08-10 18:16:53 +02:00
Robert Habermeier 539650c063 Slashing for voted-offline validators. (#541)
[Backport] Vote out offline authorities
2018-08-10 16:12:17 +02:00
Robert Habermeier 5547b2797b fix block body fetch for availability pruning (#539) 2018-08-10 16:02:07 +02:00
Robert Habermeier c2b20fe5b0 fix block body fetch for availability pruning (#539) 2018-08-10 16:02:07 +02:00
Arkadiy Paronyan a330f2e058 Continue sync after ancestry search (#538) 2018-08-10 15:29:10 +02:00
Guanqun Lu 6d6e7d9049 Docs Typo Fixes (#534) 2018-08-10 14:03:21 +02:00
Robert Habermeier b2451ca6cc don't wait for all futures to resolve before shutdown 2018-08-10 13:57:26 +02:00
Robert Habermeier f2c19dce6e don't wait for all futures to resolve before shutdown (#536) 2018-08-10 13:56:54 +02:00
Robert Habermeier 4e95cefab9 don't wait for all futures to resolve before shutdown (#536) 2018-08-10 13:56:54 +02:00
Pierre Krieger 3128f258ba Update libp2p and some log (#532)
* Update libp2p and some log and yamux

* Replace trace! with info!

* Only have one log message on disconnect
2018-08-10 13:00:16 +02:00
Gav Wood 8f43742c35 Mh public key for telemetry (#526)
* Expose node public key to telemetry

* unwrap to expect

* Make sure all the zeros are there

* Cleanup
2018-08-10 12:06:36 +02:00
Gav Wood 350f2e6631 Td bps (#527)
* Add blocks per second to informant.

* Add some colours.
2018-08-10 11:18:02 +02:00
Arkadiy Paronyan 9d88d868dd Reserved peers CLI flag (#528) 2018-08-09 20:52:56 +02:00
Gav Wood ea8caded64 Remove safe-mix (#521) 2018-08-09 15:26:01 +02:00
Gav Wood 36122833a1 Remove safe-mix (#521) 2018-08-09 15:26:01 +02:00
agryaznov b7de4be612 README: fixed typo in docker run command (#518) 2018-08-09 11:55:16 +02:00
Tomasz Drwięga 71bf98ac22 Merge *_at methods. (#515) 2018-08-09 10:12:33 +02:00
Chevdor e7539ca444 New flags to listen to all interfaces (#495)
* Add new flag to allow listening to all interfaces

Fix #439
Fix #494

* Fix capitalisation
2018-08-09 09:00:38 +02:00
Sergey Pepyakin dce3e8c477 If contract reaches max depth, return Err (#503) 2018-08-08 20:11:30 +02:00
Pierre Krieger 6f4a401afa Some networking cleanups (#504)
* Some networking cleanups

* Fix tests

* Fix wrong port in new_local
2018-08-08 20:05:40 +02:00
Tomasz Drwięga 5fe73de49f Derivable Encode & Decode (#509)
* Derive macro for simple structs.

* Derive Encode/Decode wherever we can.

* Derive for enums.

* Support discriminant.

* Get rid of some repetition.

* Support custom indices.

* Derive codec for enums wherever possible.

* Fix no_std

* WASM rebuilt

* Avoid excessive import.

* Fix compilation.

* Address review grumbles.
2018-08-08 17:47:22 +02:00
Tomasz Drwięga 96b3a8f92f Derivable Encode & Decode (#509)
* Derive macro for simple structs.

* Derive Encode/Decode wherever we can.

* Derive for enums.

* Support discriminant.

* Get rid of some repetition.

* Support custom indices.

* Derive codec for enums wherever possible.

* Fix no_std

* WASM rebuilt

* Avoid excessive import.

* Fix compilation.

* Address review grumbles.
2018-08-08 17:47:22 +02:00
André Silva 6eece0174e substrate: return Option in all storage related RPC methods (#510)
* substrate: return Option in all storage related RPC methods

* substrate: remove unused imports

* substrate: remove unused NoValueForKey error variant

* substrate: don't return Option on code_at since code is always defined
2018-08-08 17:46:41 +02:00
Pierre Krieger 9b0c23ac86 Build with locked Cargo.lock on CI (#514) 2018-08-08 17:01:57 +02:00
Sergey Pepyakin 66432490fa Place call data into a newly allocated pages (#502) 2018-08-07 16:40:25 +02:00
Sergey Pepyakin 917709dda0 Place call data into a newly allocated pages (#502) 2018-08-07 16:40:25 +02:00
Robert Habermeier fc16b193de Fix some formatting grumbles (#501) 2018-08-06 14:42:39 +03:00
Robert Habermeier 34b4cb8320 Fix some formatting grumbles (#501) 2018-08-06 14:42:39 +03:00
Guanqun Lu dd2f74a406 remove the extra ? in the license header (#500) 2018-08-06 13:27:14 +02:00
Guanqun Lu a19087eb89 remove the extra ? in the license header (#500) 2018-08-06 13:27:14 +02:00
Pierre Krieger 11b9496a6a NetworkService::new starts the network (#462) 2018-08-06 11:57:08 +02:00
Robert Habermeier 7143e85f39 Availability/Extrinsic store (#465) 2018-08-06 11:55:55 +02:00