Commit Graph

4359 Commits

Author SHA1 Message Date
Gav Wood 335bce85e8 Gas price statistics. (#1291)
* Gas price statistics.

Affects eth_gasPrice.
Added ethcore_gasPriceStatistics.

Closes #1265

* Fix a bug in eth_gasPrice

* Fix tests.

* Revert minor alteration.

* Tests for gas_price_statistics.

- Tests;
- Additional infrastructure for generating test blocks with
transactions.
2016-06-18 10:52:50 +02:00
Arkadiy Paronyan 6026dd3657 Update README.md 2016-06-18 10:52:50 +02:00
Gav Wood d6701065ea Refactor to use a const. 2016-06-18 10:52:50 +02:00
Gav Wood da058d0e86 Fix read-ahead bug.
Re-ahead 8 bytes rather than 3 to ensure large blocks import fine.
2016-06-18 10:52:50 +02:00
NikVolf 232274546b firewall rules 2016-06-18 10:52:50 +02:00
NikVolf 55fec2dcc3 x64 path 2016-06-18 10:52:50 +02:00
Arkadiy Paronyan 29e286572c Fixed loosing peers on incoming connections. (#1293)
* Deactivate peer if it has no new data

* Fixed node table timer registration

* Fixed handshake timeout expiration

* Extra trace

* Fixed session count calculation

* Only deactivate incapable peers in ChainHead state

* Timer registration is not needed
2016-06-18 10:52:46 +02:00
Marek Kotewicz 549647b6f2 fixed #1261, overflow when calculating work (#1283)
* fixed #1261, overflow when calculating work

* tests for difficulty_to_boundary

* return !U256::zer() for boundary <= 1
2016-06-15 16:33:38 +02:00
Robert Habermeier 6b852a0635 Merge pull request #1287 from rphmeier/update_readme
clarify build instructions
2016-06-15 12:48:54 +02:00
Robert Habermeier 2527130831 indentation (renders the same)
[ci skip]
2016-06-15 12:46:02 +02:00
Robert Habermeier 3d86d099bb remove either/or commands, keep it simple
[ci skip]
2016-06-15 12:22:36 +02:00
Marek Kotewicz 0f1e2f5d2f Merge pull request #1280 from ethcore/1255
fixed #1255
2016-06-15 11:39:39 +02:00
Marek Kotewicz 79bd168267 bump rust-crypto (#1289) 2016-06-15 01:27:47 +02:00
Gav Wood be6c572449 Update eth.rs 2016-06-15 01:26:58 +02:00
Robert Habermeier 44ed899fb3 address comments
[ci skip]
2016-06-15 01:16:16 +02:00
debris dac387fac1 changed rpc error message to Still Syncing, when mining is not ready 2016-06-15 01:12:46 +02:00
Arkadiy Paronyan 71131c41e5 Security audit issues fixed (#1279)
* Restrict network key file permissions

* Check for overflow in str to bigint conversion

* RLP decoder overflow check
2016-06-15 00:58:08 +02:00
Tomasz Drwięga b562480173 Fixing origin/host validation (#1273) 2016-06-15 00:57:49 +02:00
Arkadiy Paronyan f7536876d5 Merge pull request #1284 from ethcore/win-nsis
windows installer + parity start ui cli option
2016-06-14 23:33:30 +02:00
Arkadiy Paronyan aeae4670f1 Merge pull request #1285 from ethcore/ipc-bump
ipc lib version bump
2016-06-14 23:29:08 +02:00
Robert Habermeier 58948c53ff clarify windows instructions
[ci skip]
2016-06-14 19:37:51 +02:00
Nikolay Volf f5cc3db4da fixes with buffered writes 2016-06-14 20:12:42 +03:00
Nikolay Volf 7b89d6a263 bump further 2016-06-14 18:45:12 +03:00
Nikolay Volf a26a4edc85 version bump 2016-06-14 18:37:04 +03:00
Nikolay Volf 91bb6c5d43 final fix 2016-06-14 18:26:40 +03:00
NikVolf 37260d7cf5 fix build and remove .cargo regs 2016-06-14 18:16:41 +03:00
NikVolf 8ced25b36c remove some comments from sample 2016-06-14 18:12:41 +03:00
NikVolf 39e2f6c891 cfg attrs 2016-06-14 17:37:01 +03:00
NikVolf 5920a7068f installer initial, ui option for executable 2016-06-14 17:12:46 +03:00
debris 7610d308e8 fixed #1255 2016-06-14 15:17:17 +02:00
Arkadiy Paronyan a03da30510 Merge pull request #1274 from ethcore/sync
Syncing improvements
2016-06-14 15:01:31 +02:00
arkpar 65d42d6a5a Fixed valid response condition 2016-06-14 13:25:06 +02:00
NikVolf b3caeee758 Merge branch 'master' of github.com:ethcore/parity 2016-06-14 14:18:31 +03:00
Marek Kotewicz 9940432051 Merge pull request #1270 from ethcore/redundant_if_condition
removed redundant if condition
2016-06-14 04:06:08 -07:00
Tomasz Drwięga dbddb6a566 Fixing generating new token while another parity instance is running. (#1272) 2016-06-14 12:23:01 +02:00
arkpar 9ed2122ae2 Style + comments 2016-06-14 12:18:20 +02:00
arkpar 5c019b74e4 Validate header response 2016-06-14 11:30:51 +02:00
debris 0b8710a2a1 removed redundant if condition 2016-06-14 03:04:06 +02:00
Marek Kotewicz ca33f7c18d Merge pull request #1266 from ethcore/arkpar-patch-1
README: rustup and windows instructions
2016-06-13 12:44:22 -07:00
arkpar 1dac2e3b23 Fixed NewHashes response 2016-06-13 20:57:15 +02:00
arkpar 8c7bcdafdb Continue reading session data in the same iteration if available 2016-06-13 20:57:04 +02:00
arkpar 925869d462 Fix returning non-canonical headers 2016-06-13 20:56:55 +02:00
arkpar bee3669e9b Deactivate peers giving us invalid/empty headers 2016-06-13 20:56:44 +02:00
Arkadiy Paronyan 4c812169d1 Update README.md 2016-06-13 20:26:17 +02:00
Arkadiy Paronyan f5efd444f5 rustup and windows instructions 2016-06-13 19:22:54 +02:00
Arkadiy Paronyan 6b12334136 Windows build (#1253)
* Networking refactoring

* Fixed typo

* Trace logging

* Updated dependencies for windows build

* Windows fixes

* use mio 0.5

* nix build

* Windows build fix

* style

* removed unused import

* ipc crate version bump

* ipc config for named pipes

* tweaks and fixes

* tweaks and fixes

* final version bump

* Fixed tests

* Disable color output on windows

* Added missing doc
2016-06-13 18:55:24 +02:00
Marek Kotewicz 4ef4819bf9 removed try_seal from MinerClient interface (#1262) 2016-06-13 18:51:14 +02:00
Marek Kotewicz a8831fe896 Merge pull request #1232 from ethcore/simplified_block_opening
simplified block opening
2016-06-13 06:56:24 -07:00
debris 12a76597d4 Merge branch 'master' into simplified_block_opening 2016-06-13 15:11:14 +02:00
Arkadiy Paronyan b33482ce74 Merge pull request #1259 from ethcore/clippy-bump
Clippy bump
2016-06-13 11:57:07 +02:00