Joseph Mark
0fca4f95d6
Errors & warnings for inappropriate RPCs ( #6029 )
...
* Clarify function name
Function checks if sealing is currently underway, not to be confused
with checking whether the engine performs internal sealing.
* Error when work called on internal sealing engine
* Error submitting work for internal sealing engine
* Fix inverted bool and style grumbles
* Add can_produce_work_package to TestMinerService
* Error when setting engine signer on PoW chain
* Unit tests for engine signing
Setting engine signer should fail if chain does not seal internally
or client lacks account provider.
* Tweak TestMinerService
* Fix minor style grumbles
2017-07-12 08:52:18 +02:00
Axel Chalon
d970237658
Add test for loading the chain specs ( #6028 )
...
* Add test for loading the json chain specs
* Remove test on Ethereum specs as it already exists
2017-07-10 19:26:10 +02:00
Nikolay Volf
62210fb932
WASM contracts MVP ( #5679 )
...
* lifetime issues
* refactor to new 'native env'
* descriptors and such
* wasm mvp continued
* finalized env/ext bindings
* descriptor -> call_args
* inject gas counter
* result processing and engine activation
* tabify some source files
* needs return new
* wasm tests initial
* erradicate warnings
* origin in the descriptor
* update test repo
* payload verification tests
* identity return payload test
* some test description
* dispersion test
* check length here
* suicidal contract
* engine params
* fix typo
* review fixes
* submodule update
* update - purge reserved space
* doc effort
* more review fixes
* fix error message
* fix dependency url
* reorg error handling
* update submodule
* update utils
* update to latest parity-wasm
* tabify
* fix wasm magic header
* update dependencies
* external create and tests
* update to latest tests
* extra trace info
* Update parity-wasm
* update wasm-utils also
* few traces and result handle change
* alter trace content
* fix issues with optimizer, update to latest parity with validator, etc
* static initialization
* license preamble
* update wasm crates and gas costs
* fix grumbles
* bring back lifetime
* fix compilation
2017-07-10 17:42:10 +02:00
Arkadiy Paronyan
15aebacbe7
--reseal-on-uncle ( #5940 )
...
* --reseal-on-uncle
* Optimized uncle check
* Additional uncle check
* Updated comment
2017-07-10 13:36:42 +02:00
Tomasz Drwięga
f4453f77b8
Fix output of parity-evm in case of bad instruction ( #5955 )
...
* Fix output of evmbin.
* Use foundation chain settings by default.
2017-07-10 13:23:40 +02:00
Robert Habermeier
67c1f71b6e
Proper light client informant and more verification of imported headers ( #5897 )
...
* do more validation of imported headers in light client
* generalize informant with traits
* informant implementation for light client
* make comment into TODO
* fix broken test
* disable full checking of headers in light client in sync tests
2017-07-10 13:21:11 +02:00
Tomasz Drwięga
a24b6ad983
Use standard paths for Ethash cache ( #5881 )
...
* Use cache path to store ethash files.
* Fixing tests, more flexible API.
* Use AsRef<Path> everywhere.
* Fixing ethcore tests.
* Fix RPC tests.
2017-07-10 12:57:40 +02:00
Robert Habermeier
125aa0aeb4
Merge pull request #5959 from paritytech/dont-compute-hash
...
Defer code hash calculation.
2017-07-06 19:00:19 +02:00
debris
1c2a4c116a
Merge branch 'master' into serdeup
2017-07-06 11:43:46 +02:00
debris
61d8f90530
updated serde to version 1.0
2017-07-06 11:36:15 +02:00
Marek Kotewicz
46183b1cdd
bigint upgraded to version 3.0 ( #5986 )
...
* bigint upgraded to version 3.0
* fixed missing FromHex import in ethcore tests
* fixed missing FromHex import in rpc tests
2017-07-06 11:26:14 +02:00
Vurich
2e90e02a2c
Fix underflow
2017-07-03 17:43:03 +02:00
Tomasz Drwięga
f22745eb0a
TransactionQueue improvements ( #5917 )
...
* Order by id instead of hash.
* Minimal gas price bump.
* Avoid to construct oversized transaction packets.
* Fix RPC.
* Never construct oversized transactions packet.
* Never construct oversized packets.
2017-06-30 11:57:48 +02:00
Tomasz Drwięga
5d9f5e3509
Defer code hash calculation.
2017-06-30 11:30:32 +02:00
Tomasz Drwięga
38c00fae88
Merge branch 'master' into evm-defer
2017-06-29 18:42:58 +02:00
Tomasz Drwięga
465c7eeaa2
Defer construction valid_jump_destinations.
2017-06-29 17:43:34 +02:00
Vurich
01ce28bc9a
Fix tests
2017-06-29 13:05:33 +02:00
Vurich
3d8dc11442
Upgrade elastic-array
to 0.9.0
...
This is a huge change, which includes some changes to replace code that
originally cloned to reuse allocations instead. The updated
`elastic-array` crate renames its consuming `Vec`-conversion method to
`into_vec`, which means that I can do a simple
`sed -i 's/to_vec/into_vec/'` and then fix the compilation errors.
This commit is probably a minor performance win and definitely a
significant readability win.
2017-06-29 13:05:33 +02:00
Robert Habermeier
d069b98b45
PoA: Wait for transition finality before applying ( #5774 )
...
* final engine changes
* migration to v13
* adding and removing pending transitions
* epoch_transition_for
* port snapshot to new engine methods
* final validator set interface
* fix compiler errors
* revert v13/epoch_depth transition
* make call on new epoch
* rolling finality checker
* tests for finality checker
* constructing finality proof upon pending transition
* fix warnings and finality proof checking
* fix compiler warnings in tests
* test fixes
* don't include genesis in finality checking
* change snapshot test chain building logic
* minor refactorings
* fetch epoch transition based on parent, fix divide-by-zero in SimpleList
* fix formatting
* fix ABIs and finality checking in snapshot restoration
* encode signal number in proof
* create more blocks at the end of tests
* update gist to accurate contract code
* test for epoch_transition_for
* fix tests with immediateTransitions parameter
* disable force flag after forcing
* rename ValidatorsChanged to InitiateChange and finalizeSignal to finalizeChange
* a few more validator set tests
2017-06-28 13:17:36 +02:00
Jef
72094a8bee
Reduce unnecessary allocations ( #5944 )
2017-06-28 09:36:42 +02:00
Arkadiy Paronyan
57626b60e7
EIP-168, 169: Dust protection ( #4757 )
...
* Dust protection
* Track touched accounts in the substate
* Minor alterations
2017-06-28 09:10:57 +02:00
Robert Habermeier
796482c129
fix minor race condition in aura seal generation ( #5910 )
2017-06-22 20:44:04 +02:00
Arkadiy Paronyan
4d5280e43c
removed panic handlers ( #5895 )
2017-06-22 19:00:53 +02:00
Stewart Mackenzie
d152fa3e85
Ethereum Classic Monetary Policy ( #5741 )
...
* Ethereum Classic Monetary Policy
Create a new parameter `ecip1017EraRounds`. When the block number
passes one era rounds, the reward is reduced by 20%.
See https://github.com/ethereumproject/ECIPs/blob/master/ECIPs/ECIP-1017.md
* Update rewards for uncle miners for ECIP1017
In the monetary policy, the rewards are changed from "up to 7/8 of the
reward" to "1/32 of the reward".
* Fix an off-by-one error in ECIP1017 era calculation
According to
https://github.com/ethereumproject/ECIPs/blob/master/ECIPs/ECIP-1017.md ,
when in block number 5,000,000, it should still be in Era 1 (which in
our code `era == 0`). So we need to check whether the `rem` equals to
zero and act accordingly when calculating the era.
* `ecip1017_era_rounds` missing from EthashParams when run in build bot
* strip out ecip1017_eras_block_reward function and add unit test
2017-06-19 18:56:37 +02:00
Robert Habermeier
bedce59a6f
Merge pull request #5867 from guanqun/small-fixes
...
ArchiveDB and other small fixes
2017-06-19 14:03:48 +02:00
Robert Habermeier
b84be93bb7
Merge pull request #5866 from guanqun/remove-try
...
convert try!() to ?
2017-06-19 14:02:58 +02:00
Marek Kotewicz
575c51f5a0
eip214, #4833 ( #4851 )
2017-06-19 11:41:46 +02:00
Guanqun Lu
4eff7abf3b
StateDB: change spaces to tab
2017-06-18 23:13:27 +08:00
Guanqun Lu
41fed96d96
convert try!() to ?
2017-06-18 22:16:34 +08:00
Robert Habermeier
ca27234a59
minor optimizations of the modexp builtin
2017-06-17 21:18:52 +02:00
Tomasz Drwięga
963bcba267
Merge branch 'master' into unlock
2017-06-14 12:06:27 +02:00
Tomasz Drwięga
efc46e78f1
Fix description of AccountProvider setting.
2017-06-14 12:06:15 +02:00
Tomasz Drwięga
fb3668f903
Adding missing documentation. ( #5821 )
2017-06-13 18:38:10 +03:00
arkpar
4b74f65ed8
Fixed mem write for empty slice v2
2017-06-12 22:45:57 +02:00
Arkadiy Paronyan
033a75888c
Revert "Fixed mem write for empty slice ( #5825 )" ( #5826 )
...
This reverts commit 6b874cedb8
.
2017-06-12 22:43:20 +02:00
Arkadiy Paronyan
6b874cedb8
Fixed mem write for empty slice ( #5825 )
2017-06-12 22:42:58 +02:00
Robert Habermeier
edea41d35e
enforce block signer == author field in PoA ( #5808 )
2017-06-12 12:54:34 +03:00
Tomasz Drwięga
75ac263961
Fix stack display in evmbin. ( #5733 )
...
* Fix stack display.
* Additional compatiblity fixes.
2017-06-09 12:31:03 +02:00
Anton Gavrilov
06eb561af5
Duration limit made optional for EthashParams ( #5777 )
...
* Duration limit made optional for EthashParams
* Forgotten space added
2017-06-09 12:24:23 +02:00
Tomasz Drwięga
52f7978d4d
Merge branch 'master' into unlock
2017-06-07 17:07:32 +02:00
Guanqun Lu
05aa960c25
use NULL_RLP, remove NULL_RLP_STATIC ( #5742 )
2017-06-07 11:58:39 +02:00
Tomasz Drwięga
19f01194b1
Blacklist empty phrase account. ( #5730 )
2017-06-07 11:34:53 +02:00
Tomasz Drwięga
f5d0fa2c21
Merge branch 'master' into unlock
2017-06-06 18:41:00 +02:00
Tomasz Drwięga
a5299bdb1a
Unlocking with secrets.
2017-06-06 18:06:40 +02:00
Arkadiy Paronyan
99bfef2801
EIP-211 RETURNDATACOPY and RETURNDATASIZE ( #5678 )
...
* EIP-211
* Optimized memory usage
* Optimized truncation
2017-06-06 18:47:12 +03:00
Guanqun Lu
5a20c63b70
two small changes in evm ( #5700 )
...
* add a simple test for is_push so that every small utility has a corresponding unit test
* split evm/factory.rs into two files as the TODO suggests
* style fixes according to review comments
2017-05-30 19:31:43 +02:00
Arkadiy Paronyan
e6a31e7543
EIP-210 BLOCKHASH changes ( #5505 )
...
* EIP-210
* comment
2017-05-30 11:52:33 +02:00
Tomasz Drwięga
543965411e
Revamping parity-evmbin ( #5696 )
...
* Revamping evmbin to support spec files, json format and subcalls.
* Fix formatting of usage.
2017-05-26 11:06:48 +02:00
Nikolay Volf
e1fef5c732
Update dependencies and bigint api ( #5685 )
...
* update to latest bigint
* bump elastic array and deps
* fix rlp tests
* also update all smallvec deps
* fix doc test
* reduce parking in attempt to fix CI bug
* fix from/into electum bug
* remove duplicate imports
2017-05-24 12:31:33 +02:00
Arkadiy Paronyan
dd004aba9f
EIP-140 ( #5477 )
2017-05-23 16:49:17 +03:00
Tomasz Drwięga
f38cc8e182
Latest headers Pub-Sub ( #5655 )
...
* Signer subscription.
* Fixing RPC tests.
* Block Headers eth-pubsub.
* PubSub for light client.
* Fixing tests.
* Updating to proper jsonrpc version.
* Update to correct tests.
* Fixing tests.
2017-05-23 12:26:39 +02:00
Tomasz Drwięga
f47cbe0be6
Adding CLI options: port shift and unsafe expose. ( #5677 )
...
* Adding CLI option for port shift and unsafe expose.
* Fixing IPC path.
* Fix hosts when attempting to expose on all interfaces.
* Fixing test.
* Fix typo.
2017-05-23 12:24:32 +02:00
keorn
532801f9d6
Report missing author in Aura ( #5583 )
...
* report missing block
* add a test validator set
* add a skip test
* clean up test
* report all skipped
2017-05-22 08:21:34 +02:00
Tomasz Drwięga
3ff72794e5
Create an account for chain=dev ( #5612 )
...
* implement From<&'static str> for Secret
* Dev account.
* Fix Secret semantics.
2017-05-19 17:06:36 +02:00
Guanqun Lu
6d81b8a49a
use copy_from_slice instead of for loop ( #5647 )
2017-05-18 12:46:14 +02:00
Robert Habermeier
4c5e4ac8da
PoA warp implementation ( #5488 )
...
* separate modules for consensus snapshot chunks
* bulk of authority warp logic
* finish authority warp implementation
* squash warnings and enable authority snapshot mode
* test harness for PoA
* fiddle with harness
* epoch generation proof fixes
* update constructor code
* store epoch transition proof after block commit
* basic snap and restore test
* use keyvaluedb in state restoration
* decompress chunks
* fix encoding issues
* fixed-to-contract-to-contract test
* implement ancient block import
* restore genesis transition in PoW snapshot
* add format version method to snapshot components
* supported version numbers in snapshot_components
* allow returning of ancient epoch transitions
* genesis hash mismatch check
* remove commented code
2017-05-17 12:41:33 +02:00
Robert Habermeier
5d973f8ef5
Merge pull request #5419 from paritytech/on-demand-priority
...
Improve on-demand dispatch and add support for batch requests
2017-05-17 12:28:27 +02:00
keorn
945c1a9478
add monotonic transition to kovan ( #5587 )
2017-05-15 21:34:01 +01:00
Robert Habermeier
4df1772078
Merge pull request #5595 from paritytech/no-warp-if-disabled
...
only enable warp sync when engine supports it
2017-05-13 15:04:06 +02:00
Robert Habermeier
56768ff237
only try to warp when engine supports it
2017-05-10 17:12:00 +02:00
Robert Habermeier
0fd3e36c23
Merge branch 'master' into on-demand-priority
2017-05-10 12:18:30 +02:00
Guanqun Lu
a4b0e0c93c
fix the doc of installing rust
...
multirust is deprecated.
2017-05-10 17:13:40 +08:00
YaNing Zhang
0bd4d5bb0c
Typo ( #5547 )
2017-05-07 14:33:52 +02:00
Robert Habermeier
6dd1fe0312
reorg into blocks before minimum history ( #5558 )
2017-05-05 15:01:19 +01:00
Arkadiy Paronyan
ed7c366b90
EIP-86 fixes ( #5506 )
2017-05-05 15:00:40 +01:00
keorn
a3d9cce7c5
Pass additional data when reporting ( #5527 )
...
* pass additional data when reporting
* checkout correct tests
2017-05-03 09:01:24 +02:00
Robert Habermeier
60bb0de9d6
Calculate post-constructors state root in spec at load time ( #5523 )
...
* apply contract constructors at spec load time
* debugging
* do trie updates in two stages
* add lint exception to newly-dead constructor
* squash warning in RPC tests
* kill dead accountdb constructors
* restore accountdb constructors under test configuration
* use provided state root in spec, if it exists
2017-05-03 09:00:02 +02:00
Robert Habermeier
35958a0965
Merge pull request #5454 from paritytech/aura-contract-warp
...
Groundwork for generalized warp sync
2017-04-25 17:58:13 +02:00
Robert Habermeier
6a5702f27c
address grumbles
2017-04-24 13:14:50 +02:00
Robert Habermeier
7ab92f0807
epoch generation proof fixes
2017-04-22 18:56:34 +02:00
Robert Habermeier
0768ce3600
Merge pull request #5307 from paritytech/eip-212
...
EIP-212 (bn128 curve pairing)
2017-04-21 13:10:57 +02:00
NikVolf
7a1db0852b
fix typo
2017-04-21 12:10:41 +03:00
Robert Habermeier
f18f81ec58
Merge pull request #5479 from paritytech/fix-tree-route-panic
...
fix panickers in tree-route
2017-04-20 18:31:16 +02:00
Robert Habermeier
ee25249729
Merge pull request #5473 from paritytech/eip86
...
Correct contract address for EIP-86
2017-04-20 17:21:16 +02:00
Robert Habermeier
167d06d727
fix panickers in tree-route
2017-04-20 16:21:53 +02:00
Robert Habermeier
468a7a4a77
bloom check test
2017-04-20 16:09:43 +02:00
Afri
a16fb04280
Force two decimals for USD conversion rate ( #5471 )
2017-04-19 22:59:02 +02:00
Robert Habermeier
240c111ebb
fix indent
2017-04-19 20:44:11 +02:00
Robert Habermeier
6652df03df
Merge branch 'master' into aura-contract-warp
2017-04-19 20:43:24 +02:00
Robert Habermeier
2ec3397b7d
snapshot chunk and restore traits
2017-04-19 20:31:53 +02:00
arkpar
97052f3912
null_sign with network id
2017-04-19 19:10:12 +02:00
Robert Habermeier
4d3f137e1e
iterate over all epochs
2017-04-19 16:28:16 +02:00
Robert Habermeier
af868a7439
ensure genesis validator set in DB
2017-04-19 15:35:12 +02:00
Robert Habermeier
a278dd5a0a
store epoch transition proofs in DB
2017-04-19 14:58:19 +02:00
arkpar
04e581db61
Correct contract address for EIP-86
2017-04-19 14:50:56 +02:00
Arkadiy Paronyan
b50fb71dd1
EIP-86 ( #4697 )
...
* EIP-86
* Disable EIP-86 auto activation for now
2017-04-19 14:30:00 +02:00
Robert Habermeier
f6f9816ef4
epoch verifier rename
2017-04-18 14:19:10 +02:00
Robert Habermeier
e1fa4ab8ec
verify_external in verifier trait
2017-04-13 20:34:16 +02:00
Robert Habermeier
715d5daafe
ChainVerifier for memoizing validator sets
2017-04-13 20:24:21 +02:00
Robert Habermeier
a98052fe74
Merge branch 'master' into on-demand-priority
2017-04-13 16:44:47 +02:00
arkpar
314af4cdae
Use in-memory database in tests
2017-04-13 12:17:53 +02:00
Robert Habermeier
b4f3e30cd6
detect changes in safe_contract
2017-04-12 22:10:18 +02:00
Robert Habermeier
34a1512ff0
skeleton for proof checking
2017-04-12 18:55:38 +02:00
Robert Habermeier
ec922ee5e4
supply optional call context to validator sets
2017-04-12 16:42:19 +02:00
Robert Habermeier
0f80c57dca
use native contracts in ValidatorSet
2017-04-12 16:15:35 +02:00
Robert Habermeier
2d8a8bd3e5
engine changes
2017-04-12 14:41:19 +02:00
Arkadiy Paronyan
15ae24b541
New state tests ( #5418 )
...
* General state tests
* Allow dir name for a test
2017-04-12 13:33:49 +02:00
Robert Habermeier
7723d6281b
starting memoized validatorset
2017-04-12 12:46:25 +02:00
Robert Habermeier
daf1495c4e
Filters and block RPCs for the light client ( #5320 )
...
* block_hash method for LightChainClient
* abstraction and futures-based eth_filter
* log fetching for light client
* add eth-filter delegate
* eth_block fetching RPCs
* return default accounts from on_demand
* fix early exit
* BlockNumber -> BlockId
* early exit for no known block number.
2017-04-12 12:07:54 +02:00
Robert Habermeier
a254b2098f
more useful Engine::verify_seal
2017-04-11 17:07:04 +02:00
keorn
d3b2bcdd79
Tendermint fixes ( #5415 )
...
* more resilience
* refactor commit
* fix proposal broadcast
* list encoding
* address grumbles
* to into
2017-04-10 20:03:18 +02:00
Robert Habermeier
bbe0eb96f4
Merge branch 'master' into on-demand-priority
2017-04-10 19:53:53 +02:00
Robert Habermeier
68ec7ae41e
tests for on_demand
2017-04-07 19:35:39 +02:00
Robert Habermeier
50886fcb31
Merge pull request #5318 from paritytech/snapshot-v2
...
Snapshot chunks packed by size
2017-04-07 14:45:42 +02:00
Robert Habermeier
cf75a19e8d
Merge branch 'block_header_rpc' into on-demand-priority
2017-04-06 17:59:55 +02:00
NikVolf
9bcd1245d9
fix typo
2017-04-06 11:04:28 +03:00
arkpar
03ec27be66
Removed assert
2017-04-05 16:50:06 +02:00
Robert Habermeier
8486e79cad
Merge pull request #5002 from paritytech/lightcli
...
Quick'n'dirty CLI for the light client
2017-04-05 13:50:17 +02:00
arkpar
81db3461fe
Added an assert
2017-04-05 12:27:37 +02:00
Robert Habermeier
e2dfea8c12
set gas limit before proving transactions
2017-04-05 12:05:55 +02:00
Robert Habermeier
60ce0aee1a
Merge branch 'lightcli' into light-filters
2017-04-03 12:55:31 +02:00
Robert Habermeier
394040e22c
Merge branch 'master' into lightcli
2017-04-03 12:44:52 +02:00
NikVolf
df72c9c6cc
fold multiplication
2017-04-03 12:57:18 +03:00
Robert Habermeier
c9c8f920d2
Futures-based native wrappers for contract ABIs ( #5341 )
...
* initial native contract generator
* get generated code compiling
* unit tests for type codegen
* autogenerate registry contract
* native_contracts entry for registry
* service_transaction_checker
* fixed indentation
2017-04-03 09:40:18 +02:00
Robert Habermeier
8c715e025a
Merge branch 'lightcli' into light-filters
2017-04-03 09:03:12 +02:00
Robert Habermeier
3eece20967
Merge branch 'master' into lightcli
2017-04-03 08:58:20 +02:00
Robert Habermeier
21e21f1e02
Merge pull request #5337 from paritytech/kovan-receipt-fix
...
Kovan warp sync fixed
2017-04-02 18:26:49 +02:00
keorn
84abf5d84f
Aura eip155 validation transition ( #5362 )
...
* add eip155 validation
* add transition block
2017-04-01 13:21:22 +02:00
NikVolf
d6baadbaf2
fix doc comment about failing
2017-03-31 17:53:26 +03:00
NikVolf
569d63d0c9
fix assertions
2017-03-31 17:46:44 +03:00
NikVolf
2f30b03060
some tests
2017-03-31 17:38:31 +03:00
NikVolf
d34aec29ed
finalize
2017-03-31 17:38:30 +03:00
NikVolf
9271dd0cc7
wip
2017-03-31 17:38:30 +03:00
NikVolf
3d2e9efb1e
P1, P2 definition
2017-03-31 17:38:30 +03:00
arkpar
b840ab8f8b
Compact chunks
2017-03-31 16:31:12 +02:00
Robert Habermeier
d146ae7275
Merge pull request #4999 from paritytech/eip-213
...
EIP-213 (bn128 curve operations)
2017-03-31 14:54:07 +02:00
keorn
2398311455
add eip155 validation ( #5346 )
2017-03-30 20:01:19 +02:00
arkpar
3915943f57
Kovan warp sync fixed
2017-03-30 13:13:43 +02:00
Tomasz Drwięga
d2394d3ac3
Updating paths to repos. ( #5330 )
...
* Updating paths to repos.
* Updating rotor and libusb
* Fixing other occurrences
2017-03-29 15:17:27 +02:00
Tomasz Drwięga
d4684d6302
Separate status for canceled local transactions. ( #5319 )
2017-03-29 14:43:55 +02:00
Robert Habermeier
73fa0cdc31
eth_block fetching RPCs
2017-03-28 17:15:36 +02:00
keorn
a61b1567d0
Strict validation transitions ( #4988 )
...
* ability to make validation stricter
* fix consensus
* remove logger
2017-03-28 10:46:52 +02:00
NikVolf
efe0f8449c
Merge remote-tracking branch 'origin/master' into eip-213
2017-03-27 18:18:22 +03:00
NikVolf
c313857485
fix error handling
2017-03-27 18:17:49 +03:00
Robert Habermeier
1ca1a4b1cc
Merge pull request #5019 from paritytech/snapshot-v2
...
Fine grained snapshot chunking
2017-03-27 16:57:02 +02:00
Marek Kotewicz
23d3b79d9a
eip100b ( #5027 )
...
* eip100b
* fix eip100b build and tests
* Conventional comparison order
2017-03-27 11:42:40 +02:00
arkpar
387a5fb03b
Doc
2017-03-26 13:26:20 +02:00
NikVolf
34fb39da5b
avoid allocating string
2017-03-25 23:30:11 +03:00
arkpar
b0a9c1e0fa
Limit by entry count
2017-03-25 15:25:20 +01:00
arkpar
b52c7bba4b
Fewer allocations
2017-03-25 13:22:25 +01:00
arkpar
4ef89b5ccb
Fine grained snapshot chunking
2017-03-25 13:22:25 +01:00
Robert Habermeier
109012cae8
force earliest era set in snapshot restore ( #5021 )
2017-03-25 10:00:50 +01:00
NikVolf
434ed1b91c
remove alt_
2017-03-24 15:35:00 +03:00
Robert Habermeier
da837fa9d8
Merge branch 'master' into lightcli
2017-03-23 14:12:42 +01:00
Tomasz Drwięga
bb1bbebfd6
Export account RPC ( #4967 )
...
* Export account RPC
* Removing GethDirectory and ParityDirectory
* Updating ethstore-cli help.
2017-03-23 13:23:03 +01:00
keorn
9fdd0e3a0a
Switching ValidatorSet ( #4961 )
...
* add multi validator set
* nicer comment
* validate in constructor
* reporting
2017-03-23 13:19:28 +01:00
Robert Habermeier
64cec5ff7d
Implement PIP messages, request builder, and handlers ( #4945 )
...
* return errors on database corruption
* fix tests, json tests
* fix remainder of build
* buffer flow -> request credits
* proving state backend
* generate transaction proofs from provider
* network messages for transaction proof
* transaction proof test
* test for transaction proof message
* fix call bug
* request transaction proofs from on_demand
* most of proved_execution rpc
* proved execution future
* initial request definitions
* RLP encoding and decoding for requests
* proofs of non-existance in ProvingBlockChainClient
* new requests in provider.
* encode and decode responses
* complete initial request changes
* handle request packet in LightProtocol
* handle response packets
* implement requesting from
* re-do cost table
* get tests compiling
* fix cost table RLP encoding
* roundtrip tests for request types
* request builder tests
* move request_builder -> request::builder
* get network tests working
* return only complete headers responses
* request builder improvements
* New version of jsonrpc.
* split request filling into fill,complete
* Better invalid encoding messages
* Fixing deprecated methods of tokio_core
* use PIP messages in on_demand, old API
* migrate oneshot::complete to send in on_demand
* get on_demand tests to compile
* port ethsync to PIP messages
* adjust to minor on_demand API changes in RPC
* Using dedicated branch for jsonrpc
* Bump
2017-03-23 13:17:05 +01:00
Robert Habermeier
0abbd7ac97
Merge branch 'pip-msg' into lightcli
2017-03-22 22:08:39 +01:00
Robert Habermeier
dd1a3fc60a
migration to light client mode
2017-03-22 15:58:43 +01:00
Robert Habermeier
a0619fc101
Merge branch 'master' into pip-msg
2017-03-22 15:56:09 +01:00
NikVolf
9d23101c9a
update for rv
2017-03-22 17:43:19 +03:00
Marek Kotewicz
044d070667
rlp deserialization refactor, 30% faster ( #4901 )
...
* fixed naming of rlp modules
* RlpStream cleanup
* appending short rlp lists (0...55 bytes) is 25% faster
* RlpStream does not use bytes module, nor trait Stream
* removed unused code from rlp module
* compiling ethcore-util with new rlp serialization
* compiling parity with new rlp serialization
* fixed compiling ethcore-light with new rlp serialization
* fixed compiling ethsync with new rlp serialization
* moved rlp benches and rlp tests
* rlp deserialization refactor, 30% faster
* removed redundant comment, print
* fixed compiling parity with new rlp deserialization
* removed redundant double-space
* fixed failing test
* updated rlp docs, removed unused traits
* fixed rlp benchmarks
* replace usage of WriteBytesExt with ByteOrder
* removed unused, commented out code
* fixed merge conflict
2017-03-22 14:41:46 +01:00
NikVolf
436ae1333c
trace mapping fix
2017-03-22 16:40:44 +03:00
NikVolf
8a4537fc73
no-input test
2017-03-22 16:31:43 +03:00
NikVolf
d1293d9fb0
fix warnings
2017-03-22 15:54:19 +03:00
NikVolf
3e7dc57289
some tests for simple cases
2017-03-22 15:41:32 +03:00
Robert Habermeier
219eddf33e
Merge branch 'master' into pip-msg
2017-03-22 13:14:28 +01:00
Tomasz Drwięga
7e87e9e8ad
Updating JSON-RPC crates ( #4934 )
...
* New version of jsonrpc.
* Better invalid encoding messages
* Fixing deprecated methods of tokio_core
* Using dedicated branch for jsonrpc
* Bump
2017-03-22 07:02:14 +01:00
Marek Kotewicz
d530cc86f3
splitting part of util into smaller crates ( #4956 )
...
* split path module from util
* moved RotatingLogger from util to logger crate
* fix tests
* fix tests
* use only one version of ansi_term crate
2017-03-22 06:23:40 +01:00
NikVolf
5e34235a36
initial, fallable built-ins
2017-03-22 04:01:46 +03:00
Robert Habermeier
384aeda645
Merge branch 'pip-msg' into lightcli
2017-03-21 21:15:24 +01:00
Robert Habermeier
7ad36ee36c
Merge remote-tracking branch 'upstream/new-jsonrpc' into pip-msg
2017-03-21 21:15:06 +01:00
Robert Habermeier
e99884d0c0
Merge branch 'master' into pip-msg
2017-03-21 21:05:01 +01:00
Robert Habermeier
bc9c1d4824
use a database in ethcore-light
2017-03-21 20:57:13 +01:00
Robert Habermeier
797a3e1cd9
EIP198 and built-in activation ( #4926 )
...
* EIP198 and built-in activation
* address review
2017-03-21 19:36:38 +03:00
Robert Habermeier
fe52e969b6
Merge branch 'master' into pip-msg
2017-03-21 15:24:47 +01:00
Tomasz Drwięga
958a8f66a0
Merge branch 'master' into new-jsonrpc
2017-03-21 09:35:50 +01:00
Tomasz Drwięga
badb3729c9
Changing Mutex into RwLock for transaction queue ( #4951 )
...
* Changing Mutex into RwLock for transaction queue
* Fixing merge
* little fix
2017-03-20 19:15:02 +01:00
keorn
e228de18e2
Disable max seal period for external sealing ( #4927 )
...
* no max sealing when external
* force internal sealing
2017-03-20 19:14:49 +01:00
Marek Kotewicz
a555686bcd
rlp serialization refactor ( #4873 )
...
* fixed naming of rlp modules
* RlpStream cleanup
* appending short rlp lists (0...55 bytes) is 25% faster
* RlpStream does not use bytes module, nor trait Stream
* removed unused code from rlp module
* compiling ethcore-util with new rlp serialization
* compiling parity with new rlp serialization
* fixed compiling ethcore-light with new rlp serialization
* fixed compiling ethsync with new rlp serialization
* removed redundant comment, print
* removed redundant double-space
* replace usage of WriteBytesExt with ByteOrder
2017-03-20 19:14:29 +01:00
Tomasz Drwięga
6fa9393a25
Merge branch 'master' into new-jsonrpc
2017-03-20 10:30:53 +01:00
Tomasz Drwięga
34d28189ea
Remove transaction RPC ( #4949 )
2017-03-19 08:46:51 +01:00
Robert Habermeier
8be41ad946
Merge branch 'master' into pip-msg
2017-03-17 14:13:10 +01:00
Tomasz Drwięga
44052e7d8d
Merge branch 'master' into new-jsonrpc
2017-03-16 16:04:30 +01:00
Tomasz Drwięga
491eeb9878
Better invalid encoding messages
2017-03-16 12:48:51 +01:00
NikVolf
daca82bdfc
fix condition check
2017-03-16 04:16:05 +03:00
NikVolf
131aa14afa
ensure sealing work enabled if notifier registed
2017-03-16 03:38:50 +03:00
keorn
1f7fb1591d
Add reseal max period ( #4903 )
...
* add reseal max period
* fix rpc
2017-03-15 14:04:42 +01:00
Tomasz Drwięga
2dca24cc28
Traces error handling ( #4849 )
2017-03-14 13:04:32 +01:00
Arkadiy Paronyan
43871e393c
Additional kovan params ( #4892 )
2017-03-14 11:41:56 +01:00
Arkadiy Paronyan
e0d554e0ca
Recalculate receipt roots in close_and_lock ( #4884 )
2017-03-13 17:47:43 +01:00
Gav Wood
3041c95408
Chain-selection from UI ( #4859 )
...
* First little bits for chain-selection.
* Provide RPCs and get settings through to user defaults.
* Hasty stash.
* Fix updater accidentally redownloading.
* Finish up.
* Add JS tests.
* Hypervisor should never run a binary modified before itself.
* Style.
* Help tweak.
* Fix test compile.
* Fix JS test
* Build fix for tests.
* Revert default chain name
* Another test
* Use spec name via client.
* Fix mock up.
* whitespace
[ci:skip]
* whitespace
[ci:skip]
* remove exit/restart endpoints.
2017-03-13 12:10:53 +01:00
Marek Kotewicz
3fe3353696
removed redundant FixedHash trait, fixes #4029 ( #4866 )
2017-03-11 22:58:15 +04:00
Arkadiy Paronyan
9047b4b487
Supress USB error message ( #4839 )
2017-03-10 10:25:40 +01:00
Tomasz Drwięga
aedc473f64
Lowering threshold for transactions above gas limit ( #4831 )
2017-03-10 10:11:37 +01:00
Robert Habermeier
868f83e6ca
Merge branch 'master' into pip-msg
2017-03-08 18:55:21 +01:00
keorn
be21671c1c
Calibrate step before rejection ( #4800 )
...
* calibrate before rejection
* change flag name
* fix merge
2017-03-08 17:25:50 +01:00
keorn
a84a10ff03
Add replay protection ( #4808 )
...
* add eip155
* make network_id default
2017-03-08 14:44:07 +01:00
keorn
98be191b25
Fix validator contract syncing ( #4789 )
...
* make validator set aware of various states
* fix updater build
* clean up contract call
* failing sync test
* adjust tests
* nicer indent [ci skip]
* revert bound divisor
2017-03-08 14:41:24 +01:00
Robert Habermeier
8a3b5c6332
Remote transaction execution ( #4684 )
...
* return errors on database corruption
* fix tests, json tests
* fix remainder of build
* buffer flow -> request credits
* proving state backend
* generate transaction proofs from provider
* network messages for transaction proof
* transaction proof test
* test for transaction proof message
* fix call bug
* request transaction proofs from on_demand
* most of proved_execution rpc
* proved execution future
2017-03-08 14:39:44 +01:00
Gav Wood
cec37207be
Update comments and reg ABI ( #4787 )
...
* Update comments.
* Fix up new ABI.
2017-03-06 21:37:38 +01:00
Robert Habermeier
8e9faa416d
proofs of non-existance in ProvingBlockChainClient
2017-03-06 17:03:58 +01:00
Jaco Greeff
495e5790e9
Support both V1 & V2 DataChanged events in registry ( #4734 )
...
* Add info on forks.
* Add new registry ABI
* Import registry2 & fix exports
* Select ABI based on code hash
* Render new event types (owner not available)
* New registry.
* Rename old chain.
* Fix test.
* Another fix.
* Finish rename.
2017-03-03 13:33:49 +01:00
Gav Wood
3a0c4b6539
Add info on forks. ( #4733 )
2017-03-03 08:20:25 +01:00
Gav Wood
2862b3c21a
New chains ( #4720 )
...
* Add Kovan chain.
* Fix up --testnet.
* Fix tests.
* Fix test.
* fix test
* Fix test.
2017-03-02 20:24:27 +01:00
keorn
ade5a13f5b
Add registrar fields ( #4716 )
...
* add registrar field
* use constructor for dev registrar
* fix test
2017-03-02 12:25:55 +01:00
Robert Habermeier
c2c699abb9
change migration to v11 to be faster
2017-02-26 18:41:40 +01:00
Robert Habermeier
1ff0abc661
Merge branch 'master' into remote-tx-exec
2017-02-26 13:55:29 +01:00
Robert Habermeier
1bf2b27708
Propagate trie errors upwards from State ( #4655 )
...
* state backend trait mirroring state_db API
* minimal state backend trait
make state module public
* fix json tests
* return errors on database corruption
* fix tests, json tests
* fix remainder of build
* add Backend bound on state
2017-02-26 13:10:50 +01:00
Robert Habermeier
69e82e15a3
request transaction proofs from on_demand
2017-02-25 20:10:38 +01:00