Commit Graph

51 Commits

Author SHA1 Message Date
Gav Wood a2f4090c05 Fix difficulty calculation algo. 2016-01-28 20:34:06 +01:00
Gav Wood 387e3ec3fd Ensure Spec::ensure_db_good() places DB entries for code & storage. 2016-01-26 15:00:22 +01:00
Gav Wood 41508cbd50 Fix queue flush and add working tests. 2016-01-25 23:24:51 +01:00
Gav Wood 499da19d82 Initial draft of blockchain tests. 2016-01-25 18:56:36 +01:00
Gav Wood 788213f48f Merge branch 'master' into gav 2016-01-24 00:09:18 +01:00
Gav Wood b059d32485 Argument parsing from CLI.
Closes #179
2016-01-23 23:53:20 +01:00
Tomusdrw adc763325d Merge branch 'master' into clippy
Conflicts:
	util/src/rlp/rlptraits.rs
2016-01-19 23:22:40 +01:00
Tomusdrw bad2a244df Adding documentation request comments. 2016-01-19 17:02:01 +01:00
Tomusdrw c746f0e62c Fixing all clippy lints 2016-01-19 13:47:30 +01:00
Tomusdrw 6ead6b7847 Merge branch 'master' into clippy
Conflicts:
	util/src/lib.rs
2016-01-19 12:45:06 +01:00
Tomusdrw fc4b67a12d Fixing self_convention errors 2016-01-19 11:15:39 +01:00
Tomusdrw f169951d4e Fixing all obvious warnings 2016-01-19 11:10:38 +01:00
Gav Wood b9b08af518 Use JournalDB instead of OverlayDB. 2016-01-18 13:54:46 +01:00
Tomusdrw 1b6dead109 Fixing clippy stuff - work in progress 2016-01-17 15:56:09 +01:00
arkpar e39e7491b8 Use ethash for verification 2016-01-17 12:00:34 +01:00
arkpar e5a51707ec Fixed empty name handling 2016-01-15 01:17:39 +01:00
arkpar 77c5b315df Spec name; uncle reward calculation fixed 2016-01-15 01:17:23 +01:00
Gav Wood 6eea05d255 Change over to new FromJson API. 2016-01-14 21:58:37 +01:00
arkpar 33d3a4d633 Engine and Spec are now thread safe 2016-01-11 11:51:31 +01:00
arkpar 5d0e186632 Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-11 01:07:58 +01:00
Gav Wood 74f88f9b9b Initial implementation of enacted.
number is now usize, timestamp u64.
2016-01-10 22:55:07 +01:00
Gav Wood 4f68662e53 Proper rewarding; needs consensus test doing though. 2016-01-10 21:55:03 +01:00
arkpar 11dd92f1f5 Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-10 14:13:42 +01:00
Gav Wood 76bb480afb Block sealing, tests updated. 2016-01-10 14:05:39 +01:00
arkpar 28a658015d Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-09 18:50:45 +01:00
Gav Wood 4622882fda Separate out Ethereum-network-specific resources.
Fix State to use secure trie variants.
2016-01-09 18:20:31 +01:00
Gav Wood a978cbad52 Remove genesis module, add more chain specs and separate out ethereum-specific stuff. 2016-01-09 17:15:55 +01:00
arkpar 8cd3aa4b43 Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-09 14:41:04 +01:00
Gav Wood 2b022e11e1 State::new_contract. 2016-01-09 14:19:35 +01:00
Gav Wood 4fc6b0dc60 Introduce `use common::*;` for common stuff (modules that themselves require no other modules in this crate).
Fix build.
2016-01-09 12:30:41 +01:00
arkpar 86dfa1b425 Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-09 10:26:31 +01:00
Gav Wood 4bbc0943a3 Initial sketch of Block struct. 2016-01-08 19:12:19 +01:00
Gav Wood 5b81a2d70a Frontier Spec added. 2016-01-08 16:47:17 +01:00
Gav Wood 98c5905257 Add frontier chain spec. 2016-01-08 16:24:14 +01:00
arkpar 290d738e3f Style 2016-01-08 16:00:32 +01:00
Gav Wood 1c71640777 Build fixes for Ethash. 2016-01-08 12:27:00 +01:00
Gav Wood 3cbaf64c51 Beginnings of Ethash engine. 2016-01-08 12:15:59 +01:00
Gav Wood 14d77d522b Minor whitespacing. 2016-01-07 19:25:51 +01:00
Gav Wood 810bff1ea9 Morden genesis tested and working. 2016-01-07 19:10:29 +01:00
Gav Wood f9b3e26934 Fix warnings. 2016-01-06 16:00:42 +01:00
Gav Wood db23ee765a Fixes and a test! Now correctly builds Morden's genesis block. 2016-01-06 15:57:17 +01:00
Gav Wood 6585910c2a Whitespace fixes. 2016-01-05 19:12:19 +01:00
arkpar aff4e24775 Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-05 00:11:16 +01:00
Gav Wood e369042ff7 Correct naming and fix for Morden. 2016-01-04 21:53:36 +00:00
Gav Wood 957dd36328 Make builtins work. 2016-01-04 21:47:45 +00:00
Gav Wood ff74e8239d Spec's json_to_rlp. 2015-12-23 11:53:34 +00:00
Gav Wood be3f8ffd49 Additional docs. 2015-12-23 11:10:34 +00:00
Gav Wood 07aef2499e Spec can now read much from a JSON. Still todo builtins and params. 2015-12-21 21:08:42 +00:00
Gav Wood 6c785d2850 Move all chain parameters into `engine_params` and let Engine impl provide them. 2015-12-21 17:40:48 +00:00
Gav Wood 6a363c5646 Correct seal fields in spec. 2015-12-20 21:07:03 +00:00