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
arkpar
b38488dd07
Network shutdown
2016-06-17 12:58:28 +02:00
Gav Wood
be6c572449
Update eth.rs
2016-06-15 01:26:58 +02:00
debris
7610d308e8
fixed #1255
2016-06-14 15:17:17 +02:00
Tomasz Drwięga
e5e238746b
Bumping sysui & topbar. personal_signerEnabled returns port
2016-06-10 15:39:34 +02:00
Tomasz Drwięga
be435cde99
Splitting RPC Apis into more fine-grained sets ( #1234 )
2016-06-07 13:52:48 -07:00
Tomasz Drwięga
fdc22db3f4
Signer RPC method to check if signer is enabled ( #1238 )
...
* API to check if signer is enabled
* Fixing compilation warnings
2016-06-07 10:33:32 -07:00
Tomasz Drwięga
bf9173e673
Fixing signer behaviour when confirming transaction with wrong password. ( #1237 )
...
* Avoid removing transactions when trying to confirm and the password is invalid
* Fix order
2016-06-07 08:25:01 -07:00
Gav Wood
c202abe09d
Switch RPC namespace form ethcore_ to trace_
2016-06-02 13:14:49 +02:00
Gav Wood
b9ec87548d
Minor renaming diff -> state_diff
2016-06-02 12:39:25 +02:00
Gav Wood
bc5c3da2af
Merge branch 'vmtracing' into diffing
2016-06-02 12:28:09 +02:00
Gav Wood
d40a038f37
Fix tests.
2016-06-02 11:49:27 +02:00
Gav Wood
26da38a439
Merge remote-tracking branch 'origin/master' into vmtracing
2016-06-02 11:40:39 +02:00
Nikolay Volf
6676c6cf7e
Merge branch 'master' into client-refact
2016-06-01 19:42:32 +02:00
Tomasz Drwięga
99e26b8480
Simple signing queue, confirmation APIs exposed in signer WebSockets. ( #1182 )
...
* Splitting methods requiring signing into separate trait
* Single place where RPC apis are created.
* Separating eth_filter
* Separating eth_signing
* Stubs for Personal Signer methods
* Test for EthSigningQueueClient
* TransactionConfirmation API
* Exposing PersonalSigner API
* Defining ApiSets dependent on context
* Removing types
* Fixing default impl
* Fixing un-mocked tests
* Update signing_queue.rs
[ci skip]
* Removing unused import [ci skip]
2016-06-01 19:37:34 +02:00
Nikolay Volf
985d412c48
fix merges again
2016-06-01 13:03:26 +02:00
Nikolay Volf
c00b84e10b
merge fixes
2016-06-01 12:54:47 +02:00
Nikolay Volf
d45a676dc0
all tests fixed
2016-05-31 22:24:32 +02:00
Robert Habermeier
5fd4b9d7bd
formatting fix
2016-05-31 21:50:25 +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
Robert Habermeier
c81e4e24b3
add ability to have heavy tests
2016-05-31 19:51:24 +02:00
Robert Habermeier
4ccaabde40
add transaction count verifier tests
2016-05-31 19:30:40 +02:00
Robert Habermeier
5cb58c4269
use Miner in rpc tests, remove chain_harness
2016-05-31 15:25:14 +02:00
Gav Wood
649767b911
Merge remote-tracking branch 'origin/master' into vmtracing
2016-05-31 12:05:23 +02:00
Gav Wood
5766354c19
Tests for VM tracing.
2016-05-31 12:04:53 +02:00
Robert Habermeier
b036f1de98
stop eth_syncing from returning true forever ( #1181 )
2016-05-31 10:31:36 +02:00
Robert Habermeier
ea26deaab1
mocked test for eth_syncing
2016-05-30 12:33:49 +02:00
Gav Wood
11f4e8cb73
Fix mock tests.
2016-05-30 11:53:20 +02:00
Robert Habermeier
bbe6a287f8
add mocked test for eth_coinbase
2016-05-29 17:18:37 +02:00
Robert Habermeier
89659606dd
add mocked test for eth_sendRawTransaction
2016-05-29 17:07:39 +02:00
Robert Habermeier
be1ec93271
implement eth_sign
2016-05-29 15:46:57 +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
5197ca87ee
merge with master
2016-05-27 18:55:01 +02:00
Robert Habermeier
c021ecd13b
move "integration" tests out into main module
2016-05-27 18:40:48 +02:00
Robert Habermeier
9d4cd7b73e
assert the transaction is being signed correctly
2016-05-27 18:21:27 +02:00
Robert Habermeier
e7791c220a
rebase fixes and address style concern
2016-05-27 18:21:26 +02:00
Robert Habermeier
4c55e4968e
add eth_blockNumber, eth_TransactionCount integration tests.
...
also adds an EthTester struct for more test flexibility.
2016-05-27 18:18:44 +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
d370a86b43
More flexible chain extraction, get_balance test
2016-05-27 18:13:53 +02:00
Robert Habermeier
152bb6f21b
create integration test harness for eth RPC API
2016-05-27 18:13:49 +02:00
Robert Habermeier
194ca19720
move tests to personal
2016-05-27 16:45:26 +02:00
Robert Habermeier
e0e722784c
move existing rpc tests into mocked module
2016-05-26 20:37:08 +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
Tomasz Drwięga
5579582a52
Sign and send transaction
2016-05-23 11:30:11 +02:00
arkpar
ca6c91f591
New sync algorithm
2016-05-19 16:16:11 +02:00
debris
634679966e
Make Id/ID and db/Db/DB usage consistent
2016-05-19 11:00:32 +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
Tomasz Drwięga
49cc40708d
Fixing formatter for defaultExtraData ( #1060 )
2016-05-08 21:34:15 +01:00
Tomasz Drwięga
c3f33aefdd
Fixing RPC modules compatibility
2016-05-04 14:03:29 +02: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
Tomasz Drwięga
e942f86bd7
Modules RPC ( #1019 )
2016-04-29 19:52:08 +01: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
8b84b4f128
Merge branch 'master' into rpc-shared-miner
...
Conflicts:
parity/main.rs
2016-04-22 12:16:15 +02:00
Tomasz Drwięga
0458a3378c
Additional RPC methods for settings
2016-04-21 19:24:10 +02:00
Tomasz Drwięga
ef9b49f0b2
Merge branch 'main-refactor' into rpc-shared-miner
2016-04-21 17:38:21 +02:00
Tomasz Drwięga
f5c2bea134
Shared instance of ExternalMiner
2016-04-21 17:32:53 +02:00
Tomasz Drwięga
c47d08e308
Fixing warnings
2016-04-21 16:06:54 +02:00
Tomasz Drwięga
f2a08d57e4
Merge branch 'master' into rpc-logs
...
Conflicts:
rpc/src/v1/tests/ethcore.rs
rpc/src/v1/traits/ethcore.rs
2016-04-19 19:59:50 +02:00
Tomasz Drwięga
407ab30503
Using ArrayVec to store logs
2016-04-19 19:22:14 +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
Gav Wood
9592ccc0df
Publish locally-made transactions to peers.
2016-03-28 18:11:00 +02:00
Gav Wood
d150529730
Merge remote-tracking branch 'origin/master' into bettermining
2016-03-27 22:16:24 +02:00
NikVolf
a8c725a891
test for pending
2016-03-27 17:16:15 +03:00
NikVolf
254ac6f253
checking tx queue
2016-03-27 16:12:21 +03:00
Gav Wood
fc211f0934
Merge remote-tracking branch 'origin/master' into bettermining
2016-03-26 23:35:51 +01:00
Gav Wood
7d7b315511
Fix tests and a couple of warnings.
2016-03-26 23:35:36 +01:00
Gav Wood
c8ac1a2351
Fix test.
2016-03-26 23:32:54 +01:00
Gav Wood
64819981f2
Merge branch 'master' into bettermining
2016-03-26 13:45:38 +01:00
Gav Wood
845fa97da1
Fix eth_call so it doesn't need the secret of the sender.
2016-03-26 13:30:02 +01:00
Gav Wood
aaf04e793d
Make BlockNumber optional.
2016-03-26 12:41:24 +01:00
Gav Wood
af14c68acc
Merge pull request #822 from ethcore/netidfix
...
Use network id for the web3_net_version return.
2016-03-26 11:25:09 +01:00
NikVolf
52726088f3
actually fix build
2016-03-26 04:06:40 +03:00
NikVolf
079a39a5f1
wiki test
2016-03-26 03:19:55 +03:00
NikVolf
3d94670f1f
web3_sha3
2016-03-26 03:00:05 +03:00
Gav Wood
b30fc3a715
Fix build.
2016-03-26 00:53:35 +01:00
Gav Wood
f231440480
Use network id for the web3_net_version return.
2016-03-26 00:23:07 +01:00
Gav Wood
d50c9f9fac
Merge remote-tracking branch 'origin/master' into bettermining
2016-03-24 23:10:54 +01:00
Gav Wood
830ef7ddfc
New mining framework.
...
Fixes #756 .
2016-03-24 23:03:22 +01:00
arkpar
416040f313
Fixed test
2016-03-24 17:09:41 +01:00
debris
068c0f3782
test for eth_getTransactionReceipt
2016-03-21 11:47:50 +01:00
debris
aa47d944e1
implemented rpc eth_estimateGas method, added tests for rpc eth_call and eth_estimateGas
2016-03-20 11:34:19 +01:00
debris
693a3b0739
fixed failing eth rpc tests
2016-03-19 12:55:36 +01:00
debris
e5c6579a8c
next batch of rpc fixes, 103 still failing
2016-03-19 12:23:48 +01:00
Gav Wood
1d822132f0
Merge pull request #757 from ethcore/ethrpc_test
...
rpctest executable
2016-03-19 08:45:13 +01:00
debris
ef297dbec7
removed warnings by adding missing documentation
2016-03-18 22:57:26 +01:00
debris
1c9cc6167d
updated rpc helpers docs
2016-03-18 19:16:46 +01:00
debris
3e6d0602ea
running rpc tests
2016-03-17 23:58:30 +01:00
Tomasz Drwięga
2dc314f993
Removing update_seal when new transactions arrives
2016-03-17 18:30:26 +01:00
Tomasz Drwięga
833c5fdd31
Merge branch 'master' into tx_queue_live
...
Conflicts:
sync/src/chain.rs
2016-03-17 13:35:01 +01:00
Gav Wood
a76eb022d0
Merge pull request #746 from ethcore/tx_queue
...
Verify sender's balance before importing transaction to queue
2016-03-17 13:32:48 +01:00
Gav Wood
c88601a376
Merge pull request #750 from ethcore/tx_block_pending
...
Returning number of transactions pending in block not queue
2016-03-17 13:21:06 +01:00
Tomasz Drwięga
e1c3ab1846
Renaming status fields to something more descriptive.
2016-03-17 13:07:34 +01:00