Commit Graph

10710 Commits

Author SHA1 Message Date
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
NikVolf 516725abe4 ok_or -> ok_or_else 2017-12-21 16:50:58 +03:00
Tomasz Drwięga 00883e477a
Get rid of clippy remainings. 2017-12-21 11:27:26 +01: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
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
Robert Habermeier 8f6f6a068e detect different node, same-key signing in aura (#7245)
* detect different node, same-key signing in aura

* reduce scope of warning
2017-12-15 16:29:23 +01:00
5chdn 4a9a0f6f55
Update kovan boot nodes 2017-12-15 15:29:48 +01:00
5chdn 0a808a1ac2
Improve chainspec formatting 2017-12-15 15:29:09 +01:00
Konstantin bb1e03e9cb new warp enodes (#7287)
* new warp enodes

* added one more warp enode; replaced spaces with tabs
2017-12-15 15:19:06 +01:00
Jaco Greeff c9865e00a5
CSS fixes for v1 (#7285)
* CSS fixes for v1 (Thanks @ngotchac)

* Remove hack line completely

* Comment around Chrome upgrade
2017-12-15 14:48:10 +01:00
Jaco Greeff 6587dfecc0
Wallet subscriptions & refresh (#7283)
* Update to @parity/api 2.1.7

* Update packages

* Update after signer API alias
2017-12-15 12:48:51 +01:00
GitLab Build Bot 9821fd92e4 [ci skip] js-precompiled 20171214-193220 2017-12-14 19:33:27 +00:00
Jaco Greeff a4959c8509
Update inject web3 dependencies (#7286)
* Remove wallet web3 dependency

* Update shell web3 dependency
2017-12-14 17:32:59 +01:00
Jaco Greeff 4d28facf5e
Some padding around dapp image (#7276) 2017-12-13 14:49:40 +01:00
Jaco Greeff 053c009cdb
Expand available middleware methods (#7275)
* Expand available methods

* Updated with expanded groupings
2017-12-13 12:02:31 +01:00
Nicolas Gotchac 82d7fc54b3 Inject parity script to all dapps // Expand dapps to any ZIP file (#7260)
* Inject Parity script to all HTML dapps pages

* Small glitch

* Add injection test

* Add Special GHH commit value for serving ZIP files as DAPPS

* Refactor GithubDapp fetcher

* PR Grumbles
2017-12-13 09:56:35 +03:00
GitLab Build Bot f3297dd44a [ci skip] js-precompiled 20171212-180737 2017-12-12 18:08:59 +00:00
Amaury Martiny 1851453f00 New Homepage (#7266)
* Purify dappCard style

* Add support for pinning apps

* Add a section to show pinned apps

* Cleaner code

* Bump dependency versions

* Small tweaks

* Avoid double scrollbars

* Small style updates

* Bump parity/shared version
2017-12-12 17:35:21 +01:00
Tomasz Drwięga c731b5ef62 Update kovan HF block number. (#7259) 2017-12-12 16:03:28 +01:00
Afri Schoedon 0a7f27cb11
CHANGELOG for 1.7.10 and 1.8.4 (#7265)
* Add Changelog for 1.7.10

* Add Changelog for 1.8.4

* Add missing links

* Fix broken link
2017-12-12 15:37:10 +01:00
GitLab Build Bot 140a78fe0b [ci skip] js-precompiled 20171212-132048 2017-12-12 13:21:48 +00:00
Jaco Greeff 777bce8a13
Remove extraneous id hashing (#7269)
* Remove extraenous id hashing

* Update with latest js-shared
2017-12-12 12:09:24 +01:00
Jaco Greeff 11b0cb8da8
Simplify status + content display (#7264) 2017-12-12 11:25:57 +01:00
GitLab Build Bot 50ed1f9d1e [ci skip] js-precompiled 20171211-175904 2017-12-11 18:00:10 +00:00
Jaco Greeff 9202ccccf7
UI redirect to 127.0.0.1 when localhost requested (#7236)
* JS redirect from localhost -> 127.0.0.1

* ui-no-validation for 127.0.0.1

* Update with tests
2017-12-11 16:50:20 +01:00