Commit Graph

10760 Commits

Author SHA1 Message Date
Marek Kotewicz
f8bd6b9f63
Merge pull request #7101 from paritytech/secretstore_kovan
SecretStore: Kovan integration initial version
2017-12-29 05:31:51 -04:00
Tomasz Drwięga
48a15cecf8
Update bootnodes (#7363)
* Updating mainnet bootnodes.

* Add additional parity-beta bootnodes.

* Restore old parity bootnodes and update foudation bootnodes
2017-12-28 15:12:19 +01:00
Tomasz Drwięga
26e4fc680c Fix default CORS settings. (#7387)
* Fix default CORS settings.

* Add info regarding special options.
2017-12-27 18:56:06 +01:00
Kirill Pimenov
eb1bb8f5bd
Merge pull request #7390 from paritytech/td-version
Fix version
2017-12-27 13:38:03 +01:00
Svyatoslav Nikolsky
fc0eb600f3 checked_sub -> saturating_sub 2017-12-27 15:21:31 +03:00
Tomasz Drwięga
5b5dd85cf9
Fix lock file. 2017-12-27 11:32:05 +01:00
Tomasz Drwięga
74d2896397
Fix version. 2017-12-27 11:02:39 +01:00
Svyatoslav Nikolsky
2a73101fab updated doc 2017-12-27 11:44:47 +03:00
Svyatoslav Nikolsky
c0e7abcc81 Merge branch 'master' into secretstore_kovan 2017-12-27 11:44:28 +03:00
Nikolay Volf
82340c058a
Wasm runtime update (#7356)
* call augmented, wasm-tests updated

* fix all call tests

* fix comments
2017-12-22 21:54:35 +03:00
Marek Kotewicz
d80dd81d77
parity-version pr reopen (#7136)
* parity-version module split from util

removed unused util deps and features

trigger buildbot again

only kvdb links rocksdb

snappy linker issues

* rm snappy

* fixed old version imports
2017-12-22 09:37:39 -04:00
Marek Kotewicz
7c24d0665e
Merge pull request #7355 from paritytech/td-clippy
Get rid of clippy remainings.
2017-12-22 07:09:26 -04:00
Marek Kotewicz
6f516607a1
Merge pull request #7357 from paritytech/unwrap-or
Avoid using ok_or with allocated argument
2017-12-22 06:55:37 -04:00
Tomasz Drwięga
83447c201b Make accounts refresh time configurable. (#7345)
* Configurable accounts refresh time.

* Fix tests.
2017-12-22 06:33:49 +03:00
Nicolas Gotchac
276496fb4b Enable traces for DEV chain (#6949) (#7327) 2017-12-22 06:33:17 +03:00
Tomasz Drwięga
a5a7c1827a
Some more. 2017-12-21 15:37:10 +01:00
Yurii Rashkovskii
d5b81ead71 Problem: AuRa's unsafeties around step duration (#7282)
Firstly, `Step.duration_remaining` casts it to u32, unnecesarily
limiting it to 2^32. While theoretically this is "good enough" (at 3
seconds steps it provides room for a little over 400 years), it is
still a lossy way to calculate the remaining time until the next step.

Secondly, step duration might be zero, triggering division by zero
in `Step.calibrate`

Solution: rework the code around the fact that duration is
typically in single digits and never grows, hence, it can be represented
by a much narrower range (u16) and this highlights the fact that
multiplying u64 by u16 will only result in an overflow in even further
future, at which point we should panic informatively (if anybody's
still around)

Similarly, panic when it is detected that incrementing the step
counter wrapped around on the overflow of usize.

As for the division by zero, prevent it by making zero an invalid
value for step duration. This will make AuRa log the constraint
mismatch and panic (after all, what purpose would zero step duration
serve? it makes no sense within the definition of the protocol,
as finality can only be achieved as per the specification
if messages are received within the step duration, which would violate
the speed of light and other physical laws in this case).
2017-12-21 14:59:09 +01:00
Svyatoslav Nikolsky
9a5d0fed2c SecretStore: return error if http listner init has failed 2017-12-21 16:54:24 +03:00
NikVolf
516725abe4 ok_or -> ok_or_else 2017-12-21 16:50:58 +03:00
Svyatoslav Nikolsky
8d15338c84 SecretStore: removed extra-tracing 2017-12-21 16:20:34 +03:00
Svyatoslav Nikolsky
9104d4673c SecretStore: reorganize service contract read 2017-12-21 16:19:15 +03:00
Tomasz Drwięga
00883e477a
Get rid of clippy remainings. 2017-12-21 11:27:26 +01:00
Svyatoslav Nikolsky
ff094e0a03 Revert "SecretStore: get rid of read_logs in ServiceContract"
This reverts commit 6efca8860a.
2017-12-21 11:44:55 +03:00
Svyatoslav Nikolsky
ee1ce42546 SecretStore: extracted TasksQueue to separate file 2017-12-20 19:27:47 +03:00
Svyatoslav Nikolsky
b10d567386 SecretStore: ClusterSession::wait_session helper 2017-12-20 19:11:48 +03:00
Yurii Rashkovskii
ab2caee0a3 Problem: Cargo.toml file contains [project] key (#7346)
This key is not recognized by some software
(like carnix).

It is also not documented in http://doc.crates.io/manifest.html

Solution: rename this key to [package]
2017-12-20 16:41:52 +01:00
Svyatoslav Nikolsky
6efca8860a SecretStore: get rid of read_logs in ServiceContract 2017-12-20 17:22:28 +03:00
Svyatoslav Nikolsky
b7a744be59 SecretStore: require N confirmations in PendingRequestsIterator 2017-12-20 17:05:32 +03:00
Svyatoslav Nikolsky
d7650e2b9c SecretStore: TrustedClient 2017-12-20 16:02:21 +03:00
Svyatoslav Nikolsky
794de9f743 SecretStore: fixing grumbles (part1) 2017-12-20 14:50:46 +03:00
GitLab Build Bot
2f9532fe4b [ci skip] js-precompiled 20171220-114610 2017-12-20 11:47:16 +00:00
Jaco Greeff
2856305977
Fix broken flex modal layouts (#7343) 2017-12-20 12:36:04 +01:00
GitLab Build Bot
25a3c001ad [ci skip] js-precompiled 20171219-170319 2017-12-19 17:04:25 +00:00
Amaury Martiny
3fa7d09b5e Fix dappIcon & Fix Signer Pending (#7338)
* Move signerPending inside this repo

* Use latest version of dappIcon

* Tell babel to ignore node_modules in tests
2017-12-19 17:54:09 +01:00
GitLab Build Bot
6bc88664ce [ci skip] js-precompiled 20171219-140820 2017-12-19 14:09:23 +00:00
Jaco Greeff
bdd4f62023
Fix wallet token/badge icons not showing up (#7333)
* Fix wallet icons not showing up

* Fix tests

* Remove debug log (oops)
2017-12-19 14:58:30 +01:00
Marek Kotewicz
53dce9ff98
Merge pull request #7222 from ellaismer/ellaism
Add Ellaism coin in chain config
2017-12-19 09:34:21 -04:00
Marek Kotewicz
ee030cdcac
Merge pull request #7296 from paritytech/a5-kovan-bootnodes
Update bootnodes
2017-12-19 09:32:36 -04:00
GitLab Build Bot
4b016672f3 [ci skip] js-precompiled 20171219-102906 2017-12-19 10:30:17 +00:00
Dmitry Kashitsyn
5f82f0008f Adds personal_signTransaction RPC method (#6991)
* Adds personal_signTransaction RPC method

* Fixes sign_transaction() to return RichRawTransaction

* Adds test for invalid password

* Fix after rebase
2017-12-19 10:49:49 +01:00
Tomasz Drwięga
5713bb2099 Fix embeded transport. (#7326) 2017-12-19 10:34:34 +01:00
Tomasz Drwięga
9e7f5671a5
Merge branch 'master' into a5-kovan-bootnodes 2017-12-19 10:33:35 +01:00
Tomasz Drwięga
1d9206735b
Transaction Pool re-implementation (#6994)
* Initial design and some tests.

* Insertion & limits.

* Constructing pending block.

* Change to PendingIterator.

* Removing/cancelling transactions.

* Full status.

* Culling transactions.

* Use bigint.

* Add listener tests.

* Clean up listener types.

* Split into multiple files.

* Add copyright notice.

* Documentation.

* Don't require ownership.

* Fix cull to remove from by_hash.

* Make the queue generic over transactions.

* Address code review.

* Update wasm submodules.

* Fix review grumbles.

* Add some docs.
2017-12-19 10:20:49 +01:00
GitLab Build Bot
4971171e8a [ci skip] js-precompiled 20171218-132345 2017-12-18 13:24:58 +00:00
Jaco Greeff
5cb53ddd8d
UI package bump (#7318)
* Bump js-ui

* Fix css for status plugins
2017-12-18 12:53:40 +01:00
Robert Habermeier
f99b977399
Merge pull request #7011 from paritytech/whisper-testing
test framework and basic test for whisper
2017-12-18 11:48:20 +01:00
GitLab Build Bot
0637de7303 [ci skip] js-precompiled 20171218-102310 2017-12-18 10:24:14 +00:00
Jaco Greeff
3fd94dc40d
CI js-precompiled trigger (#7316) 2017-12-18 11:12:36 +01:00
GitLab Build Bot
a638019c17 [ci skip] js-precompiled 20171218-094355 2017-12-18 09:44:58 +00:00
Jaco Greeff
509038c987
Fix inject.js & Signer store duplication (#7299)
* Remove extension mappings

* Remove duplicated pending stores
2017-12-15 17:52:45 +01:00