Commit Graph

990 Commits

Author SHA1 Message Date
Nick Savers eb38823f21 Fix test to expect correct value 2014-07-11 21:46:02 +02:00
romanman 9c769d5b77 Fixed CODECOPY bug 2014-07-11 21:59:38 +03:00
romanman 7af06b8c18 Fixed storage encode bug 2014-07-11 20:26:06 +03:00
romanman eb382199cc Merge pull request #62 from nicksavers/master
Refactoring uncle reward and wallet processing
2014-07-11 16:51:03 +03:00
nicksavers 021b19670e Fix bug where Genesis was applied to the state twice 2014-07-11 15:50:21 +02:00
nicksavers cbc456a780 Refactor to move Wallet processing out of Blockchain 2014-07-11 14:33:27 +02:00
nicksavers 1c5bbc3278 Calculate value of uncleReward only once 2014-07-11 14:16:59 +02:00
romanman 82c0d2ceab Merge pull request #61 from nicksavers/master
Apply blockReward after txs and for uncles
2014-07-11 15:07:56 +03:00
nicksavers da87d80846 Apply blockReward after txs and for uncles 2014-07-11 13:53:43 +02:00
romanman 2d7bcf64b5 miscellaneous:
+ bug on Trie delete value
 + tracing improve
 + Vitally vmtest-5 test
 + keep storage key/value in 32bit format
2014-07-10 21:09:26 +03:00
romanman 1dd17488ac minor fix for last commit 2014-07-10 14:39:48 +03:00
romanman 7c129164c3 VM:
+ SUICIDE op correct implementation
+ JSON testing for it
2014-07-10 14:02:01 +03:00
romanman 4d56d76ef1 JSON testing:
+ run testcase from file
+ run the full suite from the url
2014-07-10 11:31:46 +03:00
romanman 0bcf41be5b Merge pull request #60 from nicksavers/master
Clean and speed up applyTransaction
2014-07-09 23:00:50 +03:00
romanman 8127eeafab Net layer refactoring:
+ message sending in queue order
+ screen send message use queue as well
2014-07-09 22:45:22 +03:00
nicksavers 85371f289d Fix for requesting initResults after contract creation 2014-07-09 14:05:57 +02:00
nicksavers 402c64d4c0 Clean and speed up applyTransaction 2014-07-08 22:45:52 +02:00
romanman 8dc0a56644 Net layer packet interfere bug:
+ temporary turn off all the parallel traffic, in order to fully download the chain
2014-07-08 20:25:32 +01:00
romanman 982c500909 Fixing broken JSON test cases 2014-07-07 23:54:47 +01:00
romanman a4d00f1d3b Merge pull request #59 from nicksavers/master
Add getWorldState() method
2014-07-07 23:14:39 +01:00
nicksavers f75fd9955f Add getWorldState() method 2014-07-08 00:12:18 +02:00
romanman 5b1e40f168 Merge pull request #58 from nicksavers/master
Verify that stateRoot equals the latest block stateRoot
2014-07-07 23:03:30 +01:00
nicksavers c6557ebfea Update to protocol 23 2014-07-07 23:45:37 +02:00
nicksavers 3b38e9cd9a Do state-test after adding block to blockchain 2014-07-07 23:43:22 +02:00
romanman 6545049a16 Fix latest build break 2014-07-07 15:09:29 +01:00
romanman cf49683489 JSON test suite :
+ adjusted format for the latest changes
+ option to run from a file
2014-07-07 13:46:28 +01:00
romanman bdeb898dd0 added minimu heap size param 2014-07-07 11:45:37 +01:00
romanman 287684aa62 2 Bugs:
+ VM CODECOPY wrong param
+ Apply tx run results - different when init code and body code
2014-07-07 11:34:26 +01:00
romanman feebfdbe72 RLP edge case bug 2014-07-07 09:24:37 +01:00
romanman c100e15580 NPE bug in program 2014-07-06 19:19:49 +01:00
romanman 0f2b74ebf2 Merge pull request #57 from nicksavers/master
Fix bug in Blockchain and update logging
2014-07-06 00:23:15 +01:00
nicksavers c94f81749b Always load blockchain with WorldManager.getInstance() 2014-07-06 00:30:58 +02:00
nicksavers 975dcbceaa Retrieve block from Blockchain index instead of DB 2014-07-05 23:14:13 +02:00
nicksavers 3953dc97c1 Genesis only created/applied when DB is empty + logging instead of printStackTrace() 2014-07-05 21:41:00 +02:00
nicksavers a660a1c294 Use JUnit expected attribute in VMTest 2014-07-05 21:40:38 +02:00
romanman 25598ec721 Merge pull request #56 from nicksavers/master
No need to process blocks from DB during startup
2014-07-05 16:40:50 +01:00
nicksavers 0f24239b05 Remove duplicate DB insert and update minGasPrice 2014-07-05 16:53:43 +02:00
nicksavers 67f3ada760 Not need to process blocks from DB at startup 2014-07-05 16:41:02 +02:00
Nick Savers 33d0a3c097 Merge pull request #55 from nicksavers/master
Update to protocol version 22
2014-07-05 14:30:08 +02:00
nicksavers 18d4d39d80 Update to procotol version 22 2014-07-05 14:15:26 +02:00
romanman 24c3ed1d2c Transaction layer:
+ apply wire received transaction
 + resolve pending transaction saved by the GUI dialog
2014-07-04 18:07:46 +01:00
romanman a0e379e54a Simple tool to test , long messages form file 2014-07-04 17:19:57 +01:00
romanman 87f1c7a1b8 wire layer:
+ estimation of message size in dynamic way by header content
2014-07-04 14:44:27 +01:00
romanman 88301fe1c9 JSON Testing :
+ testcase adjusted
2014-07-03 18:16:42 +01:00
romanman 14ba667d46 JSON Testing introduced:
+ JSON defined tests to run
+ VM fixes and adaptation for recent changes
2014-07-03 16:58:40 +01:00
romanman 33be499ba6 Merge pull request #53 from nicksavers/database
Better encapsulation for Blockchain db
2014-07-03 11:42:22 +01:00
nicksavers 40fdc329df Merge with master 2014-07-03 11:25:01 +02:00
nicksavers df99976dbc Revert to using <> for Type Inference 2014-07-03 10:59:26 +02:00
romanman ac7c2c061e Merge pull request #51 from nicksavers/cleanup
Cleanup
2014-07-02 19:25:19 +01:00
nicksavers 2706144f14 Refactor to better encapsulate blockchain database 2014-07-02 17:34:57 +02:00