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
ee653bc262
unused import
2016-12-15 16:53:28 +01:00
keorn
9bfa69c6bd
fix channel
2016-12-15 16:52:39 +01:00
keorn
c96826beaa
expect instead of index
2016-12-13 18:22:56 +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
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
arkpar
c777362d02
Sync channel for consensus test
2016-12-11 12:32:01 +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
08e7e79bfd
more test
2016-12-09 20:48:05 +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
6440ca2f68
move stuff around
2016-12-07 14:39:37 +01:00
keorn
d9eb5e7f1d
remove uncles
2016-12-07 09:32:36 +01: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
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
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