Commit Graph

72 Commits

Author SHA1 Message Date
Afri Schoedon
31720e6151
stable backports for 1.11.10 (#9228)
* parity-version: bump stable to 1.11.9

* Fix compilation error on nightly rust (#8707)

On nightly rust passing `public_url` works but that breaks on stable. This works for both.

* parity-version: bump stable to 1.11.10

* Check if synced when using eth_getWork (#9193) (#9210)

* Check if synced when using eth_getWork (#9193)

* Don't use fn syncing

* Fix identation

* Fix typo

* Don't check for warping

* rpc: avoid calling queue_info twice on eth_getWork

* Fix potential as_usize overflow when casting from U256 in miner (#9221)

* Allow old blocks from peers with lower difficulty (#9226)

Previously we only allow downloading of old blocks if the peer
difficulty was greater than our syncing difficulty. This change allows
downloading of blocks from peers where the difficulty is greater then
the last downloaded old block.

* Update Dockerfile (#9242)

* Update Dockerfile

fix Docker build

* fix dockerfile paths: parity -> parity-ethereum (#9248)

* Update tobalaba.json (#9313)

* Light client `Provide default nonce in transactions when it´s missing` (#9370)

* Provide `default_nonce` in tx`s when it´s missing

When `nonce` is missing in a `EthTransaction` will cause it to fall in
these cases provide `default_nonce` value instead!

* Changed http:// to https:// on Yasm link (#9369)

Changed http:// to https:// on Yasm link in README.md

* Provide `default_nonce` in tx`s when it´s missing

When `nonce` is missing in a `EthTransaction` will cause it to fall in
these cases provide `default_nonce` value instead!

* Address grumbles

* ethcore: kovan: delay activation of strict score validation (#9406)

* Use impl Future in the light client RPC helpers (#8628)

* Better support for eth_getLogs in light mode (#9186)

* Light client on-demand request for headers range.

* Cache headers in HeaderWithAncestors response.

Also fulfills request locally if all headers are in cache.

* LightFetch::logs fetches missing headers on demand.

* LightFetch::logs limit the number of headers requested at a time.

* LightFetch::logs refactor header fetching logic.

* Enforce limit on header range length in light client logs request.

* Fix light request tests after struct change.

* Respond to review comments.

* Propagate transactions for next 4 blocks. (#9265)

Closes #9255

This PR also removes the limit of max 64 transactions per packet, currently we only attempt to prevent the packet size to go over 8MB. This will only be the case for super-large transactions or high-block-gas-limit chains.

Patching this is important only for chains that have blocks that can fit more than 4k transactions (over 86M block gas limit)

For mainnet, we should actually see a tiny bit faster propagation since instead of computing 4k pending set, we only need `4 * 8M / 21k = 1523` transactions.

Running some tests on `dekompile` node right now, to check how it performs in the wild.

* ethcore: fix pow difficulty validation (#9328)

* ethcore: fix pow difficulty validation

* ethcore: validate difficulty is not zero

* ethcore: add issue link to regression test

* ethcore: fix tests

* ethcore: move difficulty_to_boundary to ethash crate

* ethcore: reuse difficulty_to_boundary and boundary_to_difficulty

* ethcore: fix grumbles in difficulty_to_boundary_aux
2018-08-30 19:59:01 +02:00
Afri Schoedon
c754a028e0
Backports to 1.11.8-stable (#9144)
* parity-version: bump stable to 1.11.8

* ci: update version strings for snaps

* Be more graceful on Aura difficulty validation (#9164)

* Be more graceful on Aura difficulty validation

* test: rejects_step_backwards

* test: proposer_switching

* test: rejects_future_block

* test: reports_skipped

* test: verify_empty_seal_steps

* parity: fix UserDefaults json parser (#9189)

* parity: fix UserDefaults json parser

* parity: use serde_derive for UserDefaults

* parity: support deserialization of old UserDefault json format

* parity: make UserDefaults serde backwards compatible

* parity: tabify indentation in UserDefaults

* Fix bugfix hard fork logic (#9138)

* Fix bugfix hard fork logic

* Remove dustProtectionTransition from bugfix category

EIP-168 is not enabled by default

* Remove unnecessary 'static

* Disable per-sender limit for local transactions. (#9148)

* Disable per-sender limit for local transactions.

* Add a missing new line.

* rpc: fix is_major_importing sync state condition (#9112)

* rpc: fix is_major_importing sync state condition

* rpc: fix informant printout when waiting for peers

* fix verification in ethcore-sync collect_blocks (#9135)

* docker: update hub dockerfile (#9173)

* update Dockerfile for hub

update to Ubuntu Xenial 16.04
fix cmake version

* docker: fix tab indentation in hub dockerfile

* ethcore: update to parity-wasm 0.31

* rpc: fix broken merge
2018-07-25 13:55:43 +02:00
Afri Schoedon
085035fa2e
Backports to 1.11.7-stable (#9093)
* parity-version: stabelize 1.11

* parity-version: bump stable to 1.11.7

* Don't fetch snapshot chunks at random (#9088)

* Offload cull to IoWorker.

* Limit the number of transactions in pending set (#8777)

* Unordered iterator.

* Use unordered and limited set if full not required.

* Split timeout work into smaller timers.

* Avoid collecting all pending transactions when mining

* Remove println.

* Use priority ordering in eth-filter.

* Fix ethcore-miner tests and tx propagation.

* Review grumbles addressed.

* Add test for unordered not populating the cache.

* Fix ethcore tests.

* Fix light tests.

* Fix ethcore-sync tests.

* Fix RPC tests.

* Make sure to produce full blocks.

* Update hidapi, fixes #7542 (#9108)

* docker: add cmake dependency (#9111)

* Fix miner tests.

* Revert "Make sure to produce full blocks."

This reverts commit b12d5920b2.

* Update light client hardcoded headers (#9098)

* Insert Kovan hardcoded headers until #7690241

* Insert Kovan hardcoded headers until block 7690241

* Insert Ropsten hardcoded headers until #3612673

* Insert Mainnet hardcoded headers until block 5941249

* Make sure to produce full blocks. (#9115)

* Insert ETC (classic) hardcoded headers until block #6170625 (#9121)

* fix verification in ethcore-sync collect_blocks (#9135)

* `evm bench` fix broken dependencies (#9134)

* `evm bench` use valid dependencies

Benchmarks of the `evm` used stale versions of a couple a crates that
this commit fixes!

* fix warnings
2018-07-17 09:30:59 +02:00
Denis S. Soldatov aka General-Beck
1ab06ce2d2 fix docker build (#8462) 2018-04-23 15:36:08 +02:00
Pierre Krieger
27c32d3629
Tweaks and add a Dockerfile for Android (#8036) 2018-04-05 14:38:50 +02:00
Marek Kotewicz
ea6b0ec164
remove evmjit (#8229)
* removed not working evmjit, closes #8192 closes #6205

* removed evmjit from build scripts

* fixed parity compile error

* removed evmjit cli options

* fixed invalid test config files
2018-04-04 18:07:49 +09:00
Denis S. Soldatov aka General-Beck
801fcf3271 fix docker build in master 2017-07-18 16:17:33 +03:00
Denis S. Soldatov aka General-Beck
df144a6fcb fix docker build 2017-07-18 16:12:16 +03:00
Denis S. Soldatov aka General-Beck
1f0f27bc65 Dockerfile for hub.docker.com 2017-05-26 15:18:17 +03:00
Marek Kotewicz
92f5aa7e10 improved dockerfile builds (#5659)
* docker builds current branch instead of cloning the repo

* moved ADD command right before RUN cd parity in Dockerfiles

* update docker/README.md

* removed --no-cache from docker/README.md
2017-05-23 12:25:41 +02:00
Denis S. Soldatov aka General-Beck
81c449fc99 update CentOS dockerfile
https://github.com/paritytech/parity/issues/5463
2017-04-28 01:17:20 +03:00
Vadim Sloun
2f757babb9 fix for Ubuntu Dockerfile 2017-03-30 23:18:06 +03:00
Tomasz Drwięga
d2394d3ac3 Updating paths to repos. (#5330)
* Updating paths to repos.

* Updating rotor and libusb

* Fixing other occurrences
2017-03-29 15:17:27 +02:00
Denis S. Soldatov aka General-Beck
ca963137e9 Update README.md
[ci skip]
2017-03-10 13:24:18 +03:00
Denis S. Soldatov aka General-Beck
6eefecf31e build docker with custom branch or tag
[ci -skip]
2017-03-10 13:23:34 +03:00
Denis S. Soldatov aka General-Beck
344b5b120f update Dockerfile for hub
add BUILD_TAG ARG
[ci skip]
2017-03-06 22:46:35 +04:00
Denis S. Soldatov aka General-Beck
a3bbdce613 update Dockerfile for hub
refactoring + small fix
2017-02-17 19:03:40 +04:00
Denis S. Soldatov aka General-Beck
aca808b021 update Dockerfile
ENTRYPOINT ["/parity/parity"]
2017-02-17 13:48:37 +04:00
Denis S. Soldatov aka General-Beck
164f1cef81 remove git pul from hub Docker
[ci-skip]
2017-02-17 03:56:09 +04:00
Denis S. Soldatov aka General-Beck
aa83603af8 typo fix in Dockerfile 2017-02-16 20:04:28 +04:00
Denis S. Soldatov aka General-Beck
4cd4572417 add tag ENV in Dockerfile 2017-02-16 20:03:13 +04:00
Denis S. Soldatov aka General-Beck
c808954413 clean Docker
[ci-skip]
2017-02-15 21:40:23 +04:00
Denis S. Soldatov aka General-Beck
34d8498a2c clean Docker
remove RUST tools from Docker
[ci-ckip]
2017-02-15 21:37:23 +04:00
Denis S. Soldatov aka General-Beck
5f154b9f4b update Dockerfile
add libudev-dev
2017-02-11 20:48:45 +04:00
Arkadiy Paronyan
0e8b96a268 Update Dockerfile 2017-02-07 22:15:01 +01:00
Arkadiy Paronyan
b171076215 Update Dockerfile 2017-02-07 22:14:34 +01:00
Denis S. Soldatov aka General-Beck
4fa1717a99 Update Dockerfile
remove --verbose from hub build
2017-02-05 02:56:19 +04:00
Denis S. Soldatov aka General-Beck
c5cc5e30ec Update Dockerfile
fix build for docker hub
[ci skip]
2017-02-05 02:39:22 +04:00
Denis S. Soldatov aka General-Beck
0fe6b40e68 Dockerfile for docker hub
[ci skip] automated build on docker hub. tags only
2017-01-25 22:25:52 +04:00
Konstantin
a578e10c49 added build-essential dep to dockerfiles (#3666) 2016-11-29 13:23:53 +01:00
Denis S. Soldatov aka General-Beck
d70503b874 Dockerfile for ubuntu stable
Add Dockerfile for parity stable branch
2016-10-20 21:00:09 +07:00
Denis S. Soldatov aka General-Beck
e59694f60d Update Ubuntu arm Dockerfile
remove CC and CXX
2016-09-09 19:31:54 +07:00
Denis S. Soldatov aka General-Beck
eebdc862dc Update Dockerfile ubuntu-aarch64
remove CC and CXX
2016-09-09 19:31:01 +07:00
Tomasz Drwięga
f5a8c73be5 Adding entrypoints to docker images (#1909) 2016-08-12 09:18:42 +02:00
Anthony Tatowicz
8574bfd546 Docker Arguments (#1703)
Allows args to be passed in for more flexibility.
2016-07-24 17:40:38 +02:00
Arkadiy Paronyan
cf7830fa8f Merge pull request #1509 from General-Beck/patch-15
Update Dockerfile ubuntu-aarch64
2016-06-30 22:34:24 +02:00
Arkadiy Paronyan
1dc56fc3e1 Merge pull request #1510 from General-Beck/patch-16
Update Ubuntu-arm Dockerfile
2016-06-30 22:34:18 +02:00
Arkadiy Paronyan
91efef8497 Merge pull request #1511 from General-Beck/patch-17
Update Ubuntu-jit Dockerfile
2016-06-30 22:34:15 +02:00
Arkadiy Paronyan
6962e1d211 Merge pull request #1512 from General-Beck/patch-18
Update Ubuntu Dockerfile
2016-06-30 22:34:13 +02:00
Denis S. Soldatov aka General-Beck
038ef2b3c3 Update Ubuntu Dockerfile
[ci skip]
2016-07-01 03:29:45 +07:00
Denis S. Soldatov aka General-Beck
c8c7fbbf27 Update Ubuntu-jit Dockerfile
[ci skip]
2016-07-01 03:29:00 +07:00
Denis S. Soldatov aka General-Beck
6bbd237711 Update Ubuntu-arm Dockerfile
[ci skip]
2016-07-01 03:28:18 +07:00
Denis S. Soldatov aka General-Beck
6bdbc2cb93 Update Dockerfile ubuntu-aarch64
[ci skip]
2016-07-01 03:27:36 +07:00
Denis S. Soldatov aka General-Beck
f370e17a54 Update CentOS Dockerfile
[ci skip]
2016-07-01 03:26:56 +07:00
Nikolay Volf
4a60407c2a Merge pull request #1507 from General-Beck/patch-13
Update CentOS Dockerfile
2016-07-01 00:16:09 +04:00
Nikolay Volf
5dd3c6196c Merge pull request #1506 from General-Beck/patch-12
Update Dockerfile ubuntu-aarch64
2016-07-01 00:15:56 +04:00
Nikolay Volf
a681566967 Merge pull request #1505 from General-Beck/patch-11
Update Ubuntu-arm Dockerfile
2016-07-01 00:15:41 +04:00
Nikolay Volf
ff0d8ea868 Merge pull request #1504 from General-Beck/patch-10
Update Ubuntu-jit Dockerfile
2016-07-01 00:15:21 +04:00
Denis S. Soldatov aka General-Beck
90a4475f52 Update CentOS Dockerfile
[ci skip]
2016-07-01 03:10:58 +07:00
Denis S. Soldatov aka General-Beck
bee2102424 Update Dockerfile ubuntu-aarch64
[ci skip]
2016-07-01 03:09:48 +07:00