Tomasz Drwięga
56311cf0b5
Merge branch 'master' into td-strict-config
2018-01-03 11:07:08 +01:00
Tomasz Drwięga
e439eae54f
Enable strict config parsing.
2018-01-03 11:05:53 +01:00
André Silva
e114b0b28d
Upgrade to RocksDB 5.8.8 and tune settings to reduce space amplification ( #7348 )
...
* kvdb-rocksdb: update to RocksDB 5.8.8
* kvdb-rocksdb: tune RocksDB options
* Switch to level-style compaction
* Increase default block size (16K), and use bigger blocks for HDDs (64K)
* Increase default file size base (64MB SSDs, 256MB HDDs)
* Create a single block cache shared across all column families
* Tune compaction settings using RocksDB helper functions, taking into account
memory budget spread across all columns
* Configure backgrounds jobs based on the number of CPUs
* Set some default recommended settings
* ethcore: remove unused config blockchain.db_cache_size
* parity: increase default value for db_cache_size
* kvdb-rocksdb: enable compression on all levels
* kvdb-rocksdb: set global db_write_bufer_size
* kvdb-rocksdb: reduce db_write_bufer_size to force earlier flushing
* kvdb-rocksdb: use master branch for rust-rocksdb dependency
2018-01-03 11:00:37 +01:00
Marek Kotewicz
6a01113610
Merge pull request #7412 from paritytech/td-trace-failed-calls
...
Fix tracing failed calls.
2018-01-02 15:43:33 +01:00
Marek Kotewicz
f3e7d94fc4
Merge pull request #7368 from paritytech/td-future-blocks
...
Wait for future blocks in AuRa
2018-01-02 14:21:50 +01:00
Tomasz Drwięga
c6aea0cae6
Move StateDB to RwLock
2018-01-02 09:43:08 +01:00
Tomasz Drwięga
67a74e155d
Fix tracing failed calls.
2017-12-29 18:11:55 +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
Tomasz Drwięga
a15f62d907
Merge branch 'master' into td-future-blocks
2017-12-27 11:01:08 +01: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
Tomasz Drwięga
d6f160e868
Don't check max.
2017-12-21 16:16:55 +01:00
Tomasz Drwięga
7d4e4c7a62
Mark future blocks as temporarily invalid.
2017-12-21 15:34:27 +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
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
Sergey Pepyakin
66b2db0137
Update gas values
2017-11-21 17:03:14 +03:00
Sergey Pepyakin
7564b05572
Make storage_read/write return nothing
2017-11-21 17:03:13 +03:00
Sergey Pepyakin
3e4e00fc6a
spaces to tabs.
2017-11-21 15:39:34 +03:00
Svyatoslav Nikolsky
b5fad300ba
Merge branch 'master' into secretstore_kovan
2017-11-20 19:58:01 +03:00
Svyatoslav Nikolsky
af409eba07
SecretSTore: fix after merge from secretstore_kovan_1_8
2017-11-20 19:41:53 +03:00
Svyatoslav Nikolsky
3945a29ee6
SecretStore: mapping requests to KeyServer + requests retry
2017-11-20 19:03:31 +03:00
Svyatoslav Nikolsky
6618827d1a
SecretStore: cleaning up service contract listener
2017-11-20 19:03:22 +03:00
Svyatoslav Nikolsky
56875a83b3
SecretStore: Kovan flush2
2017-11-20 19:03:06 +03:00
Nikolay Volf
9798e3c45a
Update panic_payload.rs
2017-11-20 18:12:31 +03:00
Sergey Pepyakin
3d0616c1ae
Parse payload from panic
...
Impl payload
empty str is none
Update tests
Clean
Update wasm-tests
2017-11-20 13:09:57 +03:00
Robert Habermeier
81212c5031
Merge branch 'master' into upload-crates
2017-11-17 16:42:41 +01:00
Wei Tang
b35cc3f716
Change reward calculation to only use divide once
2017-11-16 12:34:04 +08:00
Wei Tang
2ca57d7cdb
ECIP-1039: Monetary policy rounding specification
...
Fix potential rounding errors between geth and parity in the long-term future.
2017-11-16 12:25:05 +08:00
Marek Kotewicz
605cd5cd9f
Merge pull request #7006 from paritytech/no-uncles
...
Disable uncles by default
2017-11-15 23:51:49 +01:00
Marek Kotewicz
0230a44b15
Merge pull request #7040 from paritytech/squashed_network_error_chain
...
squashed ethcore-network changes which introduce error-chain
2017-11-15 18:18:25 +01:00
debris
a22c48b6b0
removed redundant imports
2017-11-14 17:47:41 +01:00
Svyatoslav Nikolsky
abfb9fccd3
SecretStore: Kovan integration initial commit
2017-11-14 14:26:31 +03:00
debris
3cf52dac59
use error-chain in ethcore-network
2017-11-13 16:48:58 +01:00
Sergey Pepyakin
bcdfc50a0b
pwasm-std update ( #7018 )
2017-11-13 00:21:15 +03:00
Robert Habermeier
ec5519ccd1
rename hash crate to keccak-hash
2017-11-10 20:08:28 +01:00
Robert Habermeier
2288bcd1b4
Merge branch 'master' of github.com:paritytech/parity into upload-crates
2017-11-10 18:42:18 +01:00
Robert Habermeier
be092e7c09
prepare cargo configuration for upload of crates
2017-11-10 18:31:31 +01:00
Alexey
df49b4b065
Merge pull request #6967 from paritytech/wasm-elog
...
Events in WASM runtime
2017-11-10 18:03:32 +03:00
keorn
261c0d5368
no default uncles
2017-11-09 23:56:02 +00:00
Robert Habermeier
d701ed7262
Merge pull request #6874 from paritytech/light-local-tx
...
Get local transactions by hash in the light client
2017-11-07 11:23:40 -06:00
Robert Habermeier
acdec22d58
Merge branch 'master' into warn-blacklisted
2017-11-07 16:56:57 +01:00
Robert Habermeier
4a07010539
Merge branch 'master' into light-local-tx
2017-11-07 16:56:28 +01:00
Arkadiy Paronyan
85465fc0b1
Skip nonce check for gas estimation ( #6997 )
2017-11-07 09:21:30 +01:00
NikVolf
bed82e5cc0
elog (events) for wasm runtime
2017-11-05 18:54:35 +03:00
Tomasz Drwięga
ffee6aacff
Creating pending block with all transactions from the queue ( #6942 )
...
* Allow to include all queue transactions in pending block.
* Fix tests.
2017-11-03 15:20:20 +01:00
Dmitry Kashitsyn
713bba00ac
Removes FUTURE_QUEUE_LIMITS_SHIFT ( #6962 )
2017-11-02 15:06:17 +01:00
Nikolay Volf
f72858ee0a
Add hint in ActionParams for splitting code/data ( #6957 )
...
* Action params and embedded params handling
* fix namespaces
2017-11-02 12:49:57 +01:00
Tomasz Drwięga
0a69d5ac4c
Return decoded seal fields. ( #6932 )
2017-11-01 11:29:03 +01:00
Tomasz Drwięga
b861ad37a4
Reserve nonces for signing ( #6834 )
...
* Nonce future - reserve and dispatch
* Single thread nonce tests
* Track status of reserved nonces.
* Initialization of nonce reservations.
* Prospective Signer
* Fix cli tests.
2017-11-01 11:23:18 +01:00
Marek Kotewicz
39e27076ad
Merge pull request #6842 from paritytech/td-evm-json
...
Fix JSON tracing for sub-calls.
2017-10-29 21:47:14 -07:00
Tomasz Drwięga
8dfdebc2a2
Refactor static context check in CREATE. ( #6886 )
...
* Refactor static context check in CREATE.
* Fix wasm.
2017-10-25 11:27:18 +02:00
David Dorgan
bdf1e6afcc
Revert "Sync parity-ewf with parity"
...
This reverts commit f7ba063b22
.
2017-10-24 13:31:58 +01:00
David Dorgan
f7ba063b22
Sync parity-ewf with parity
2017-10-24 12:31:50 +01:00
Tomasz Drwięga
b98150526c
Fix serialization of non-localized transactions ( #6868 )
...
* Fix serialization of non-localized transactions.
* Return proper SignedTransactions representation.
2017-10-24 12:13:00 +02:00
Tomasz Drwięga
1253a5c577
Merge branch 'master' into td-evm-json
2017-10-24 09:16:51 +02:00
Robert Habermeier
dd13526f6c
warn when blacklisted account present in store
2017-10-24 09:04:28 +02:00