Commit Graph

124 Commits

Author SHA1 Message Date
Felix Lange 2ee88a220a core: remove Hash method from Message interface
This will simplify the next commmit. Hash was only used for logging.
2015-03-09 23:08:41 +01:00
obscuren 88ff13c241 Spec changes.
* All errors during state transition result in an invalid tx
2015-03-05 19:51:25 +01:00
obscuren c74c07eed1 Fixed error for invalid transaction 2015-03-03 16:20:38 +01:00
obscuren fa831206c6 Updated gast costs 2015-03-03 13:29:52 +01:00
obscuren b383ff0b96 New gas prices model 2015-03-02 16:32:02 +01:00
obscuren 3ab05ddd25 Bump 2015-02-26 20:26:37 +01:00
obscuren e235b57234 Fixed consensus issue for refunding
* Refund should _always_ go to the origin
2015-02-26 20:08:35 +01:00
obscuren ea9a549bbd Removed exported fields from state object and added proper set/getters 2015-02-20 14:19:34 +01:00
obscuren fa4cbad315 Optimisations and fixed a couple of DDOS issues in the miner 2015-02-19 22:33:22 +01:00
obscuren 30fa30bd4a Docs & old code removed 2015-02-02 20:02:00 -08:00
obscuren 8ccde784f9 Added (disabled) Jit validation 2015-02-01 15:30:29 +01:00
obscuren 82beaabf6a Fixed consensus issue 2015-01-13 14:57:51 +01:00
obscuren ca1b2a1a91 Changed prev_hash to block_hash, state transition now uses vm env
* PREVHASH => BLOCKHASH( N )
* State transition object uses VMEnv as it's query interface
* Updated vm.Enviroment has GetHash( n ) for BLOCKHASH instruction
* Added GetHash to xeth, core, utils & test environments
2015-01-03 17:18:43 +01:00
obscuren 4dc7ee9087 Closure => Context 2015-01-02 16:14:12 +01:00
obscuren 1508a23a6f Minor updates on gas and removed/refactored old code. 2014-12-20 02:21:13 +01:00
obscuren f5b8f3d41b Removed OOG check. Revert should always happen. 2014-12-19 13:59:49 +01:00
obscuren 0e93b98533 Transaction was generating incorrect hash because of var changes 2014-12-19 13:34:53 +01:00
obscuren 3325683794 Fixed refund model 2014-12-18 22:38:51 +01:00
obscuren 198cc69357 Gas corrections and vm fixes 2014-12-18 21:58:26 +01:00
obscuren 5ad473d758 Moved methods to messages 2014-12-18 15:33:22 +01:00
obscuren db494170dc Created generic message (easy for testing) 2014-12-18 15:18:13 +01:00
obscuren 008e91db6a null ptr fix 2014-12-04 12:43:12 +01:00
obscuren f298ffdbb8 Renamed State => StateDB 2014-12-04 11:40:20 +01:00
obscuren 9008b155d3 Renamed `chain` => `core` 2014-12-04 10:28:02 +01:00