Commit Graph

748 Commits

Author SHA1 Message Date
nicksavers 3e71d0d122 Use long instead of hex for timestamp and difficulty 2014-08-04 22:00:48 +02:00
romanman 4f6a3a6954 1. Getting the tace back after last merge 2014-08-04 12:47:50 +03:00
romanman a70761ad2b Merge pull request #75 from nicksavers/master
Multiple performance fixes
2014-08-04 12:34:34 +03:00
nicksavers e25fbc90cb Add Unit tests for matchingNibbleLength and move to ByteUtil 2014-08-04 00:19:25 +02:00
nicksavers 028dc5f1d4 Small refactoring 2014-08-03 23:02:54 +02:00
nicksavers ac8d2a96f9 Outline VM log 2014-08-03 22:43:18 +02:00
nicksavers adc2313308 Change VM log to be more like pyethereum 2014-08-03 22:05:40 +02:00
nicksavers 6f84df1477 Remove quotes around string in property file 2014-08-03 22:01:23 +02:00
nicksavers b7197abe0e More concice logging program input 2014-08-03 21:53:58 +02:00
nicksavers 2e7c40d6dc Remove call to WorldManager in Block constructor 2014-08-03 21:50:09 +02:00
nicksavers 5db586b911 Improve performance matchingNibbleLength 2014-08-03 21:32:33 +02:00
nicksavers a5802b9398 Improve binToNibble performance 2014-08-03 20:51:08 +02:00
nicksavers 59d8dfbed0 Recalculate trie only when necessary 2014-08-03 18:35:20 +02:00
nicksavers 31fddb591b Avoid double Map search 2014-08-03 18:31:22 +02:00
romanman dfd2e26c6e Merge pull request #74 from nicksavers/repofactor
Performance and better separation of concerns
2014-08-02 19:21:48 +03:00
nicksavers 2b42ebaac2 Use Repository as abstraction layer for Blockchain 2014-08-02 13:48:38 +02:00
nicksavers d8063c5ff3 Re-use static variable for Word with EMPTY_BYTE_ARRAY 2014-08-02 11:35:37 +02:00
nicksavers be0f70575b Switch to LRU for caching sha3 hashes 2014-08-02 04:34:29 +02:00
nicksavers cfe42aec5b Remove unnecessary compression 2014-08-02 01:15:38 +02:00
nicksavers d2ea940992 Use sha3 cache for extra performance 2014-08-02 00:52:22 +02:00
nicksavers f4bab10327 Define Map interface instead of implementation 2014-08-01 20:28:34 +02:00
nicksavers d932294c0c Avoid putting conflicting state into the db 2014-07-31 22:28:00 +02:00
Nick Savers 202be8f553 Update to latest Spongycastle v1.51 2014-07-30 22:39:05 +02:00
romanman 5d3d4c472d Merge remote-tracking branch 'origin/master' 2014-07-28 01:00:31 +03:00
romanman 96c3f75049 Small adjustments:
+  Block chain the index holds hashes not the full block RLP (bug fix)
+ Ethereum facade some well know functionality
2014-07-28 00:59:02 +03:00
romanman b290f9021f Update README.md 2014-07-27 23:20:37 +03:00
romanman fef66fccf6 Update README.md 2014-07-27 23:12:53 +03:00
romanman 9197c8df36 Adjustment for Android devices
1. Some classes been hided not to be loaded if no need - AdvancedDeviceUtils
2. BlockQueue introduced, will separate the net layer from the execution layer.
3. MainData vanished, all globals are managed out of the WorldManager
4. DB is now can be saved in location specified by a param.
5. The core lib should have a facade to expose the functionality Ethereum.java interface and the properimpemintation is introduced for that reason.
6. pom.xml the option to deploy sources to the repository.
7. new properties detailed descripted in system.properties
2014-07-27 15:58:00 +03:00
romanman 9c7d80f764 adjust todo list 2014-07-19 20:54:41 +03:00
romanman 391577c526 Celebrating block #1156 consensus 2014-07-18 19:38:56 +03:00
romanman d2d36317d6 Merge with 518f9f53d57f5b2b9989a2b55e76a82534daaf16 2014-07-18 19:37:53 +03:00
romanman 2be0364145 Fixing consensus bugs:
+ clone for invoke data (if not changed unsafe changes will corrupt the env)
+ tx got into sign byte problem
+ significant improve over VM short tracing
2014-07-18 19:30:29 +03:00
romanman f7d2c80eba Testing Trie with JSON dump 2014-07-17 11:41:48 +03:00
romanman 74b1d7fb29 fix for latest commit 2014-07-17 01:01:33 +03:00
romanman 8ed9f61af0 TrieTest merge 2014-07-17 00:50:43 +03:00
romanman f1f637b123 Merge pull request #70 from nicksavers/master
Fix for getting Trie from rootNode
2014-07-17 00:37:15 +03:00
nicksavers 132fab65de Commit missing MockDB changes 2014-07-16 23:34:22 +02:00
nicksavers 6c90111ea0 Fix for getting Trie from rootNode 2014-07-16 23:32:14 +02:00
romanman 685fa48a6b Memory leak fix:
+ cause of the memory leak was not closing file writer for the state dump
2014-07-14 22:01:14 +03:00
romanman 178f3ae7b0 Fix for bigger retry interval 2014-07-14 21:47:13 +03:00
romanman ffef5a8bb9 fix for latest commit with better name 2014-07-14 21:29:49 +03:00
romanman a659787a8f Merge pull request #69 from nicksavers/master
Change Repository to never accept address NOT 20 bytes
2014-07-14 21:27:40 +03:00
nicksavers b0b800f9e0 Change Repository to never accept address NOT 20 bytes 2014-07-14 20:13:48 +02:00
romanman db0e135278 Fix for last commit 2014-07-14 10:27:58 +03:00
romanman aa0dab8d18 Merge pull request #65 from nicksavers/master
Add random.json and fix in Repository
2014-07-14 09:53:34 +03:00
nicksavers 494aee1e58 Add random.json and fix in Repository 2014-07-14 00:18:28 +02:00
romanman 669a64de92 Merge pull request #64 from nicksavers/master
Adding extra VM tests
2014-07-14 00:10:54 +03:00
nicksavers bc24645644 Add namecoin.json and fix in TestRunner 2014-07-13 23:05:38 +02:00
romanman 48691c745a Better tracing for VM run:
+ vm.info --> is giving just ops
+ vm.debug --> gives mass of information about stack/memory/storage during each op
2014-07-13 23:59:10 +03:00
romanman 60b288d4fa Update README.md 2014-07-13 21:01:35 +03:00