Tomasz Drwięga
5579582a52
Sign and send transaction
2016-05-23 11:30:11 +02:00
Gav Wood
0c4cd00c1f
Fix styling - don't mix spaces with tabs!!!
2016-05-22 12:42:22 +02:00
Gav Wood
c8d2237f0a
Fix is_syncing so it's false as long as the update is trivial. ( #1122 )
2016-05-22 11:47:17 +02:00
Marek Kotewicz
852155959d
Merge pull request #1098 from ethcore/trace_err
...
pretty print trace error
2016-05-19 18:00:39 +02:00
arkpar
ca6c91f591
New sync algorithm
2016-05-19 16:16:11 +02:00
debris
5ec096d57e
Fixed ethcore-rpc compilation errors.
2016-05-19 15:48:40 +02:00
debris
95365670e4
Merge branch 'master' of github.com:ethcore/parity into trace_err
2016-05-19 14:15:05 +02:00
debris
634679966e
Make Id/ID and db/Db/DB usage consistent
2016-05-19 11:00:32 +02:00
debris
55ebab2392
Merge branch 'master' of github.com:ethcore/parity into trace_err
2016-05-19 01:03:55 +02:00
Gav Wood
46f3b5f913
Fix up the seal fields in RPC output. ( #1096 )
...
Make Ethash::extra_info() work.
Seal fields now decode the RLP.
2016-05-19 00:41:41 +02:00
debris
14b6b389f2
propagate trace error to the top
2016-05-18 11:34:15 +02:00
Gav Wood
56c705968b
Fix typo.
2016-05-16 13:33:29 +02:00
Gav Wood
f4d5c7b48e
Fix uncle getter
...
Uncle blocks don't necessarily have BlockDetails, so can't get total
difficulty directly.
Closes #1057
2016-05-16 12:46:09 +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
debris
d4a0ad0a60
make jsonrpc api engine agnostic
2016-04-25 16:06:08 +02:00
Tomasz Drwięga
f5c2bea134
Shared instance of ExternalMiner
2016-04-21 17:32:53 +02:00
Tomasz Drwięga
d093c5755e
Moving own transaction tracing to miner create
2016-04-17 20:36:37 +02:00
Tomasz Drwięga
8389f771e9
Tracing whole transaction
2016-04-17 18:36:07 +02:00
Tomasz Drwięga
5086880093
Additional logging for transactions
2016-04-17 18:26:15 +02:00
Gav Wood
d909bc05c4
Sensible gas limits for eth_sendTransaction ( #953 )
...
* Sensible gas limits for eth_sendTransaction
Fixes #859
* Compile fix.
* Remove !.
2016-04-14 12:01:12 -07:00
Gav Wood
c48374dbc6
Parameter to allow user to force the sealing mechanism ( #918 )
...
* Allow block sealing mechanism to be forced, even when not mining.
* Fix deadlock in dispatch_transaction. Fix tests.
* Horrible workaround for transaction importing.
* Reduce tracing. Cleanups.
* Remove logging.
* Remove broken code inherited from dodgy implementation.
* pre-query tx queue nonce also if any
* remove outside nonce queries
* remove queue nonces
2016-04-11 11:52:33 -07:00
debris
dc6ade4ae3
fixed transaction deadlock
2016-04-11 12:44:57 +02:00
Gav Wood
6c35c5e604
--unlock is comma-delimited. ( #916 )
2016-04-10 14:01:41 -07:00
Marek Kotewicz
fed853593b
fixed eth_getLogs ( #915 )
...
* fixed eth_getLogs
* removed empty lines
2016-04-10 11:42:03 -07:00
arkpar
3438cda432
Propagate transaction queue
2016-04-06 23:03:07 +02:00
Arkadiy Paronyan
5685fde606
Merge pull request #890 from ethcore/fix_875
...
fixed #875 and added tests for eth_sendTransaction
2016-04-06 16:24:32 +02:00
arkpar
9b7c48110a
Fixed eth_call nonce and gas handling
2016-04-06 13:05:58 +02:00
debris
d14d590c2b
fixed #875 and added tests for eth_sendTransaction
2016-04-06 12:15:20 +02:00
Gav Wood
5d626c7dd3
Use sensible gas price.
2016-03-28 18:53:33 +02:00
Gav Wood
9592ccc0df
Publish locally-made transactions to peers.
2016-03-28 18:11:00 +02:00
Gav Wood
6a7c25e2be
Fix response for mining.
2016-03-28 11:23:22 +02:00
Gav Wood
75b23aac02
Merge remote-tracking branch 'origin/master' into bettermining
2016-03-28 09:44:34 +02:00
Arkadiy Paronyan
2178f09eec
Merge pull request #841 from peterjoel/ethcompute
...
Caching for computing seed hashes (#541 )
2016-03-28 01:43:45 +02:00
Gav Wood
d150529730
Merge remote-tracking branch 'origin/master' into bettermining
2016-03-27 22:16:24 +02:00
Peter
9655ce8dbf
Caching for computing seed hashes ( #541 )
...
Code review changes
2016-03-27 20:42:24 +01:00
Gav Wood
6b8e7bdfb3
Merge pull request #838 from ethcore/tx-queue-resp
...
checking transaction queue for pending transaction
2016-03-27 19:51:37 +02:00
NikVolf
254ac6f253
checking tx queue
2016-03-27 16:12:21 +03:00
debris
0d453e52ad
tests for deserialization of issue #835
2016-03-27 14:14:05 +02:00
Gav Wood
fc211f0934
Merge remote-tracking branch 'origin/master' into bettermining
2016-03-26 23:35:51 +01:00
Gav Wood
00685f357f
Remove info!s.
2016-03-26 13:45:13 +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
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
Gav Wood
8dbd6f36b5
Avoid warning.
2016-03-24 16:00:32 +00:00
Gav Wood
ae5eece76f
Don't care if engaged in sync since it's typically doing so.
2016-03-24 14:40:13 +00:00
Gav Wood
6c18a1f285
Fix logic. agaib.
2016-03-24 14:40:10 +00:00
Gav Wood
cbba403992
Fix logic error.
2016-03-24 14:39:32 +00:00
Gav Wood
e6136eb075
Fix mining.
2016-03-24 14:39:29 +00:00
Gav Wood
0ab57c48c3
Add tracing.
2016-03-24 13:51:51 +00:00
Gav Wood
4e013ba2fc
Refactor pending_block to always return invalid txs and sometimes a block.
...
Docuemnt SealingWork properly.
2016-03-23 16:28:02 +00:00
Gav Wood
97449afbb9
Merge branch 'master' into bettermining
2016-03-23 14:18:16 +01:00
Arkadiy Paronyan
ebd7273071
Merge pull request #800 from ethcore/fixjsonrpc
...
Increase threads to num_cpus & fix author reporting
2016-03-22 21:08:59 +01:00
Gav Wood
0e026ed11f
Fix author reporting. num_cpus for JSONRPC threads.
2016-03-22 19:12:17 +01:00
debris
a0cbe7cd7e
fixed eth_call, eth_sendTransaction and eth_estimateGas
2016-03-22 17:17:50 +01:00
debris
0cdac6de3c
uncle
2016-03-22 16:07:42 +01:00
Gav Wood
a134f939e9
Non-functioning draft of code.
2016-03-22 13:05:18 +01:00
debris
f2a0e24491
removed outdated comment
2016-03-21 20:29:35 +01:00
debris
0e5395013a
implemented eth_sendRawTransaction
2016-03-21 12:00:30 +01:00
debris
52e9801721
client implementation of transaction receipt
2016-03-20 18:44:57 +01:00
debris
2a3e695f8a
LocalizedReceipt
2016-03-20 17:29:39 +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
d15ce15751
Merge branch 'eth_call' into eth_estimateGas
2016-03-20 10:40:18 +01:00
debris
d536d20643
fixed indentation
2016-03-20 10:36:44 +01:00
debris
7c6f0e472d
implementation of eth_estimateGas
2016-03-20 10:29:30 +01:00
debris
9a227dce46
Merge branch 'json_tests_refactor' into eth_call
2016-03-19 21:42:10 +01:00
debris
521f2a1433
implemented eth_call
2016-03-19 21:37:11 +01:00
debris
e5c6579a8c
next batch of rpc fixes, 103 still failing
2016-03-19 12:23:48 +01:00
debris
52dbcd8152
rpc tests, now 421 passing / 116 failing
2016-03-19 11:44:36 +01:00
Tomasz Drwięga
7ae60056b2
Common error handling
2016-03-17 16:13:00 +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
caedb64ade
Adding missing space
2016-03-17 13:18:26 +01:00
Tomasz Drwięga
e1c3ab1846
Renaming status fields to something more descriptive.
2016-03-17 13:07:34 +01:00
Tomasz Drwięga
bc04e0c713
Adding missing commas
2016-03-17 11:49:56 +01:00
Tomasz Drwięga
884f2dd873
Returning number of transactions pending in block not queue
2016-03-17 11:19:12 +01:00
Tomasz Drwięga
fdba8de600
Validating senders balance before importing transaction to queue
2016-03-16 10:45:55 +01:00
Nikolay Volf
bd892026f6
tests
2016-03-16 10:37:08 +01:00
Nikolay Volf
8427e99c73
checking queue also
2016-03-15 23:58:46 +01:00
Nikolay Volf
99bae23996
[ci skip] grammar fix
2016-03-15 17:56:35 +01:00
Nikolay Volf
ab4bfbac0d
adding check for a sync
2016-03-15 17:13:44 +01:00
debris
9b241faf01
uncle method mock
2016-03-14 17:01:29 +01:00
debris
0de73609d2
eth_hashrate && eth_submitHashrate tests
2016-03-14 14:18:29 +01:00
Gav Wood
b4f7f220f1
Merge remote-tracking branch 'origin/master' into merge_ethminer
2016-03-13 16:35:52 +01:00
debris
6ee13b0000
implemented eth_getCompilers
2016-03-13 15:02:46 +01:00
Gav Wood
02f43f2e8c
Merge branch 'ethminer_crate'
2016-03-13 15:00:47 +01:00
debris
00820c342a
fixed eth_getCode and added tests for it
2016-03-13 14:45:39 +01:00
debris
c2b3ba533b
fixed eth_getTransactionCount**, and eth_getUncleCount** rpc methods, added tests for them
2016-03-13 14:37:33 +01:00
debris
487ba9b08a
implemented eth_storageAt rpc method, added more tests for rpc
2016-03-13 12:09:30 +01:00
debris
e09de6ea3d
added missing eth_getBalance rpc method and tests for it
2016-03-12 19:51:24 +01:00
debris
a9a1c80fac
implemented eth_accounts, fixed personal_accounts, added test account provider, tests for eth_accounts
2016-03-12 19:21:08 +01:00
Tomasz Drwięga
fadbc61dff
Merge branch 'ethminer_crate' into rpc_pending_filter
...
Conflicts:
miner/src/miner.rs
parity/main.rs
2016-03-11 19:27:09 +01:00
Tomasz Drwięga
9c92d601b1
Merge branch 'master' into ethminer_crate
...
Conflicts:
rpc/src/v1/impls/eth.rs
2016-03-11 15:56:30 +01:00
Tomasz Drwięga
197ea7f7d6
Using miner in rpc instead of sync
2016-03-11 14:51:07 +01:00
Tomasz Drwięga
03da6c991f
Merge branch 'master' into ethminer_crate
...
Conflicts:
Cargo.lock
Cargo.toml
ethcore/src/client/client.rs
hook.sh
parity/main.rs
rpc/Cargo.toml
rpc/src/v1/impls/eth.rs
sync/Cargo.toml
sync/src/tests/helpers.rs
2016-03-11 14:37:07 +01:00
debris
190630cc6b
separated transaction_request to its own submodule, added basic tests for it
2016-03-11 12:31:45 +01:00
Tomasz Drwięga
dd2fb4df67
Storing BlockNumber & transactions directly in enum
2016-03-11 12:31:42 +01:00
Tomasz Drwięga
2fd036b073
Merge branch 'ethminer_crate' into rpc_pending_filter
...
Conflicts:
rpc/src/v1/helpers/poll_manager.rs
rpc/src/v1/impls/eth.rs
2016-03-11 11:44:44 +01:00
Marek Kotewicz
fd39975cf0
Merge pull request #587 from ethcore/rpc-signing-extend
...
Rpc transaction signing
2016-03-11 11:14:17 +01:00
Marek Kotewicz
eb2171e287
Merge pull request #652 from ethcore/tx_queue_rpc
...
Transaction queue exposed via JSON rpc.
2016-03-11 11:08:16 +01:00
Tomasz Drwięga
5b204a5ff5
Merge branch 'master' into ethminer_crate
...
Conflicts:
parity/main.rs
rpc/src/v1/impls/eth.rs
sync/src/lib.rs
2016-03-11 10:31:07 +01:00
Nikolay Volf
47aacbb819
work is in progress
2016-03-10 21:56:02 +04:00
Nikolay Volf
25a63611f8
extend sync status interface to sync provider
2016-03-10 20:32:17 +04:00
Nikolay Volf
5571503c22
traitified secret store
2016-03-10 20:18:01 +04:00
Tomasz Drwięga
92022ac14d
Merge branch 'master' into ethminer_crate
...
Conflicts:
ethcore/src/client.rs
parity/main.rs
rpc/src/v1/impls/eth.rs
sync/src/chain.rs
2016-03-10 16:38:58 +01:00
Nikolay Volf
3b21a5f54c
Merge branch 'master' into rpc-signing-extend
...
Conflicts:
parity/main.rs
2016-03-10 19:08:41 +04:00
Tomasz Drwięga
c37370a8a7
PendingTransaction filter.
2016-03-10 16:04:59 +01:00
Gav Wood
8dd41bfe0c
Merge pull request #641 from ethcore/jsonrpc_interfaces
...
jsonrpc uses client and sync interfaces
2016-03-10 15:44:05 +01:00
Tomasz Drwięga
027f122aea
Removing get prefix from poll_info
2016-03-10 14:24:33 +01:00
debris
082a4d9078
jsonrpc uses client and sync interfaces as a preparetion for jsonrpc tests
2016-03-09 17:31:43 +01:00
Tomasz Drwięga
363de973c9
Adding documentation and ditching EthMiner
2016-03-09 14:26:28 +01:00
Tomasz Drwięga
9d664336b5
Tratifying Miner
2016-03-09 13:30:59 +01:00
Tomasz Drwięga
9acb36af87
Fixing tests compilation. Removing ethminer dependency on client
2016-03-08 16:23:32 +01:00
Tomasz Drwięga
99a6802b61
Moving block sealing and transaction_queue to separate create
2016-03-08 15:46:44 +01:00
Tomasz Drwięga
1184679d23
Merge branch 'tx_queue_integration' into tx_queue_rpc
2016-03-08 10:17:01 +01:00
debris
bcae4f6e7b
fixed jsonrpc reporting current block is one less than actuall, fixed #612
2016-03-07 10:30:19 +01:00
Tomasz Drwięga
67f2bc40e6
Merge remote-tracking branch 'origin/tx_queue_integration' into tx_queue_rpc
2016-03-05 16:49:13 +01:00
Nikolay Volf
bb8a79f18c
finalizing
2016-03-05 18:29:01 +03:00
Nikolay Volf
af5ed8b5f7
rpc-signing-extend
2016-03-04 20:10:07 +03:00
Tomasz Drwięga
410bd263dd
Merge branch 'tx_queue_integration' into tx_queue_rpc
2016-03-04 12:34:34 +01:00
debris
b1a62575c9
fixed PollFilter::PendingTransaction returning empty hash
2016-03-02 14:09:44 +01:00
debris
03ffcd0e64
Merge branch 'master' into rpc_poll_ids
2016-03-02 13:59:03 +01:00
debris
05897ddbb0
fixed pending transaction mock implementation
2016-03-02 05:50:28 +01:00
debris
5f97d51967
renamed poll_indexed to poll_manager
2016-03-02 05:46:38 +01:00
debris
3b4d4a9b63
Merge branch 'master' into rpc_poll_ids
2016-03-02 05:15:21 +01:00
Gav Wood
d55aa54412
Merge branch 'master' into mining
2016-03-02 00:59:39 +01:00
Tomasz Drwięga
c889d9b3eb
Exposing transaction queue pending in RPC
2016-03-01 23:06:51 +01:00
Gav Wood
48df869202
--author and --extra-data options. Fixed null parent-hash.
2016-03-01 16:58:14 +01:00
Gav Wood
1eca9acffb
Fix is_mining.
2016-03-01 02:33:41 +01:00
Gav Wood
5ccb172e73
Hashrate now reported correctly.
2016-03-01 01:52:22 +01:00
Gav Wood
2266d74c2a
Fix JSONRPC I/O.
2016-03-01 01:15:00 +01:00
Gav Wood
394e9c679b
Reorganised ImportError to be a type of Errpr (rather than vice-versa).
...
Added support for eth_submitWork.
2016-03-01 00:02:48 +01:00
Nikolay Volf
d0125f3ff5
uint to separated crate
2016-03-01 00:21:15 +03:00
Gav Wood
ffc5c2ea7b
eth_getwork implemented.
2016-02-29 19:30:13 +01:00
debris
77bfe5ae00
jsonrpc uses weak pointers to client
2016-02-29 11:58:33 +01:00
debris
0318907fb3
rpc eth_getFilterChanges returns new blocks, implemented eth_uninstallFilter
2016-02-24 14:16:05 +01:00
debris
35cabecad8
support for polling
2016-02-23 18:51:29 +01:00
debris
68d546ce02
tests for log serialization
2016-02-17 14:45:25 +01:00
debris
c74c016ce2
moved filter logic from rpc module to ethcore
2016-02-17 14:13:51 +01:00
debris
8b28f627ca
fixed order of eth_getLogs
2016-02-15 13:39:58 +01:00
debris
fada9bb1ba
eth_getLogs implementation
2016-02-15 13:18:26 +01:00
debris
4fe86a4419
eth_getBlockByNumber
2016-02-10 22:54:12 +01:00
debris
93975be5e3
transaction by block number and index
2016-02-10 22:36:59 +01:00
debris
db35e21bcd
few client methods use BlockId instead of hash and BlockNumber
2016-02-10 19:29:27 +01:00
debris
2c360d6c9b
fixed protocol_version, hash_rate, block_number and gas_price methods
2016-02-10 18:26:06 +01:00
debris
a938ac67d1
eth_syncing use best_block_hash instead of last_imported_block_number
2016-02-10 18:03:29 +01:00
debris
9159d5812b
eth_syncing, fixed #397
2016-02-10 16:28:59 +01:00
debris
5347d4fe43
changed BlockPosition -> Location
2016-02-10 15:15:28 +01:00