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
Nikolay Volf
2d992d0c29
Merge branch 'master' into types-binary
...
Conflicts:
ethcore/src/error.rs
2016-05-14 23:12:18 +03: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
Nikolay Volf
14bcca54d2
block status moved
2016-05-06 00:47:47 +04:00
Nikolay Volf
beb33672bd
blockchain info
2016-05-05 23:47:07 +04:00
Nikolay Volf
271d3f3e57
ids move
2016-05-05 22:37:30 +04:00
Tomasz Drwięga
15a8860e8a
Fixing clippy warnings
2016-05-04 15:22:22 +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
Marek Kotewicz
7c2adc4137
Tracedb interface && cli ( #997 )
...
* traces cli and jsonrpc api
* missing if in docs
* adding traces to modules
2016-05-02 12:17:30 +02:00
Marek Kotewicz
66477a9476
Core tracedb functionality. ( #996 )
...
* fixed encoding 0u8
* simplified if else stmt
* tracedb core
* more comprehensive tracedb tests
* fixed minor review issues
* addresses filter
* fixed typos
* replace malformed with corrupted
* trace switch
* db key is generic and can be made smaller
* smaller tracedb keys
* tracedb version
* fixed ignored tests
* rename Tracedb -> TraceDB
* fixed typos
* proves
* trace only top level calls to builtins to avoid DDoS attacks
* fixed tracedb config switches
* fix comments fat replaced with trace
* vector-addressing scheme for localized traces
* removed comments
* removed first, redundant 0 from trace address
* updated db.trace method
* additional tests for tracedb.trace()
2016-04-30 16:41:24 +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
Arkadiy Paronyan
e47af7f745
Merge pull request #966 from ethcore/from-bytes-extend
...
Addressing binary serialization for db types
2016-04-20 18:17:00 +02:00
Marek Kotewicz
225a5ee825
removed redundant unwraps ( #935 )
...
* removed redundant unwraps
* fixed compilation error, removed warnings
* fixed transaction queue merge conflict
* fixed failing ethminer doc test
2016-04-19 10:35:32 -07:00
Nikolay Volf
3138584320
generalized fixedsized structs with macro
2016-04-17 18:52:44 +03:00
Tomasz Drwięga
00372cf747
Removing a transaction from queue now removes all from this sender with lower nonces. ( #950 )
...
* Changing to wipe-out all transactions from particular sender lower then given nonce.
* Changing given nonce to be client_nonce
* Fixing test_client to support proper nonces when transactions are added to blockchain
* Fixing logic for transactions from new blocks in chain
2016-04-14 22:38:23 -07:00
Gav Wood
32ca8066e9
Tracing and docs. ( #952 )
2016-04-13 11:26:41 -07:00
Gav Wood
fa95419c27
--pruning=auto option.
2016-04-11 18:42:50 -07:00
Marek Kotewicz
373284ca0a
spec loading cleanup ( #858 )
...
* spec loading cleanup in progress
* changed engine field in json spec
* refactored engine params
* polishing spec loading refactor
* fixed compiling json tests
* fixed compiling parity
* removed warnings
* removed commented out code
* fixed failing test
* bringing back removed TODO in spec.
2016-04-09 10:20:35 -07:00
arkpar
9b7c48110a
Fixed eth_call nonce and gas handling
2016-04-06 13:05:58 +02:00
debris
0681346201
fixed #855
2016-04-01 11:26:14 +02:00
Gav Wood
ad86feb667
Rename spawn -> boxed_clone
2016-03-28 09:42:50 +02:00
Gav Wood
7c5b171e3f
Differentiate between ClosedBlock (can be reopened) and LockedBlock (cannot).
...
`ClosedBlock`s still keep the pre-finalised state (i.e. state after the last transaction).
`LockedBlock`s do not. New mining algo needs to reopen these `ClosedBlock`s, however enactment
system does not (and `ClosedBlock`s are slower & more hungry), hence the distinction.
2016-03-27 20:33:23 +02: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
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
d7fb464fa9
Merge pull request #798 from ethcore/eth_rpc
...
another batch of rpc improvements
2016-03-22 18:38:55 +01:00
debris
0cdac6de3c
uncle
2016-03-22 16:07:42 +01:00
debris
068c0f3782
test for eth_getTransactionReceipt
2016-03-21 11:47:50 +01:00
Gav Wood
74f7f3f016
Merge pull request #792 from ethcore/eth_getTransactionReceipt
...
eth_getTransactionReceipt
2016-03-20 19:43:49 +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
Gav Wood
dcb23de65c
Merge pull request #771 from ethcore/tx_queue_timeout
...
Disable preparing work package if miners don't ask for it.
2016-03-20 16:29:13 +01:00
Tomasz Drwięga
40fc3dc060
Merge branch 'master' into tx_queue_timeout
2016-03-20 12:16:57 +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
fef8237701
fixes after merge
2016-03-20 10:07:50 +01:00
debris
46bfed6750
Merge branch 'call' into eth_call
2016-03-20 10:05:22 +01:00
debris
521f2a1433
implemented eth_call
2016-03-19 21:37:11 +01:00
Gav Wood
66837452c2
Expose tracing all the way to BlockChain; now it's up to blockchain to integrate.
2016-03-19 13:37:47 +01:00
Gav Wood
1bfcbca8af
Add doumentation, make tracing optional and expose at OpenBlock level.
2016-03-19 12:54:34 +01:00
Tomasz Drwięga
f8dd1a6354
Merge branch 'master' into tx_queue_timeout
...
Conflicts:
ethcore/src/client/test_client.rs
miner/src/miner.rs
2016-03-18 19:36:32 +01:00
Gav Wood
2309e19fd9
Merge pull request #760 from ethcore/tx_queue_gas_limit
...
Avoid importing transactions with gas above 1.1*block_gas_limit to transaction queue
2016-03-18 18:05:26 +01:00
Tomasz Drwięga
7d77324765
BlockGasLimit taken from push_transaction result
2016-03-18 14:22:50 +01:00
Tomasz Drwięga
0dc1ddef9a
Flipping sealing_enabled flag after no requests for sealing_block for some time
2016-03-18 13:59:11 +01:00
Tomasz Drwięga
7fb365634a
Updating gas_limit in test_client generated blocks
2016-03-18 10:36:01 +01:00
Tomasz Drwięga
c4021a77ca
Stop adding transactions right after we know that no other will make it to block.
2016-03-17 14:40:40 +01:00
Tomasz Drwięga
c382fa7eab
Removing invalid transactions from queue
2016-03-17 12:29:55 +01:00
Gav Wood
7ba396b8d3
Merge pull request #687 from ethcore/pv63-receipts
...
PV63 receipts response
2016-03-14 20:18:10 +01:00
Gav Wood
7628df6fe6
Merge pull request #723 from ethcore/rpc_tests
...
another batch of rpc tests
2016-03-14 19:18:08 +01:00
Nikolay Volf
8cdb013f9f
Merge branch 'master' into pv63-receipts
...
Conflicts:
ethcore/src/client/client.rs
2016-03-14 17:36:51 +01:00
debris
0de73609d2
eth_hashrate && eth_submitHashrate tests
2016-03-14 14:18:29 +01:00
Nikolay Volf
8f4323f3bb
Merge branch 'master' into pv63-receipts
...
Conflicts:
ethcore/src/client/test_client.rs
2016-03-14 11:06:28 +01:00
Gav Wood
dc8b9c3205
Fix build.
2016-03-14 10:48:32 +01:00
Gav Wood
f6b7884a1d
Allow configuration of target gas limit.
2016-03-14 02:00:22 +01:00
Gav Wood
b4f7f220f1
Merge remote-tracking branch 'origin/master' into merge_ethminer
2016-03-13 16:35:52 +01:00
Nikolay Volf
809c239ff8
fix rev
2016-03-13 15:59:25 +01:00
Gav Wood
76696e3b49
Minor build fixes.
2016-03-13 15:36:03 +01:00
Gav Wood
08b9cc2c41
Merge changes from #674 into branch.
2016-03-13 15:29:55 +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
487ba9b08a
implemented eth_storageAt rpc method, added more tests for rpc
2016-03-13 12:09:30 +01:00
Marek Kotewicz
1f8e0f86ac
Merge pull request #688 from ethcore/updating_clippy
...
Updating clippy
2016-03-13 10:07:44 +01:00
debris
e09de6ea3d
added missing eth_getBalance rpc method and tests for it
2016-03-12 19:51:24 +01:00
Nikolay Volf
0684abd345
fixed to return receipts grouped by requested block
2016-03-12 19:23:17 +01:00
Nikolay Volf
bd9cfb4ee5
Merge branch 'pv63-state' into pv63-receipts
2016-03-12 18:52:37 +01:00
Nikolay Volf
ade8b8356b
Merge branch 'master' into pv63-state
...
Conflicts:
ethcore/src/client/client.rs
2016-03-12 18:09:45 +01:00
Tomasz Drwięga
65dadcc2a2
Adding todos
2016-03-12 10:44:24 +01:00
Tomasz Drwięga
d0f7555348
Merge branch 'master' into updating_clippy
...
Conflicts:
util/src/journaldb/archivedb.rs
2016-03-12 10:40:22 +01:00
Tomasz Drwięga
4b6e1dd4d2
Fixing warnings
2016-03-12 10:25:51 +01:00
Tomasz Drwięga
3ea52c2324
Merge branch 'master' into ethminer_crate
...
Conflicts:
parity/main.rs
2016-03-12 10:22:43 +01:00
Nikolay Volf
fb51ac0d95
blockchain receipts rlp generation
2016-03-11 23:33:01 +01:00
arkpar
896ba57555
Merge branch 'master' of github.com:ethcore/parity into jdb_option2
2016-03-11 22:43:59 +01:00
Nikolay Volf
19f23f8445
increasing history to be useful for geth fast sync
2016-03-11 23:37:47 +04:00
Nikolay Volf
e970dd4530
client state data func
2016-03-11 23:09:14 +04:00
Tomasz Drwięga
c3a79c1478
Merge branch 'master' into ethminer_crate
...
Conflicts:
ethcore/src/client/client.rs
parity/main.rs
sync/src/chain.rs
sync/src/lib.rs
2016-03-11 19:22:40 +01:00
Gav Wood
38d470f3bc
Reorganise command line options into more general engine.
2016-03-11 14:45:19 +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
Gav Wood
4771fdf0fb
Rearrange journaldb infrastructure.
2016-03-11 13:50:39 +01:00
Gav Wood
2a856a13f0
Obvious typo fix.
2016-03-11 13:21:53 +01:00
Gav Wood
d71c5d4c17
Place Sync/Send in trait.
2016-03-11 13:19:10 +01:00
Gav Wood
e461916f5a
Merge remote-tracking branch 'origin/master' into boxjdb
2016-03-11 12:56:33 +01:00
debris
ebd2a92267
Merge branch 'master' of github.com:ethcore/parity into client_submodules
2016-03-11 11:17:08 +01:00
debris
bfac5f9238
Merge branch 'master' of github.com:ethcore/parity into client_submodules
2016-03-11 11:03:52 +01:00
debris
a6d268db16
fixed missing reexport
2016-03-11 10:30:13 +01:00
debris
87dd42f7bc
Merge branch 'master' of github.com:ethcore/parity into client_submodules
2016-03-10 21:17:58 +01:00
debris
c5c8851b50
moved TestBlockChainClient to ethcore
2016-03-10 20:27:50 +01:00
debris
6681aaf76a
split client into few submodules
2016-03-10 11:32:10 +01:00