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
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
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
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
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
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
nicksavers
494aee1e58
Add random.json and fix in Repository
2014-07-14 00:18:28 +02: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
nicksavers
73db273715
Fix JSONTestSuite for updated vmtests.json
2014-07-13 14:16:36 +02:00
nicksavers
b0a564e51e
Fix TXFEE/TXDATAFEE for normal tx
2014-07-13 13:12:51 +02:00
nicksavers
a5961dd13a
Calculate minGasPrice when needed
2014-07-13 12:49:34 +02:00
romanman
9783897c25
Fixed CREATE op usage
...
+ spec changed to use CREATE with: vaue, data offset, data size, the gas used is all the gas of the caller what left is refunded back.
2014-07-12 21:03:14 +03:00
romanman
db450e2233
Fixed BALANCE usage
...
+ spec changed to retrieve BALANCE by the specified address
2014-07-12 20:47:23 +03:00
romanman
e6836a0b63
Merge branch 'master' of https://github.com/ethereum/ethereumj
2014-07-11 23:01:57 +03:00
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
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
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
nicksavers
f75fd9955f
Add getWorldState() method
2014-07-08 00:12:18 +02: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
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
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
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
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
nicksavers
2706144f14
Refactor to better encapsulate blockchain database
2014-07-02 17:34:57 +02:00
nicksavers
4037dc40c8
Public method to get repository
2014-07-02 15:33:41 +02:00
nicksavers
145f753ae5
Merge branch 'master' into cleanup
2014-07-02 15:08:40 +02:00
nicksavers
ca4180f49e
Ignore test of incomplete method
2014-07-02 15:07:40 +02:00
nicksavers
3e751ef2b4
Use uppercase for public static attribute
2014-07-02 14:50:29 +02:00
nicksavers
3ccbb3cdaf
Lower case methodnames
2014-07-02 14:48:35 +02:00
nicksavers
af8f9aef7e
Remove commented code
2014-07-02 14:47:41 +02:00
nicksavers
eb63e08bbb
Switch from Cobertura to JaCoCo
2014-07-02 13:13:20 +02:00
romanman
9d4a07ee3e
Merge pull request #48 from nicksavers/peerlistener
...
Move PeerListener to correct package
2014-07-02 11:21:23 +01:00
nicksavers
b99e043567
Remove example class
2014-07-02 11:32:42 +02:00
nicksavers
566dd8ccc9
Move PeerListener to correct package
2014-07-02 11:07:50 +02:00
nicksavers
76517a6417
Suppress warnings because fallback is available
2014-07-02 10:35:09 +02:00
Nick Savers
dd02d31761
Increase block minGasLimit for protocol 21
2014-07-01 16:34:50 +02:00
romanman
72128e0e5d
latest Genesis update related
2014-07-01 15:13:29 +01:00
romanman
82072c5520
Merge pull request #47 from nicksavers/master
...
Support for Coveralls (code coverage)
2014-07-01 14:52:51 +01:00
romanman
3a167a3335
Genesis updated for new chain kick off
2014-07-01 14:40:09 +01:00
Nick Savers
25e2543488
Add cobertura-maven-plugin to pom.xml
2014-06-30 23:39:11 +02:00
nicksavers
ab600a5d15
Use generics for SwingWorker
2014-06-30 23:28:24 +02:00