Arkadiy Paronyan
8852a05301
Prevent duplicate incoming connections ( #4180 )
2017-01-17 16:02:29 +01:00
Arkadiy Paronyan
cfb6dd2ea8
Optimized hash lookups ( #4144 )
...
* Optimize hash comparison
* Use libc
2017-01-13 08:52:23 +00:00
Tomasz Drwięga
41da1a0a79
New jsonrpc-core with futures and metadata support ( #3859 )
...
* Bumping serde & serde_json
* Super-initial usage of new jsonrpc
* Single event loop for jsonrpc
* Metadata
* Supporting metadata extraction for eth_accounts
* Fixing Cargo.lock
* Removing uneccessary clones
* Fixing unused import
* Unused import
* Fixing test
2017-01-11 20:02:27 +01:00
Tomasz Drwięga
21006da125
Get rid of unsafe code in ethkey, propagate incorrect Secret errors. ( #4119 )
...
* Implementing secret
* Fixing tests
2017-01-11 12:16:47 +01:00
Arkadiy Paronyan
148ea37687
v1.6 in master ( #4113 )
2017-01-10 15:41:59 +01:00
keorn
be30c44179
Validator/authority contract ( #3937 )
...
* dir
* simple validator list
* stub validator contract
* make the engine hold Weak<Client> instead of IoChannel
* validator set factory
* register weak client with ValidatorContract
* check chain security
* add address array to generator
* register provider contract
* update validator set on notify
* add validator contract spec
* simple list test
* split update and contract test
* contract change
* use client in tendermint
* fix deadlock
* step duration in params
* adapt tendermint tests
* add storage fields to test spec
* constructor spec
* execute under wrong address
* create under correct address
* revert
* validator contract constructor
* move genesis block lookup
* add removal ability to contract
* validator contract adding validators
* fix basic authority
* validator changing test
* more docs
* update sync tests
* remove env_logger
* another env_logger
* cameltoe
* hold EngineClient instead of Client
* add a comment about lock scope
2017-01-10 12:23:59 +01:00
Arkadiy Paronyan
d67ceec50c
Update registration after every write ( #4102 )
2017-01-10 12:11:32 +01:00
Robert Habermeier
9c00eb4e8a
Zero-alloc trie lookups ( #3998 )
...
* triedb cleanup
* factor out common portion of trie query
* allocate far fewer times in node decoding
* fix bench compilation
* introduce OwnedNode variant to make iter fast again
* generalize recorder trait to Query
* decode trie outputs cost-free in state
* test for passing closure as query
2017-01-06 16:18:45 +01:00
Robert Habermeier
b4e713efdc
return old trie values on insert and remove ( #4053 )
...
* return old trie values on insert and remove
* fix json tests
2017-01-05 21:15:43 +01:00
Tomasz Drwięga
8d1a91b3b8
Removing orphaned Cargo.toml
2017-01-04 12:36:37 +01:00
Robert Habermeier
4101396fc4
remove node journal: dead code
2016-12-29 11:06:00 +01:00
Tomasz Drwięga
3067a8de3e
Additional fetch tests ( #3983 )
...
* First bunch of tests
* Dapps zip tests
2016-12-28 12:45:25 +00:00
Tomasz Drwięga
bc3dacc952
Fetch tests (first batch) ( #3977 )
...
* Customizable fetch
* Some basic Fetch tests
2016-12-27 15:38:55 +00:00
Robert Habermeier
80eae8cc49
remove some old (unused/duplicate) files ( #3975 )
2016-12-27 12:41:22 +00:00
Robert Habermeier
8125b5690c
Port try
macro to new ?
operator. ( #3962 )
...
* initial untry sweep
* restore try in ipc codegen, fix inference
* change a few missed try instances
2016-12-27 12:53:56 +01:00
Tomasz Drwięga
c7c309d152
Web Based Dapps ( #3956 )
...
* Dapps web
Conflicts:
dapps/src/apps/fetcher.rs
dapps/src/handlers/fetch.rs
* Rewriting fetch
* Parity-wide fetch service
* Obey the limits and support cancellation.
* Removing temporary files.
* Actually use Fetch for dapps
* Re-implementing file fetching to avoid temporary files.
* Serde to 0.8.19
* Fixing content & dapps fetch
* Serving web content and injecting scripts
* Don't wait for old content, start a new download
* Supporting timeouts and query
* Simple GUI for the browser
* Proxy tokens validation
* Recovering from invalid web-based requests
* Remember last visisted URL
* Removing unused variables
* Addressing review comments
* Setting default account in web3
* Adding WebBrowser dapp to the list
* Actually prune old entries when generating new token
2016-12-27 10:15:02 +00:00
Tomasz Drwięga
6251289b85
Rising the limit for fetch ( #3964 )
2016-12-23 17:23:31 +01:00
Nikolay Volf
e7ca4445e2
Bring integer arithmetic up to crates.io ( #3943 )
...
* split initial
* decouple crate
* fix tests compilation
* fix rlp tests
2016-12-23 16:53:06 +01:00
Tomasz Drwięga
f0387c33c6
Global Fetch Service ( #3915 )
...
* Dapps web
Conflicts:
dapps/src/apps/fetcher.rs
dapps/src/handlers/fetch.rs
* Rewriting fetch
* Parity-wide fetch service
* Obey the limits and support cancellation.
* Removing temporary files.
* Actually use Fetch for dapps
* Re-implementing file fetching to avoid temporary files.
* Serde to 0.8.19
* Fixing content & dapps fetch
2016-12-22 18:26:39 +01:00
Paul Peregud
b444d23b3a
code example: do start before register_protocol ( #3947 )
2016-12-22 16:15:26 +01:00
Gav Wood
b418cb8da3
Merge remote-tracking branch 'origin/master' into fix-win-ci
2016-12-17 15:10:17 +01:00
Gav Wood
b2b3a0eb34
Final fixups for updater
...
- Wire up platforms to match those of CI.
- Introduce "final" feature to tag version with "nightly".
2016-12-17 14:36:30 +01:00
Arkadiy Paronyan
4c0741e568
Fixed windows stub signature
2016-12-16 22:26:12 +01:00
Gav Wood
14e4fefbcf
Fix updater permissions and refactor existing code.
2016-12-16 18:17:15 +01:00
Jaco Greeff
054a6a9daf
Merge branch 'master' into check-updates
...
# Conflicts:
# .gitlab-ci.yml
# js/webpack/dev.server.js
2016-12-15 13:52:28 +01:00
keorn
fa504e510f
Merge branch 'master' into auth-bft
2016-12-12 21:28:46 +01:00
Gav Wood
ab4d666681
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-12 16:35:11 +01:00
Gav Wood
c0a2d5c8f5
Merge pull request #3796 from ethcore/tx-broadcast
...
Avoid broadcasting transactions to peers that send them
2016-12-12 04:13:56 +01:00
Gav Wood
d8ad09b654
Make updater an IPC module.
2016-12-11 22:47:43 +01:00
Gav Wood
94f5501c61
authors & homepage => Parity
2016-12-11 19:43:58 +01:00
Gav Wood
58b72c521d
Rename ethcore -> parity in licenses.
2016-12-11 19:31:31 +01:00
Gav Wood
17cc2be4b5
Rename ethcore -> parity in license.
2016-12-11 19:30:54 +01:00
Gav Wood
10b0898bdf
Crate tidyups.
...
- Move Updater into its own crate.
- Change ethcore -> parity in authors, homepages and licenses.
2016-12-11 19:14:42 +01:00
Tomasz Drwięga
b56f12adc6
Merge branch 'master' into tx-broadcast
...
Conflicts:
ethcore/light/src/net/context.rs
ethcore/light/src/net/tests/mod.rs
2016-12-11 17:31:56 +01:00
arkpar
c777362d02
Sync channel for consensus test
2016-12-11 12:32:01 +01:00
Gav Wood
0a494962e4
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-11 02:13:52 +01:00
Gav Wood
fa30dfd4b9
Refactor into system service, add exe redirect.
2016-12-10 23:58:39 +01:00
Tomasz Drwięga
1f9adc8622
Merge branch 'master' into txqueue-gc
...
Conflicts:
ethcore/src/miner/miner.rs
2016-12-10 17:00:29 +01:00
Tomasz Drwięga
aaf6da4c00
Returning persistent node id
2016-12-10 16:55:29 +01:00
arkpar
02c788a403
Network connectivity fixes
2016-12-10 14:20:34 +01:00
Gav Wood
316c25d9f8
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-10 14:08:41 +01:00
Robert Habermeier
d427d60156
Merge pull request #3776 from ethcore/p2p-event-ordering
...
network: process packets only after connection handler finishes
2016-12-09 23:00:59 +01:00
Robert Habermeier
b772901d77
network: process packets only after connection handler finishes
2016-12-09 21:17:05 +01:00
Gav Wood
46af3d18da
Merge remote-tracking branch 'origin/master' into check-updates
2016-12-09 20:45:15 +01:00
Tomasz Drwięga
5d054f08c3
Clearing old transactions
2016-12-09 15:05:03 +01:00
arkpar
364dd9dda4
Make stop const
2016-12-09 13:25:02 +01:00
arkpar
22a63f6fd3
Added IO Service explicit stop
2016-12-09 11:45:16 +01:00
Gav Wood
8903384840
Merge branch 'master' into check-updates
2016-12-07 19:19:44 +01:00
Gav Wood
1f0a02b638
Merge pull request #3633 from ethcore/fix-tx-rpc
...
Fix up the transaction JSON serialisation for RPC.
2016-12-07 14:34:51 +01:00
Robert Habermeier
085b8ad553
Merge pull request #3527 from ethcore/client-provider
...
LES Part 2
2016-12-07 09:31:50 +01:00
Gav Wood
5e1fdc4b11
Merge remote-tracking branch 'origin/master' into fix-tx-rpc
2016-12-05 10:44:19 -08:00
NikVolf
42fc770d30
use crates.io crate
2016-12-05 16:25:03 +03:00
Gav Wood
90a20a217f
Merge branch 'master' into check-updates
2016-12-04 09:01:50 -08:00
Robert Habermeier
6e1a1f9dec
Merge branch 'master' into client-provider
2016-12-02 10:06:09 +01:00
Gav Wood
d3e684698a
Merge remote-tracking branch 'origin/master' into fix-tx-rpc
2016-11-30 17:15:05 -08:00
Gav Wood
d525a6d7f0
Merge pull request #3654 from ethcore/clippy-bump
...
Bumping clippy
2016-11-29 18:00:13 +01:00
Gav Wood
d58905ae13
fix comment
2016-11-29 17:59:17 +01:00
Gav Wood
436016ef02
Introduce to_hex() utility in bigint. Fix tests.
2016-11-29 13:46:06 +01:00
Tomasz Drwięga
64b1b898f1
Fixing compilation on stable
2016-11-28 17:43:38 +01:00
Tomasz Drwięga
2b3d100de2
Fixing some clippy warnings
2016-11-28 15:54:22 +01:00
Tomasz Drwięga
e1e7886918
Bumping clippy
2016-11-28 12:23:06 +01:00
arkpar
c7b359fcee
Style
2016-11-28 01:37:25 +01:00
arkpar
3aceac60de
Use sha3 for fat key
2016-11-28 01:37:24 +01:00
arkpar
b0555fbe7c
State export
2016-11-28 01:37:24 +01:00
arkpar
8b3cdc513b
Seekable iterator
2016-11-28 01:37:24 +01:00
Gav Wood
8cddf9976a
Better information.
2016-11-25 15:43:49 +01:00
Gav Wood
90b5d1c62d
Merge remote-tracking branch 'origin/master' into check-updates
2016-11-23 20:13:47 +01:00
arkpar
4e9c690640
Use patched MIO
2016-11-23 19:08:40 +01:00
Gav Wood
45dead9d49
Naming consistency and make Updater improvements.
...
- ID -> Id (consistency with rust libs)
2016-11-22 10:24:22 +01:00
Robert Habermeier
06f5bf809f
Merge branch 'master' into client-provider
2016-11-21 12:19:11 +01:00
Gav Wood
601e0fb0fd
Merge remote-tracking branch 'origin/master' into check-updates
2016-11-21 11:43:29 +01:00
Tomasz Drwięga
cc8a9d410b
Adding fetch API to the crate
2016-11-20 18:44:23 +01:00
Robert Habermeier
f1c665081a
Merge branch 'master' into client-provider
2016-11-18 16:07:50 +01:00
Gav Wood
28aabcdb6c
Merge branch 'master' into check-updates
2016-11-18 11:45:04 +08:00
Robert Habermeier
abf39fde0a
implement provider for client
2016-11-15 14:53:30 +01:00
keorn
ae5ae765a6
Merge branch 'master' into auth-round
2016-11-14 18:04:44 +00:00
Tomasz Drwięga
9f002a8a94
Fixing benches
2016-11-14 13:29:49 +01:00
keorn
501f6d3f49
Merge branch 'master' into auth-round
2016-11-14 10:08:14 +00:00
Gav Wood
4bb4ed9551
Initial checking.
2016-11-13 15:52:33 +01:00
Arkadiy Paronyan
67fa58db14
Optimize memory footprint ( #3376 )
2016-11-12 12:07:02 +01:00
Robert Habermeier
3854b8a689
LES Part 1 ( #3322 )
...
* stub implementations of light client trait
* Light provider trait
* light client sync stubs
* LES boilerplate
* stub implementation of provider for client
* skeleton and request traits
* request definitions
* new_list -> begin_list
* handle unknown packet
* revise light implementation strategy
* make verification module public
* Move all light client work to own crate
* experiment with answering requests
* buffer flow scaffolding
* remove LESv2 requests
* buffer flow basics, implement cost table
* begin status module
* implement handshake parsing and creation
* implement announcement serialization
* errors, punishment, and handshake
* handle announcements
* making announcements, clean up warnings
* allow dead code temporarily
2016-11-10 18:30:17 +01:00
keorn
49f2a72d5d
Merge branch 'master' into auth-round
2016-11-09 10:35:00 +00:00
Arkadiy Paronyan
f1e61c87b4
Fixed IO service shutdown ( #3286 )
2016-11-08 21:07:18 +01:00
arkpar
8cad185a57
Set version to unstable
2016-11-07 12:10:29 +01:00
Arkadiy Paronyan
d37f4cc82f
v1.5 ( #3195 )
2016-11-04 17:27:11 +01:00
keorn
255ec0c139
Merge branch 'master' into auth-round
2016-11-04 11:35:17 +00:00
Tomasz Drwięga
7ff73a9533
Exposing v,r,s from transaction signature in RPC ( #3172 )
2016-11-04 12:05:10 +01:00
Arkadiy Paronyan
e8b2635545
Version=beta ( #3157 )
2016-11-04 00:24:36 +01:00
keorn
0c2cfc9b6e
Fix histogram ( #3150 )
...
* fix histogram
* remove outdated comment
2016-11-03 21:15:27 +01:00
keorn
12125dcfee
Merge branch 'master' into auth-round
2016-11-03 16:51:38 +00:00
Arkadiy Paronyan
3413989c8a
Fixed peer ping timeout ( #3137 )
2016-11-03 16:12:25 +01:00
Gav Wood
f9a389c4b6
Minor typo fixed. ( #3110 )
2016-11-03 08:22:35 +01:00
keorn
03c9760de2
Merge remote-tracking branch 'parity/master' into auth-round-no-mocknet
2016-11-02 13:01:31 +00:00
keorn
a33e2f2e0d
fix deadlock after merge
2016-11-01 17:52:52 +00:00
Robert Habermeier
19d5f93745
Merge pull request #3020 from ethcore/fix-old-migrations
...
apply post-consolidation migrations after consolidating
2016-11-01 14:32:23 +01:00
Arkadiy Paronyan
2e70abdc40
Sweep panickers from IO and network ( #3018 )
...
* Sweep panickers from IO and network
* Typo and logging
2016-10-31 19:58:47 +01:00
Robert Habermeier
5d41d38dff
open column families after reparing db corruption ( #3017 )
2016-10-31 18:21:44 +01:00
Robert Habermeier
0139dfcc39
apply post-consolidation migrations after consolidating
2016-10-31 16:18:20 +01:00
keorn
7af20a5db0
Modify gas price statistics ( #2947 )
...
* gas price distribution + median + tests
* put histogram in util
* use the util histogram
* remove the default gas price implementation
* histogram rpc
* fix empty corpus
* Add JS ethcore_gasPriceHistogram
* Fix typo (s/types/type/) & subsequent failing test
* Fix return type & formatting
* bucketBounds
* Add jsapi e2e test verification
2016-10-31 12:57:48 +01:00
Arkadiy Paronyan
568a18d8bd
Prevent connecting to self ( #2997 )
2016-10-31 12:54:50 +01:00