Arkadiy Paronyan
d41dd13918
Tweaked snapshot params ( #6344 )
2017-08-22 11:24:56 +02:00
Robert Habermeier
9ae2ed39ec
only use engineclient trait for engines, separated from client trait
2017-08-22 16:00:44 +08:00
Tomasz Drwięga
73644adf69
Rename network_id to chain_id where applicable.
2017-08-21 14:23:10 +02:00
Marek Kotewicz
407c8c3fb9
rlp_derive ( #6125 )
...
* rlp_derive
* RlpEncodableWrapper, RlpDecodableWrapper
* use rlp_derive in parity
* fixed broken transaction Action serialization
2017-08-20 12:01:46 +08:00
Anton Gavrilov
bfd238e000
Style fixed after review
2017-08-10 12:36:29 +02:00
Robert Habermeier
e43b1084c3
format instant change proofs correctly
2017-08-04 21:43:31 +02:00
Anton Gavrilov
dd91121017
Common method for tracing refactored due to comments on review
2017-08-04 16:06:12 +02:00
Tomasz Drwięga
f157461ee1
Multi-call RPC ( #6195 )
...
* Removing duplicated pending state accessors in miner.
* Merge miner+client call.
* Multicall & multicall RPC.
* Sensible defaults.
* Fix tests.
2017-08-04 15:58:14 +02:00
Anton Gavrilov
655ed93ee8
Common engine method for bestowing rewards created
2017-08-04 11:28:26 +02:00
Robert Habermeier
0abf2abc81
checking for signals in the light client
2017-08-03 18:18:19 +02:00
debris
b0f9d73f6a
InstantSeal fix
2017-08-03 16:42:56 +02:00
Anton Gavrilov
30434325a2
Modification of traces moved to engines
2017-08-03 15:55:58 +02:00
Anton Gavrilov
01ea968d4f
Merge with master
2017-08-02 17:24:34 +02:00
Anton Gavrilov
2e840bc89c
Fixed comments after the review
2017-08-02 17:10:06 +02:00
debris
a2c05123fd
Merge branch 'master' into split
2017-08-01 14:24:47 +02:00
Nikolay Volf
b7006034b1
Decouple virtual machines ( #6184 )
...
* work in progress for splitting vms
* evm working
* Evm -> Vm
* wasm converted
* ethcore working
* test fixes
2017-08-01 13:37:57 +03:00
Anton Gavrilov
141c2fd34a
Fixed comments after review and test after rebase
2017-07-31 18:10:06 +02:00
debris
81b57ceddb
Merge branch 'master' into split
2017-07-31 16:19:59 +02:00
Anton Gavrilov
45043c3f52
Fixed errors after merge with master
2017-07-31 13:42:40 +02:00
Anton Gavrilov
3fdb912db6
Complete version of tracing test with reward
2017-07-31 13:42:40 +02:00
Anton Gavrilov
5086dc3024
Working test with block reward added
2017-07-31 13:42:34 +02:00
Anton Gavrilov
204a63a00e
Warnings removed
2017-07-31 13:40:45 +02:00
Anton Gavrilov
06862c7dee
Tracing for rewards added. Without tests for now
2017-07-31 13:40:37 +02:00
Robert Habermeier
003eef982b
Move more params to the common section. ( #6134 )
...
* move common forks and parameters to common params
* port specs over to new format
* fix RPC tests
2017-07-31 12:34:29 +02:00
debris
c4989ddc44
removed util::common
2017-07-29 22:49:10 +02:00
debris
eecd823d32
util reexports less std
2017-07-29 21:10:14 +02:00
Robert Habermeier
2bd5c3dba7
checking proofs in safe contract
2017-07-28 19:38:52 +02:00
Feynman Liang
5eb8cea6e7
Tendermint epoch transitions ( #6085 )
...
* Adds signals_epoch_end to tendermint
* Adds is_epoch_end
* Adds snapshot_components
* Adds tendermint Epoch Verifier
* Fix documentation typos
* Change check_finality_proof to panic
* Fix compilation
* Adds Unconfirmed path to epoch_verifier
* Verify if address is validator in EpochVerifier
* check_finality_proof errors on failure
* Don't share combine/destructure_proofs
* Remove invalid import
* Remove duplicate epoch verifier trait
* Fix docs
* Adds recover stub to tendermint EpochVerifier
* Adds verify_light test
* Avoid boxed closure
* Style fixes
2017-07-26 16:25:32 +01:00
Robert Habermeier
99075ad22a
Initial Whisper implementation ( #6009 )
...
* whisper skeleton
* basic message store
* rallying and message logic
* pass host info to network protocol handlers
* choose who starts rally based on node key
* module reshuffling
* mining messages
* prune messages by low PoW until below size target
* associated error type for ethkey generators and `OsRng` generator
* beginnings of RPC
* generic message handler for whisper
* reshuffle code order
* standard payload encoding and decoding
* basic crypto
* minor restructuring of net code
* implement shh_post
* merge?
* implement filters
* rand trait for hash types
* filter RPCs for whisper
* symmetric encryption of payload
* pub-sub
* filter tests
* use only secure random IDs
* attach arbitrary protocols to network
* basic integration of whisper into Parity
* eagerly prune low PoW entries
* broadcast messages with salted topics
* node info RPC
* fix import
* fix leading zeros calculation
* address minor grumbles
2017-07-14 20:40:28 +02:00
keorn
22261bc2d1
New contract PoA sync fixes ( #5991 )
...
* generate proofs on newly-created state
* report only missed steps after first block
* dont report skipped if not signer
* test
* finality tracing and passing valid header to `commit_block`
* avoid proposing multiple times on the same step when validator set changes
* limit benign reports
* Ordering -> AtomicOrdering
* reinstate warning now that spam is reduced
* flush pending transition changes when necessary
* ensure epochs aren't re-zoomed on every block
2017-07-13 09:48:00 +02:00
Robert Habermeier
d365281cce
Ethcore crate split part 1 ( #6041 )
...
* split out types into separate crate
* split out evm into its own crate
2017-07-12 13:09:17 +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
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
61d8f90530
updated serde to version 1.0
2017-07-06 11:36:15 +02:00
Tomasz Drwięga
5d9f5e3509
Defer code hash calculation.
2017-06-30 11:30:32 +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
Marek Kotewicz
575c51f5a0
eip214, #4833 ( #4851 )
2017-06-19 11:41:46 +02:00
Robert Habermeier
edea41d35e
enforce block signer == author field in PoA ( #5808 )
2017-06-12 12:54:34 +03:00
Arkadiy Paronyan
e6a31e7543
EIP-210 BLOCKHASH changes ( #5505 )
...
* EIP-210
* comment
2017-05-30 11:52:33 +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
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
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
keorn
945c1a9478
add monotonic transition to kovan ( #5587 )
2017-05-15 21:34:01 +01:00
Robert Habermeier
56768ff237
only try to warp when engine supports it
2017-05-10 17:12:00 +02: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
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
468a7a4a77
bloom check test
2017-04-20 16:09:43 +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
Robert Habermeier
a278dd5a0a
store epoch transition proofs in DB
2017-04-19 14:58:19 +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
715d5daafe
ChainVerifier for memoizing validator sets
2017-04-13 20:24:21 +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
Robert Habermeier
7723d6281b
starting memoized validatorset
2017-04-12 12:46:25 +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
keorn
84abf5d84f
Aura eip155 validation transition ( #5362 )
...
* add eip155 validation
* add transition block
2017-04-01 13:21:22 +02:00
keorn
2398311455
add eip155 validation ( #5346 )
2017-03-30 20:01:19 +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
keorn
9fdd0e3a0a
Switching ValidatorSet ( #4961 )
...
* add multi validator set
* nicer comment
* validate in constructor
* reporting
2017-03-23 13:19:28 +01: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
Robert Habermeier
797a3e1cd9
EIP198 and built-in activation ( #4926 )
...
* EIP198 and built-in activation
* address review
2017-03-21 19:36:38 +03: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
Marek Kotewicz
3fe3353696
removed redundant FixedHash trait, fixes #4029 ( #4866 )
2017-03-11 22:58:15 +04: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
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
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
keorn
9b5bcb81fd
Fix Tendermint deadlock ( #4654 )
...
* scope read
* consistent step
2017-02-24 10:26:56 +01:00
Robert Habermeier
62b340f2b9
Save pending local transactions in the database ( #4566 )
...
* Create new column family for local node info
* remove DBTransaction::new reliance on DB
* KeyValueDB trait
* InMemory KeyValueDB implementation
* journaldb generic over KVDB
* make most of `ethcore` generic over KVDB
* fix json tests compilation
* get all tests compiling
* implement local store (just for transactions)
* finish local store API, test
* put everything into place
* better test for skipping bad transactions
* fix warning
* update local store every 15 minutes
* remove superfluous `{}`s
2017-02-20 17:21:55 +01:00
keorn
ac6180a6fe
seals_internally ( #4613 )
2017-02-20 16:35:53 +01:00
Tomasz Drwięga
5369a129ae
Signer provenance ( #4477 )
...
* Signer - Tracking Request Provenance
* Basic UI
* Changing messages
* VecDeque::from
* Fix dapps tests
* Addressing UI grumbles
2017-02-14 22:45:43 +01:00
Maciej Hirsz
127baed385
Merge pull request #4362 from ethcore/mh-tendermintrlpfix
...
Fix RLP encoding for types recursively calling `RlpStream::append`
2017-02-06 11:13:40 +01:00
keorn
76c39e3e66
Fix lock and rename tracing ( #4403 )
...
* tracing, timeouts
* remove env_logger
2017-02-02 19:11:43 +01:00
maciejhirsz
687ae4d7fa
Removed fixed TODO
2017-02-01 10:38:01 +01:00
Tomasz Drwięga
9fb2be8f2b
Optional from field in Transaction Requests ( #4332 )
...
* Infering default account when sending transactions if not provided
* Fixing test
* Fixing tests code
* Fixes.
* More fixes.
* Final fix.
2017-01-30 21:08:36 +01:00
maciejhirsz
681fa10d4b
Tests checking item sizes for changed types
2017-01-30 20:01:32 +01:00
maciejhirsz
5fe54901e7
Fix Step
encoding
2017-01-30 18:13:14 +01:00
Gav Wood
8404edb656
Fix whitespace ( #4299 )
...
* Fix whitespace.
* Update copyright years/owner.
* Push release only for tags.
2017-01-25 18:51:41 +01:00
keorn
e9251a9325
Generic engine utilities ( #4258 )
...
* move modules up
* make structs generic
* reound to view and tests
* fix
2017-01-24 22:03:03 +01:00
keorn
ba0209678b
ValidatorSet reporting ( #4208 )
...
* remove register_account_provider
* build rpc module
* new dummy client
* common EngineSigner struct
* from -> into
* initial report via call
* separate safe from regular contract
* transact_contract
* fix build
* return Signature, docs
* add sign method to some engines
* add safeContract spec
* update specs to new contracts
* use AuthorityRound for contract spec
* add more reporting
* add reporting test
* use gas floor
* shorter
2017-01-24 12:03:58 +03:00
keorn
b7f9b304c1
Chain scoring ( #4218 )
...
* chain scoring
* use current steps
2017-01-23 17:27:11 +03:00
keorn
97a60ceab1
Common EngineSigner ( #4189 )
...
* remove register_account_provider
* build rpc module
* new dummy client
* common EngineSigner struct
* from -> into
* return Signature, docs
2017-01-20 13:25:17 +01:00
keorn
73b80869f5
Remove unnecessary Engine method ( #4184 )
...
* remove register_account_provider
* build rpc module
* new dummy client
2017-01-18 18:49:50 +01:00
Tomasz Drwięga
e11353f94c
UnverifiedTransaction type ( #4134 )
...
* Introducing ValidSignedTransaction
* Verifiying transactions in engines
* Widening use of VerifiedSignedTransaction
* Renaming Transactions
* Uncommenting banning queue & Fixing tests
* Fixing json tests
* Fixing pre-homestead test
* Fixing imports
* Addressing grumbles
* Fixing test
2017-01-13 08:51:36 +00:00
keorn
844b1f8c0d
Refactor VoteCollector ( #4101 )
...
* dir
* simple validator list
* stub validator contract
* make the engine hold Weak<Client> instead of IoChannel
* validator set factory
* register weak client with ValidatorContract
* check chain security
* add address array to generator
* register provider contract
* update validator set on notify
* add validator contract spec
* simple list test
* split update and contract test
* contract change
* use client in tendermint
* fix deadlock
* step duration in params
* adapt tendermint tests
* add storage fields to test spec
* constructor spec
* execute under wrong address
* create under correct address
* revert
* validator contract constructor
* move genesis block lookup
* add removal ability to contract
* validator contract adding validators
* fix basic authority
* validator changing test
* more docs
* update sync tests
* remove env_logger
* another env_logger
* cameltoe
* hold EngineClient instead of Client
* return error on misbehaviour
* nicer return
* sprinkle docs
2017-01-11 17:56:50 +01:00
Tomasz Drwięga
21006da125
Get rid of unsafe code in ethkey, propagate incorrect Secret errors. ( #4119 )
...
* Implementing secret
* Fixing tests
2017-01-11 12:16:47 +01:00
keorn
be30c44179
Validator/authority contract ( #3937 )
...
* dir
* simple validator list
* stub validator contract
* make the engine hold Weak<Client> instead of IoChannel
* validator set factory
* register weak client with ValidatorContract
* check chain security
* add address array to generator
* register provider contract
* update validator set on notify
* add validator contract spec
* simple list test
* split update and contract test
* contract change
* use client in tendermint
* fix deadlock
* step duration in params
* adapt tendermint tests
* add storage fields to test spec
* constructor spec
* execute under wrong address
* create under correct address
* revert
* validator contract constructor
* move genesis block lookup
* add removal ability to contract
* validator contract adding validators
* fix basic authority
* validator changing test
* more docs
* update sync tests
* remove env_logger
* another env_logger
* cameltoe
* hold EngineClient instead of Client
* add a comment about lock scope
2017-01-10 12:23:59 +01:00
keorn
fbc9f0d7fb
Add block rewards to more Engines ( #4055 )
...
* add block rewards
* imports
2017-01-05 21:16:13 +01:00
Robert Habermeier
8125b5690c
Port try
macro to new ?
operator. ( #3962 )
...
* initial untry sweep
* restore try in ipc codegen, fix inference
* change a few missed try instances
2016-12-27 12:53:56 +01:00
keorn
afc4cd2785
Allow contract constructors in chain spec ( #3932 )
...
* constructor spec
* execute under wrong address
* create under correct address
* revert
* move genesis block lookup
* remove env_logger
2016-12-23 18:44:39 +01:00
keorn
d8470cc5ca
revert slack
2016-12-16 00:07:07 +01:00
keorn
447196398a
fix start_step
2016-12-15 23:36:06 +01:00
keorn
b7b531ca75
more slack in test
2016-12-15 19:54:28 +01:00
keorn
b88d50dc9b
fix naming collision
2016-12-15 19:27:06 +01:00
keorn
ee653bc262
unused import
2016-12-15 16:53:28 +01:00
keorn
9bfa69c6bd
fix channel
2016-12-15 16:52:39 +01:00
Gav Wood
a74bce2c06
Merge pull request #3759 from ethcore/auth-bft
...
Tendermint Engine
2016-12-15 13:18:15 +01:00
keorn
e1d83d15b7
bump dev chain
2016-12-14 11:34:19 +01:00
keorn
c96826beaa
expect instead of index
2016-12-13 18:22:56 +01:00
keorn
fa504e510f
Merge branch 'master' into auth-bft
2016-12-12 21:28:46 +01:00
keorn
19adb84527
TestNet flushing and cleanup
2016-12-12 19:44:24 +01:00
keorn
f8ed5cf022
finalize unit tests
2016-12-12 17:20:20 +01:00
keorn
3c5d5856d2
nicer tracing
2016-12-11 22:54:48 +01:00
Gav Wood
58b72c521d
Rename ethcore -> parity in licenses.
2016-12-11 19:31:31 +01:00
Gav Wood
17cc2be4b5
Rename ethcore -> parity in license.
2016-12-11 19:30:54 +01:00
keorn
a4bf914683
Merge branch 'auth-bft' of https://github.com/ethcore/parity into auth-bft
2016-12-11 18:23:54 +01:00
keorn
d4c9493b00
verification cache retrieval
2016-12-11 17:50:12 +01:00
Robert Habermeier
9252ebf93d
block: enforce gas limit falls within engine bounds
2016-12-11 12:50:48 +01:00
arkpar
c777362d02
Sync channel for consensus test
2016-12-11 12:32:01 +01:00
keorn
f3af0f46be
Merge branch 'master' into auth-bft
2016-12-10 18:14:35 +01:00
keorn
b9909da8b1
move Sealing methods to MiningBlockChainClient
2016-12-10 17:40:20 +01:00
keorn
239ba61a99
move transition message to to_step
2016-12-10 16:50:23 +01:00
keorn
5f09eb9d04
update tests to new spec ( #3790 )
2016-12-10 10:38:10 +01:00
keorn
b15edd095e
Merge branch 'auth-bft' of https://github.com/ethcore/parity into auth-bft
2016-12-09 20:51:42 +01:00
keorn
08e7e79bfd
more test
2016-12-09 20:48:05 +01:00
arkpar
97f358ced9
AuthorityRound network simulation test
2016-12-09 20:38:06 +01:00
arkpar
ca7406773f
AuthorityRound network simulation test
2016-12-09 19:27:16 +01:00
keorn
56e9dab9de
add Engine stop method
2016-12-09 14:52:08 +01:00
keorn
42c34b5c1b
ignore flaky test
2016-12-09 10:53:38 +01:00
keorn
79ef64349c
remove assert
2016-12-08 21:27:49 +01:00
keorn
dca752e9bb
docs, tweaks
2016-12-08 20:09:30 +01:00
keorn
3ebfa1481d
better proposal block handling
2016-12-08 12:03:34 +01:00
keorn
347634ac6c
dont rebroadcast propose
2016-12-07 16:42:58 +01:00
keorn
b73689f041
Merge branch 'engine-password' into auth-bft
2016-12-07 15:17:49 +01:00
keorn
727ace0561
add test
2016-12-07 15:14:21 +01:00
keorn
4361cb53e7
Merge branch 'engine-password' into auth-bft
2016-12-07 14:49:42 +01:00
keorn
5faa4a85cb
remove dummy type
2016-12-07 14:49:07 +01:00
keorn
6440ca2f68
move stuff around
2016-12-07 14:39:37 +01:00
keorn
c582540746
Merge branch 'engine-password' into auth-bft
2016-12-07 11:41:38 +01:00
keorn
3ae09de019
restore is_new_best
2016-12-07 11:40:46 +01:00
keorn
5c333fce31
Merge branch 'engine-password' into auth-bft
2016-12-07 10:35:52 +01:00
keorn
71a96588b0
add the methods to engines
2016-12-07 10:34:06 +01:00
keorn
d9eb5e7f1d
remove uncles
2016-12-07 09:32:36 +01:00
keorn
8f641e67f3
Merge branch 'engine-password' into auth-bft
2016-12-06 13:13:02 +00:00
keorn
01bf483b63
remove unnecessary impls
2016-12-05 17:29:47 +00:00
keorn
81a756394a
Merge branch 'master' into engine-password
2016-12-05 17:08:57 +00:00
keorn
529a7fc33c
add password and AccountProvider
2016-12-05 17:08:16 +00:00
keorn
6fc943ca6d
Merge branch 'master' into auth-bft
2016-12-05 16:37:35 +00:00
keorn
94302f3f61
throw out difficulty checks
2016-12-05 15:27:44 +00:00
keorn
c61a0e97b3
make engine determine block order
2016-12-05 15:20:32 +00:00
keorn
b30c1d5602
fix tests
2016-12-05 13:24:22 +00:00
keorn
f7a01b87b5
better gossip, better proposal collection
2016-12-04 19:43:24 +00:00
Gav Wood
2911c549e3
Encode networkid as a u64.
2016-12-04 10:48:26 -08:00
keorn
9084e6242d
lock ordering
2016-12-02 20:04:12 +00:00
keorn
c8a3db4c52
new error proposal test
2016-12-02 13:59:54 +00:00
keorn
91099f62c9
add more gossip if step is stuck
2016-12-02 13:37:49 +00:00
keorn
e0f2fac441
new error type
2016-12-02 13:32:00 +00:00
keorn
0eb55cbd4d
update message test
2016-12-02 13:31:28 +00:00
keorn
2c8c090598
stricter size verification
2016-12-02 13:30:43 +00:00
keorn
f0e9eae244
remove difficulty check
2016-12-01 22:07:18 +00:00
keorn
df1cce8e7f
simplify seal verification
2016-12-01 21:56:38 +00:00
keorn
39ea703c69
vote on message generation
2016-12-01 20:50:24 +00:00
keorn
9290fdde85
fix tests
2016-12-01 17:21:51 +00:00
keorn
344999aaf7
return signing failure error
2016-12-01 14:10:42 +00:00
keorn
66b4f1ac47
remove unnecessary option
2016-12-01 14:10:22 +00:00
keorn
dbf82c2e98
fix tests
2016-11-30 16:40:16 +00:00
keorn
d128c20dc2
remove proposer_nonce
2016-11-30 16:02:05 +00:00
keorn
bb8347477a
gossip when not enough votes
2016-11-30 16:01:20 +00:00
keorn
73e7908325
test password registration
2016-11-30 14:30:21 +00:00
keorn
155da50fcd
Merge branch 'master' into auth-bft
2016-11-30 13:06:21 +00:00
keorn
34d5017950
hold password in engine, add rpc
2016-11-30 12:59:33 +00:00
Gav Wood
d525a6d7f0
Merge pull request #3654 from ethcore/clippy-bump
...
Bumping clippy
2016-11-29 18:00:13 +01:00
keorn
7929a145e7
fix deadlock
2016-11-29 14:55:54 +00:00
keorn
294e89e5c0
use EngineError instead of BlockError
2016-11-29 12:51:27 +00:00
keorn
e784fa906e
warn on double vote
2016-11-29 12:20:38 +00:00
keorn
49b953a9f4
order invariant seal equality
2016-11-29 11:18:40 +00:00
keorn
d0eab4a0d8
old message removal, avoid too many recoveries
2016-11-29 10:55:24 +00:00
keorn
61cf8b8b7e
vote propose
2016-11-28 18:58:15 +00:00
keorn
0f1eefc00d
disallow None seal sigs
2016-11-28 18:37:00 +00:00
keorn
e4ff614966
remove unused tracing
2016-11-28 15:50:55 +00:00
keorn
1326c6cf5a
rebroadcast unseen messages
2016-11-28 15:24:22 +00:00
keorn
7d97ba5ee0
seal sigs test
2016-11-28 15:23:39 +00:00
Tomasz Drwięga
2b3d100de2
Fixing some clippy warnings
2016-11-28 15:54:22 +01:00
keorn
ef4ecce7bf
nicer vote counting + test
2016-11-28 14:08:38 +00:00
keorn
09c28806d6
proper test IoHandler
2016-11-28 11:47:33 +00:00
keorn
89f0bd714d
test whole transitioning
2016-11-28 09:42:50 +00:00
arkpar
d0c80a6903
Updated tests
2016-11-28 01:37:25 +01:00
keorn
a7afbf4d25
tracing and vote test
2016-11-25 16:45:32 +00:00
keorn
8f72017bcc
add transition tracing
2016-11-25 16:44:57 +00:00
keorn
f59746b2da
order messages by signature
2016-11-25 16:44:18 +00:00
keorn
1692c07ba6
Merge branch 'master' into auth-bft
2016-11-25 10:51:06 +00:00
keorn
da499b0a4a
self contained test proposal
2016-11-24 19:59:08 +00:00