Tomasz Drwięga
c6aea0cae6
Move StateDB to RwLock
2018-01-02 09:43:08 +01:00
Marek Kotewicz
2586eaef92
Merge pull request #7359 from VladLupashevskyi/transactions-permission-contract-fix
...
Added checking tx-type using transactions permission contract for miners
2017-12-29 11:46:10 +01:00
debris
7b40f1cfe9
Merge branch 'master' into dircrate2
2017-12-29 10:45:11 +01:00
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
Vlad Lupashevskyi
45116099c5
Merge remote-tracking branch 'remotes/upstream/master' into transactions-permission-contract-fix
2017-12-28 12:56:21 +02:00
Svyatoslav Nikolsky
c0e7abcc81
Merge branch 'master' into secretstore_kovan
2017-12-27 11:44:28 +03:00
Nicolas Ochem
2e12a2db50
Fix #6209 - introduce standalone dir crate
...
* created the dir crate in util
* moved code from ethstore/src/dir/paths.rs to dir crate
* rename dir module in ethstore to accounts_dir to distinguish it
from the dir crate
* changes after @tomusdrw on #6952
2017-12-26 00:54:34 -08:00
Vlad Lupashevskyi
31ffb467f5
Passing verify tx errors to the caller
2017-12-23 00:00:27 +02:00
Vlad Lupashevskyi
0d5603eece
Use is_err instead of match
2017-12-22 23:14:24 +02:00
Vlad Lupashevskyi
d6ae6e315e
Check tx-type before importing transactions to the queue
2017-12-22 22:50:09 +02:00
Vlad Lupashevskyi
9d35cc1881
"from" replaced with ".into()"
2017-12-22 22:48:37 +02: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
Nicolas Gotchac
276496fb4b
Enable traces for DEV chain ( #6949 ) ( #7327 )
2017-12-22 06:33:17 +03:00
Vlad Lupashevskyi
24378f3c44
Added checking tx-type using transactions permission contract for miners
2017-12-21 22:42:36 +02: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
Marek Kotewicz
53dce9ff98
Merge pull request #7222 from ellaismer/ellaism
...
Add Ellaism coin in chain config
2017-12-19 09:34:21 -04:00
Tomasz Drwięga
9e7f5671a5
Merge branch 'master' into a5-kovan-bootnodes
2017-12-19 10:33:35 +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
Tomasz Drwięga
c731b5ef62
Update kovan HF block number. ( #7259 )
2017-12-12 16:03:28 +01:00
André Silva
fcddc7751a
Reduce max block timestamp drift to 15 seconds ( #7240 )
...
* reduce max block timestamp drift to 15 seconds
* add test for block timestamp validation within allowed drift
2017-12-08 11:43:31 +01:00
Robert Habermeier
3cb4d81eb1
Fix aura difficulty race ( #7198 )
...
* Fix Aura difficulty race
* fix test key
* extract out score calculation
* fix build
2017-12-07 12:17:11 +01:00
Svyatoslav Nikolsky
5d792324e6
Merge branch 'master' into secretstore_kovan
2017-12-06 19:56:54 +03:00
Ellaismer
dd0fba96a4
Add registrar for ellaism
...
Provided by @5chdn
2017-12-06 22:46:19 +08:00
Ellaismer
2d3073fc02
Remove compatibility fields to pass chainspec test for Ellaism
2017-12-06 21:01:03 +08:00
Ellaismer
dcf6e1d83d
Add basic Elliasm config
2017-12-06 20:46:24 +08:00
Takehiro Miyao
3284020b04
mistake comment in calc difficulty ( #7154 )
2017-12-05 16:06:04 +01:00
Tomasz Drwięga
7e3872fddc
Maximum uncle count transition ( #7196 )
...
* Enable delayed maximum_uncle_count activation.
* Fix tests.
* Defer kovan HF.
2017-12-05 15:57:45 +01:00
Robert Habermeier
e85c98e09a
Merge pull request #7075 from miyao-gmo/feature/estimate_gas_limit
...
escape inifinite loop in estimte_gas
2017-12-04 15:29:23 +01:00
Arkadiy Paronyan
dde6baedec
Removed ethcore-util dependency from ethcore-network ( #7180 )
...
* Removed ethcore-util dependency
* Removed snappy
2017-12-02 10:08:04 +01:00
NikVolf
4f12e1dab1
pwasm-run-test utility upgrade
2017-12-01 16:41:09 +03:00
Takehiro Miyao
ad01f99c44
upper limit is gas limit * 10 in estimate gas
2017-12-01 11:12:11 +00:00
Marek Kotewicz
e8787c1acf
Merge pull request #7142 from paritytech/pwasm-run
...
WASM test runner utility
2017-11-27 10:16:28 +01:00
Sergey Pepyakin
359b4de3ff
WASM Remove blockhash error ( #7121 )
...
* Remove blockhash error
* Update tests.
2017-11-26 23:18:58 +03:00
NikVolf
13f3113826
pwasm-run-test utility
2017-11-26 00:06:57 +03:00
Marek Kotewicz
68db425fe8
Merge pull request #7067 from sorpaas/patch-1
...
ECIP-1039: Monetary policy rounding specification
2017-11-24 15:49:33 +01:00
Wei Tang
8e89be775c
Wrong era used in ECIP1017 test
...
It is era 49, and should correspond to ECIP1017/ECIP1039's era 50.
2017-11-24 20:17:26 +08:00
Wei Tang
bef85fb876
Add test for ECIP1017 at block 250000000
2017-11-24 19:31:48 +08:00
Svyatoslav Nikolsky
333e0e1637
SecretStore: publish key only if requested through contract
2017-11-24 10:26:24 +03:00
Svyatoslav Nikolsky
12e9c1cebc
Merge branch 'master' into secretstore_kovan
2017-11-23 07:27:13 +03:00
Svyatoslav Nikolsky
ea9c8a174c
SecretStore: started adding tests for ServiceContractListener
2017-11-22 17:31:34 +03:00
Sergey Pepyakin
3716b09b2e
Update wasm-tests
2017-11-21 17:03:14 +03:00