Tomasz Drwięga
2e47842d66
Exposing state root and logsBloom in RPC receipts ( #3174 )
2016-11-04 12:33:13 +01:00
Gav Wood
d3de475205
EIPs 155, 160, 161 ( #2976 )
...
* The front-end for each hard-fork, also EIP-160.
* Address EIP161 a/c
* Include EIP-161b
* EIP-161 part d.
* Fix test build.
* Fix one test, add another.
* Fix use of bloom & renaming.
* Initial groundwork for EIP-155
* Fix minor bug.
* Fix all tests finally.
* Rest of EIP-155.
* Add tests for EIP-155 algorithm.
Update transaction tests validation.
* Minor reformat.
* Address grumbles.
* Remove unused code.
* Fix SUICIDE gas mechanism and add consensus tests.
* Remove commented code.
* Set Frontier hardfork block number
* Fix warning.
* Transaction tests,
2016-11-03 22:22:25 +01:00
keorn
36d17d5c28
Add RPC enode lookup ( #3096 )
...
* add enode rpc
* spaces -> tabs
2016-11-02 19:43:21 +01:00
Robert Habermeier
8599a11a0b
Snapshot sync and block gap info in eth_syncing
( #2948 )
...
* provide snapshot sync info in eth_syncing
* specify block gap in eth_syncing
* Extend eth_syncing with warp, format the output properly
* adjust serialization tests for sync info
* whitespace
2016-10-31 17:32:53 +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
keorn
aa52b04e31
Unify major syncing detection ( #2699 )
...
* simplify major sync detection
* fix typos
* fix merge
* more realistic EthTester
* add new synced state
2016-10-19 18:35:39 +02:00
Arkadiy Paronyan
487dfb0208
Snapshot sync part 2 ( #2098 )
...
* Split block downloader into a module
* Snapshot sync progress
* Warp sync CLI option
* Increased snapshot chunk and ping timeouts
* Fixed an issue with delayed writes
* Updated bootnodes
* Don't run pending IO tasks on shutdown
* Optional first_block; removed insert_snapshot_block
* Fixing expect calls
* Fixed stalled sync
* style and docs
* Update block_sync.rs
[ci:skip]
2016-10-18 18:16:00 +02:00
Svyatoslav Nikolsky
c9ce25c8f3
Added peers details to ethcore_netPeers RPC ( #2580 )
...
* added peers details to ethcore_netPeers RPC
* fixed build (traits autoimplemented)
* - documentation fixes
- spaces -> tabs
- Rust-way Option's handling
* prepare for new protocols in ethcore_netPeers
* commas & documentation
2016-10-12 20:18:59 +02:00
Tomasz Drwięga
4655fd04a5
Using pending block only if not old ( #2514 )
2016-10-07 11:13:15 +01:00
Arkadiy Paronyan
0dcdaa7a2a
Jumptable cache ( #2427 )
...
* Jumptable cache
* Updated registrar address
2016-10-02 18:45:36 +02:00
Tomasz Drwięga
d7bbc5cc3f
Hash Content RPC method ( #2355 )
...
* Moving file fetching to separate crate.
* ethcore_hashContent
* Tests running on mocked fetch.
* Limiting size of downloadable assets
2016-09-27 16:27:06 +02:00
Arkadiy Paronyan
5c5d9c8ccd
Snapshot sync ( #2047 )
...
* PV64 sync
* Tests
* Client DB restore
* Snapshot restoration over IPC
* Upating test
* Minor tweaks
* Upating test
2016-09-06 15:31:13 +02:00
Gav Wood
ccdf80f4dc
Fix several RPCs ( #1926 )
...
* Fix up pending receipts details.
* Add support for additional params and registry over RPC.
* Fix tests.
* Add test, additional fix.
Fixes #1932 .
* Fix up tests.
* Fix test.
* Fix test.
2016-08-17 19:25:02 +02:00
Tomasz Drwięga
25aabe6e52
Supporting blockid in eth_call and trace_call/trace_raw ( #1837 )
...
* Supporting blockid in eth_call and trace_call/trace_raw
* Nicer state diff handling
* Purging deref.deref
2016-08-04 18:17:21 +02:00
Tomasz Drwięga
c5ffb5af79
No block number in get work while in geth-compat mode. ( #1821 )
2016-08-03 15:31:00 +02:00
Gav Wood
9de579366a
Miner tweaks ( #1797 )
...
* Mining fixes.
- Use queue to determine whether we're mining
- Kick stale hash rates
Fixes #1794
Fixes #1641
* Fix tests.
* Address grumbles.
2016-08-02 17:53:32 +01:00
Tomasz Drwięga
6c205067b1
Miner tests ( #1597 )
...
* Un-ignoring RPC test
* Additional tests for importing transactions
2016-07-14 12:16:53 +02:00
Robert Habermeier
36d3d0d7d7
replace synchronization primitives with those from parking_lot ( #1593 )
...
* parking_lot in cargo.toml
* replace all lock invocations with parking_lot ones
* use parking_lot synchronization primitives
2016-07-13 19:59:59 +02:00
Nikolay Volf
d3695d0b72
Major sync <-> client interactions refactoring ( #1572 )
...
* chain notify trait
* replaced network service with io service
* fix ethcore crate warnings
* refactored network service without generic
* ethcore fix
* ethsync refactoring
* proper linking of notify
* manage network interface
* rpc crate rebinding
* full rewire
* sync internal io service
* fix deadlock
* fix warnings and removed async io
* sync imported message propagation
* fix rpc warnings
* binart warnings
* test fixes
* rpc mocks and tests
* fix util doctest
* fix message name and removed empty notifier
* pointers mess & dark mode fixed
* fixed sync doctest
* added few warnings
* fix review
* new convention match
* fix error unwraps
* doctest fix
2016-07-11 17:02:42 +02:00
Gav Wood
3b662c285f
Switch out .X().unwrap() for .unwrapped_X
2016-07-07 09:37:31 +02:00
Gav Wood
456ad9e21b
Remove .lock().unwrap() idiom into locked().
2016-07-06 19:52:34 +02:00
Nipunn Koorapati
4a9b9dc305
Update sealing just once when externally importing many blocks ( #1541 )
...
Fixes Issue #1372
2016-07-06 17:15:59 +02:00
Gav Wood
31de739122
U256 instead of Option<U256>. Fix up tests.
2016-06-28 10:21:29 +02:00
Gav Wood
10aa32b0f5
Include RPC configurability for max tx gas limit.
...
Also Move the gas limit into the transaction queue from the miner.
2016-06-27 20:19:01 +02:00
Gav Wood
8fcec20398
Gas limit ceiling option.
2016-06-23 14:29:16 +02:00
Arkadiy Paronyan
b2891fcdda
Update sealing on new transactions ( #1365 )
2016-06-21 16:00:34 +02:00
arkpar
b38488dd07
Network shutdown
2016-06-17 12:58:28 +02:00
Gav Wood
bc5c3da2af
Merge branch 'vmtracing' into diffing
2016-06-02 12:28:09 +02:00
Gav Wood
26da38a439
Merge remote-tracking branch 'origin/master' into vmtracing
2016-06-02 11:40:39 +02:00
Nikolay Volf
77cef76518
rpc bindings resolved
2016-05-31 21:31:42 +02:00
Gav Wood
34edecd59d
State diffing, exposed through JSONRPC.
2016-05-31 21:03:44 +02:00
Gav Wood
a5808833b1
Merge remote-tracking branch 'origin/master' into vmtracing
2016-05-29 11:13:48 +02:00
Gav Wood
c1ed520de0
RPC endpoint for VM tracing and ser/de types ready.
2016-05-28 16:52:33 +02:00
Robert Habermeier
c021ecd13b
move "integration" tests out into main module
2016-05-27 18:40:48 +02:00
Robert Habermeier
e7791c220a
rebase fixes and address style concern
2016-05-27 18:21:26 +02:00
Robert Habermeier
f67486e31f
have miner service update the pending nonces on transaction import
2016-05-27 18:18:42 +02:00
Robert Habermeier
152bb6f21b
create integration test harness for eth RPC API
2016-05-27 18:13:49 +02:00
Marek Kotewicz
ebd0cdbc7a
Fixpending ( #1074 )
...
* Fix --geth IPC for MacOS.
* fix pending_* methods in MinerService, add pending_receipts
* pending logs
* include pending logs when polling
* fixed returning pending logs multiple timees
* log type
* transactionHash is supplied to pending logs
* miner returns receipts together with hashes
* bring back miners all_transactions used by sync module
2016-05-24 21:56:32 +02:00
arkpar
ca6c91f591
New sync algorithm
2016-05-19 16:16:11 +02:00
Nikolay Volf
354ac7d6e5
Limiting result of the execution to execution-specific errors ( #1071 )
...
* execution error/result limiting
* missing trailing comma
* fix executive tests
* adding original error as string to the generic transaction error
* 'mallformed'-s all around
2016-05-14 13:28:44 +01:00
Gav Wood
ac73b2628a
Basic Authority ( #991 )
...
* Firt commit.
* First non-functional but correct implementation of BasicAuthority.
Still needs:
- Sealing infrastructure.
* Punch a hole to give miner access to key store.
* Fix test built.
* Basic version of synchronous mining.
This will seal a block whenever a new transaction comes through.
To be made better we need a timer which will wait for one second after the
last block before sealing a new one - better still would be to cooperatively
interleave blocks with other sealing nodes.
* Add tests.
* Fix minor issues from repotting.
* Address grumbles.
2016-05-03 17:23:53 +02:00
Arkadiy Paronyan
8f7624f5cb
Support 'pending' block in RPC ( #1007 )
...
* Support `pending` block in RPC
* Forward calls from miner to client in case no pending block is available
2016-04-28 20:47:44 +01:00
Tomasz Drwięga
ea669ac6b6
Enable pending block when there is local transaction pending. ( #1005 )
...
* Enabling sealing while importing own transaction
* Fixing import transaction deadlock
* Checking if there are local transactions in queue
* Updating hyper-mio
* Switching to rust-url#1.0.0
2016-04-28 16:36:53 +01:00
Tomasz Drwięga
f5c2bea134
Shared instance of ExternalMiner
2016-04-21 17:32:53 +02:00
Tomasz Drwięga
98b3962412
RPC methods to set the limits
2016-04-18 23:13:38 +02:00
Tomasz Drwięga
5086880093
Additional logging for transactions
2016-04-17 18:26:15 +02:00
Tomasz Drwięga
fbc28ce493
Additional methods for ethcore-specific rpc. Altering miner parameters ( #934 )
2016-04-12 15:04:40 -07:00
Tomasz Drwięga
3fe21f5931
Ethcore-specific RPC methods ( #923 )
...
* Ethcore-specific rpc methods
* Initializing ethcore-rpc
2016-04-11 12:06:32 -07:00
arkpar
3438cda432
Propagate transaction queue
2016-04-06 23:03:07 +02:00
debris
d14d590c2b
fixed #875 and added tests for eth_sendTransaction
2016-04-06 12:15:20 +02:00