Commit Graph

502 Commits

Author SHA1 Message Date
nicksavers dcd69f26ea Change my mind on using constants instead of enums for Gas 2014-06-07 16:19:32 +02:00
nicksavers 76175bca90 Replace GasLedger with Gas enum class 2014-06-07 16:13:05 +02:00
nicksavers 890d06c995 Merge branch 'master' of github.com:nicksavers/ethereumj 2014-06-07 15:50:07 +02:00
nicksavers 0a4a030f56 Add failing Block calc tests and update Denomination enum 2014-06-07 15:49:54 +02:00
nicksavers c1b8cd3bf9 Add failing Block calc tests and update Denomination enum 2014-06-07 15:49:34 +02:00
romanman dcf19fba08 Merge pull request #24 from nicksavers/master
Remove obsolete state code and placeholder for processing txs in block
2014-06-07 10:09:35 +01:00
nicksavers cae6fecab7 Merge branch 'master' of github.com:nicksavers/ethereumj 2014-06-07 10:49:36 +02:00
nicksavers fccb26d74b Remove obsolete state code and placeholder for processing txs in block 2014-06-07 10:49:26 +02:00
nicksavers 1a2ba273b9 Remove obsolete state code and placeholder for processing txs in block 2014-06-07 10:48:56 +02:00
romanman a22dfb99f9 Merge pull request #23 from nicksavers/master
Merge small changes
2014-06-07 09:42:36 +01:00
nicksavers a3f2206d51 Merge small changes 2014-06-07 10:04:19 +02:00
romanman 11cbb3c1b6 fixing git mess 2 2014-06-06 20:11:21 +01:00
romanman 14d2bc5a2c fixing git mess 2014-06-06 20:10:51 +01:00
romanman 1f3a25f4f6 finalization process:
new block stateRoot calc
2014-06-06 20:04:13 +01:00
romanman 3380dff118 small defects from the last merge 2014-06-06 19:50:12 +01:00
romanman 9f70c014a1 preparing for state finalization 2014-06-06 15:16:44 +01:00
romanman 3f7891ff36 merge conflict 2014-06-06 15:10:07 +01:00
romanman 3e58497a6f Merge pull request #22 from nicksavers/master
Calculate txTrieRoot from txs in a block + minors
2014-06-06 14:46:58 +01:00
nicksavers 6ec5dd9d12 Calculate txTrieRoot from actual transactions in a block and move block header to separate class 2014-06-06 15:30:24 +02:00
romanman 72f7e18d7a The right way to encode [transactionsTrie] for block header 2014-06-06 04:23:36 +01:00
romanman b9d551d2fa VM impl:
+ SDIV, SMOD, MOD, SLT, SGT ops implemented and unittested
+ Gas calculation for memory & storage
2014-06-05 12:36:36 +03:00
romanman 517bb2cec1 Gas Ledger introduced
+ latest merge
+ some GUI adjustments
2014-06-05 06:49:19 +03:00
romanman 991d9770cb Merge branch 'master' of https://github.com/romanman/ethereumj 2014-06-05 06:37:16 +03:00
romanman 734d25bdc0 Merge pull request #21 from nicksavers/master
Impl faster ADD
2014-06-05 06:34:19 +03:00
nicksavers d12e079b64 Continue from last block in DB 2014-06-05 01:05:05 +02:00
romanman 8677b77def balance subtraction bug , found in the movie :) 2014-06-04 16:12:57 +03:00
nicksavers 4868ecfc0e Remove array length check from DataWord and use better test 2014-06-04 07:57:31 +02:00
nicksavers de0f67ae3b Impl faster ADD 2014-06-03 23:35:53 +02:00
romanman e5e65b48d3 play button on contract submit draft integration 2014-06-03 20:52:48 +03:00
romanman 64cb2898aa tiny fix 2014-06-03 20:09:29 +03:00
romanman 2a3a548339 VM impl: SHA3 op implemented and unit tested 2014-06-03 20:07:10 +03:00
romanman da62dfd514 cancel nio noisy messages 2014-06-03 19:38:12 +03:00
romanman 9bec5d6885 VM impl, go on:
ADDRESS, BALANCE, ORIGIN, CALLER, CALLVALUE, CALLDATALOAD, CALLDATASIZE,
CALLDATACOPY, CODESIZE, CODECOPY implementation and unittest
2014-06-03 19:30:34 +03:00
romanman d348b552b3 Small fix for edge cases in HelloMessage 2014-06-03 12:35:11 +03:00
romanman dbc2bbc7f2 test fix 2014-06-03 09:28:14 +03:00
romanman ced9ec0543 MEMSIZE to MSIZE reformat 2014-06-03 09:15:45 +03:00
romanman 57234f2591 Merge pull request #20 from nicksavers/master
Fix typo and remove some unused imports
2014-06-03 08:49:35 +03:00
nicksavers fb01b3a177 Fix typo and remove some unused imports 2014-06-02 21:40:17 +02:00
romanman 926aa6f17f VM impl go on:
ADD, MULL,  SUB, DIV, EXP, MEMSIZE, STOP ops implemented and unit tested
2014-06-02 22:02:27 +03:00
romanman c44920edd2 ProgramPlayDialog draft GUI improved 2014-06-02 18:24:10 +03:00
romanman a49f8b5e5c A draft for ProgramPlayDialog 2014-06-02 18:00:24 +03:00
romanman 63e217e630 VM impl: MSTORE8, SSTORE, SLOAD, JUMP, JUMPI, PC ops implemented and unit tested 2014-06-02 14:56:01 +03:00
romanman b561a7890d VM impl: POP, DUP , MSTORE, MLOAD ops implemented & unit tested 2014-06-02 11:16:22 +03:00
romanman d8ebe45f38 VM impl: NET, LT, GT, EQ, NOT, BYTE ops implemented & unit tested 2014-06-01 22:43:02 +03:00
romanman 953acf417f VM impl: AND, OR, XOR ops implemented 2014-06-01 19:39:06 +03:00
romanman 79bc9bb28a Skeleton for VM implementation and PUSH_N logic 2014-06-01 19:06:54 +03:00
romanman 6726c8dcf9 SerpentCompiler: minor array compilation bug 2014-06-01 10:44:24 +03:00
romanman 13ae5387dd Serpent - basic array support introduced:
1. a = [1, 2, 3]
 2. b = a[0]
 3. a[1] = 90
2014-05-31 22:17:55 +03:00
romanman 24f2903ef4 Serpent editor add Ctrl + Shift + S for change saving file 2014-05-31 16:31:21 +03:00
romanman 90962d0db1 OpCode minor fixes:
1. new SGT, SLT ops
   2. LT operators order fix
2014-05-31 10:37:25 +03:00