nicksavers
d2c64b7996
Fix test failures caused by switch to Adaptive Message IDs
2014-10-25 09:24:18 +02:00
romanman
328a3cc0ad
peer discovery fixes
2014-10-25 00:35:47 -05:00
romanman
779bebc2b3
peer discovery fixes
2014-10-25 00:07:54 -05:00
romanman
e9bbc95ee5
peer discovery fixes
2014-10-24 23:17:04 -05:00
romanman
b70315532e
merge tiny changes
2014-10-24 21:15:49 -05:00
nicksavers
aa204e3475
Pass peerdiscovery boolean to EthHandler
2014-10-24 17:51:42 +02:00
nicksavers
3613002557
Merge branch 'vmfixes'
2014-10-24 17:48:53 +02:00
nicksavers
b2e20d2f8d
Use correct call depth
2014-10-24 15:44:15 +02:00
romanman
7768107386
peer discovery enhancement for more info about connected peer
2014-10-23 21:00:39 -05:00
nicksavers
7aa2370057
Restructure Unit tests and VM fixes
2014-10-24 00:49:52 +02:00
nicksavers
e181fb8390
Remove logging from Genesis block
2014-10-24 00:45:39 +02:00
nicksavers
7b914794e9
Add JUMPDEST
2014-10-24 00:45:38 +02:00
romanman
07245866bb
memory leak fix
2014-10-23 15:50:33 -05:00
romanman
2a2f34f7c3
make peer discovery work again
2014-10-23 15:23:26 -05:00
romanman
34999f335b
Network stack redesign and several fixes
...
+ Network redesign for better user expirience, all the handlers are known to PeerClient now, and MessageQueue is also managed in the PeerClient
+ Listener callback for sync done
+ tx.isCreateContract() bug fix
+ repository.getBlock() bug fix
2014-10-22 07:41:08 -05:00
nicksavers
f8021513fe
Update to new genesis and eth-version 36
2014-10-22 10:05:40 +02:00
nicksavers
e1a998ae08
Fix create for testsuite
2014-10-21 10:53:01 +02:00
nicksavers
9110a7a602
Fix memoryChunk with large offset and size zero
2014-10-20 13:39:26 +02:00
nicksavers
a2e8b18126
Fix DataWord compareTo in convention with Comparable interface
2014-10-20 12:39:14 +02:00
nicksavers
7065c33487
Fix CALLCODE to use correct context address
2014-10-20 11:47:17 +02:00
nicksavers
b14472b931
Fix AdaptiveMessageIDs for alphabetical order
2014-10-18 22:30:53 +02:00
nicksavers
b41e47b7c6
Extract capabilities to separate class
2014-10-18 22:03:31 +02:00
nicksavers
4f10a0bec2
Fix OOG while A calls B makes A call unsuccesful
2014-10-18 20:28:24 +02:00
nicksavers
6e32c4a958
Fix TestRunner reading test values
2014-10-18 20:23:49 +02:00
nicksavers
83ea504448
Cleanup and put back javadoc after move
2014-10-18 09:51:51 +02:00
romanman
e556a04d14
adjust for last commit
2014-10-17 23:33:58 -05:00
romanman
12d014272e
POC-7: networking
...
+ Status msg fix
+ NewBlock msg support - after the sync process (GET_BLOCK_HASHES & GET_BLOCKS) the new block received by NEW_BLOCK announcement
2014-10-17 23:12:11 -05:00
nicksavers
e0e99baa29
Remove POST / rename CALLSTATELESS to CALLCODE + add unit test and switch EXTCODESIZE and EXTCODECOPY
2014-10-16 04:06:36 +02:00
nicksavers
ee442c4e34
Create origin/caller in test before executing
2014-10-16 04:06:36 +02:00
romanman
24f849e6ec
delete sample class inserted by mistake
2014-10-15 22:01:20 -05:00
romanman
e8cb84e83b
Implementation for POC-7 network structure
...
+ adaptive message id support
+ dynamic add of [shh] -- todo: yet to be implemented
2014-10-15 22:00:10 -05:00
nicksavers
c26bca7d44
Fix assert description and move exception
2014-10-15 11:12:55 +02:00
nicksavers
4d4d188def
Fix HelloMessage unit test
2014-10-15 11:09:40 +02:00
nicksavers
d87b3f10bc
Fix unit tests for bigIntegerToBytes
2014-10-15 11:09:39 +02:00
nicksavers
300687f960
Fix SMOD_2 unit test
2014-10-15 11:09:38 +02:00
nicksavers
167ebbb255
Bump version 0.6.1
2014-10-13 16:25:48 +02:00
nicksavers
e5ebef986f
Fix merge-conflict
2014-10-13 16:07:46 +02:00
romanman
e386520856
adding fix
2014-10-13 15:48:53 +02:00
romanman
54aaa14d05
POC-6 review and adjustments
2014-10-13 15:48:52 +02:00
nicksavers
2e56de357f
Avoid creation of new objects for empty byte array
2014-10-13 15:48:50 +02:00
nicksavers
3658a9d847
Use protocol version from property file
2014-10-13 15:48:49 +02:00
nicksavers
94bf542dfc
Add documentation and remove unused methods
2014-10-13 15:48:49 +02:00
nicksavers
ebd13f8e9e
Fix bug where nonce was treated for RLP conversion as byte array when it is in fact a number
2014-10-13 15:48:48 +02:00
nicksavers
02c6f9c2aa
Clean up logging for RepositoryImpl
2014-10-13 15:48:47 +02:00
nicksavers
b45980d81e
Add documentation to GasCost
2014-10-13 15:48:47 +02:00
nicksavers
ecb5bb434e
Throw an IllegalOperationException for an INVALID / non-existing operation
2014-10-13 15:48:46 +02:00
nicksavers
bfee3b2251
Fix MULMOD to avoid using mod in between
2014-10-13 15:48:45 +02:00
nicksavers
21e029c125
Fix for SMOD with negative parameters
2014-10-13 15:48:44 +02:00
nicksavers
7663a4b454
Fix SMOD according to Yellow Paper
2014-10-13 15:48:44 +02:00
nicksavers
0bb70d84a3
Remove typo
2014-10-13 15:48:42 +02:00
nicksavers
2b690dd7a6
Create and use backup of GitHub json test files in case online not available
2014-10-13 15:48:41 +02:00
nicksavers
bbaef7e3c7
Fix EXP to use modPow for performance and mod all calculations to (2^256)-1
2014-10-13 15:48:40 +02:00
nicksavers
5905566a1f
Fix RLP bug: single byte 0 should be encoded differently from byte array length 1 with value 0
2014-10-13 15:48:40 +02:00
nicksavers
8730e760c1
Add renamed TestSuiteTest
2014-10-13 15:48:39 +02:00
nicksavers
182953bb3a
Fix where block minGasPrice was used instead of tx.gasPrice
2014-10-13 15:48:38 +02:00
nicksavers
243286b9cd
Minor text fixes
2014-10-13 15:48:38 +02:00
nicksavers
1612ec6a1b
Fix bug for ADDMOD and ADDMUL where program would not continue
2014-10-13 15:48:37 +02:00
nicksavers
65ca63e037
Extract GitHub tests into separate class and add tests
2014-10-13 15:48:36 +02:00
nicksavers
75802cebbc
Fix out syntax for vmtest-5.json
2014-10-13 15:48:35 +02:00
nicksavers
c2eff6bd93
Fix to read 0x values for storage keys
2014-10-13 15:48:35 +02:00
nicksavers
33b59c6583
Fix overflow for DataWord calculations and add unit test for multiply
2014-10-13 15:48:34 +02:00
nicksavers
729e2822ce
Don't store code for empty init return
2014-10-13 15:48:33 +02:00
nicksavers
03e6c7ba5a
Wait with removing hash from queue after block is received
2014-10-13 15:48:32 +02:00
nicksavers
fdc41c7ae9
Remove the GetHashesTimer
2014-10-13 15:48:32 +02:00
nicksavers
d2bc29f32e
Dynamically add handler and use String for peerId
2014-10-13 15:48:31 +02:00
nicksavers
4093fc9e65
Fix contract creation
2014-10-13 15:48:30 +02:00
nicksavers
50f6a21ba8
Fix uncle inclusion reward
2014-10-13 15:48:29 +02:00
nicksavers
040455d868
Track total difficulty in chain
2014-10-13 15:48:29 +02:00
nicksavers
56a96e8f75
Fix bug for total difficulty
2014-10-13 15:48:28 +02:00
nicksavers
8b381635e3
Document BlockQueue
2014-10-13 15:48:27 +02:00
nicksavers
8ae2e9a3a4
Fix GetBlocksMessage and unit test
2014-10-13 15:48:27 +02:00
nicksavers
c313b90a0e
Move maxmind and fifesoft dependecies to studio
2014-10-13 15:48:26 +02:00
nicksavers
687ac2d535
Retrieve block hashes and fix separated handlers
2014-10-13 15:48:25 +02:00
nicksavers
ea5214912f
Clean properties and add protocol version
2014-10-13 15:48:24 +02:00
nicksavers
4f901c8d16
Retrieve block hashes from single peer
2014-10-13 15:48:23 +02:00
nicksavers
f877d09f5a
Activate new handler and fire read
2014-10-13 15:48:23 +02:00
nicksavers
1e3b496e8e
Use separate handler and decoders
2014-10-13 15:48:22 +02:00
nicksavers
8642f06e21
Add IRC channel to README
2014-10-13 15:48:21 +02:00
nicksavers
b26676f211
Move exception logging to PeerClient
2014-10-13 15:48:20 +02:00
nicksavers
2ec44a6166
Move peer thread monitor logging to level INFO
2014-10-13 15:48:20 +02:00
nicksavers
b5b7dde0bd
Prepare for block hash retrieval and move genesis hash to Blockchain interface
2014-10-13 15:48:19 +02:00
nicksavers
9ec7e20191
Use attribute for static final genesis premine amount
2014-10-13 15:48:18 +02:00
nicksavers
72823df2f2
Format classes net package
2014-10-13 15:48:17 +02:00
nicksavers
ac982a6767
Move console logging to MessageQueue
2014-10-13 15:48:16 +02:00
nicksavers
c167f1947e
Move message command validation to abstract Message class
2014-10-13 15:48:16 +02:00
nicksavers
fc8feb491c
Refactor wire protocol to use a single handler
2014-10-13 15:48:15 +02:00
nicksavers
5182589dac
Document Database interface and fix logging text
2014-10-13 15:48:14 +02:00
nicksavers
7327224939
Refactor logging and remove initial forced ping
2014-10-13 15:48:13 +02:00
nicksavers
8cb7f3e594
Use configured peers only once to set up a connection
2014-10-13 15:48:12 +02:00
nicksavers
acbd3a7032
Put command packets in correct order
2014-10-13 15:48:12 +02:00
nicksavers
a256c12a62
Initial commit poc6 protocol update
2014-10-13 15:48:11 +02:00
nicksavers
040129799c
Upgrade to latest netty 4.0.23
2014-10-13 15:48:10 +02:00
nicksavers
fd3014a1ae
Initial separation of message tests
2014-10-13 15:48:09 +02:00
nicksavers
ce38ac5e89
Switch to consistent interface name for Trie
2014-10-13 15:48:07 +02:00
nicksavers
6c1de3e483
Initial changes for poc6 networking
2014-10-13 15:48:06 +02:00
nicksavers
b09a73678e
Replace INVALID op codes with new codes in VMComplexTest
2014-10-13 15:48:06 +02:00
nicksavers
5428b47c8d
Fix missing step after SWAP operations
2014-10-13 15:48:05 +02:00
nicksavers
3065258dc2
Fix unit tests for new genesis state root
2014-10-13 15:48:04 +02:00
nicksavers
1b521a9894
Add INVALID op test
2014-10-13 15:48:03 +02:00
nicksavers
c99c7b818c
Fix State unit test expectations
2014-10-13 15:48:03 +02:00
nicksavers
4ecdd57d51
Update to protocol version 33
2014-10-13 15:48:02 +02:00
nicksavers
eafe959e39
Fix account state rlp encoding test
2014-10-13 15:48:01 +02:00
nicksavers
6d1661c4ff
Move to new version 0.6.0
2014-10-13 15:48:00 +02:00
nicksavers
c3015e8108
Move MockDB to db package
2014-10-13 15:48:00 +02:00
nicksavers
f1c5a42dce
Change block and uncle reward with extra validation for poc6
2014-10-13 15:47:59 +02:00
nicksavers
d45db5ada3
Adjust genesis difficulty for poc6
2014-10-13 15:47:58 +02:00
nicksavers
0bc99d2e78
Make INVALID result in program STOP
2014-10-13 15:47:57 +02:00
nicksavers
3873dc98b5
Put back missing Repository import
2014-10-13 15:47:57 +02:00
nicksavers
bddcda09f2
Replace redundant ZERO_ADDRESS attribute with ByteUtil EMPTY_BYTE_ARRAY
2014-10-13 15:47:56 +02:00
nicksavers
57f9db3969
Add CALLSTATELESS - POST queue and no fee for zero size memory increase
2014-10-13 15:47:55 +02:00
nicksavers
70479bdd02
Implement EXTCODESIZE and EXTCODECOPY with unit tests + some work for POST and CALLSTATELESS
2014-10-13 15:47:54 +02:00
nicksavers
72669225ad
Put contract in ddb for ProgramInvokeMock
2014-10-13 15:47:54 +02:00
nicksavers
d9c382bb35
Throw exception for illegal opcode
2014-10-13 15:47:53 +02:00
nicksavers
2ff9ada540
Re-add contact details for every account and clean up test
2014-10-13 15:47:52 +02:00
nicksavers
332707df0f
Implement ADDMOD and MULMOD with unit tests
2014-10-13 15:47:51 +02:00
nicksavers
0f8b51158a
Change block difficulty for new GHOST protocol
2014-10-13 15:47:50 +02:00
nicksavers
3542c6c35e
Document OpCode enums
2014-10-13 15:47:50 +02:00
nicksavers
1096431d54
Implement SWAP1-16 with units tests and stackRequire with StackTooSmallException
2014-10-13 15:47:49 +02:00
nicksavers
22d98023b8
Implement DUP1-16 and unit tests
2014-10-13 15:47:47 +02:00
nicksavers
8bf0284d64
Remove unused imports
2014-10-13 15:47:47 +02:00
nicksavers
e142adc8be
Initial changes for poc6
2014-10-13 15:47:46 +02:00
Alon Muroch
be6c888184
state explorer address validation
...
contract submit dialog pop fix
program full trace fix
address to byte array util
program play on real repository fix
system properties cleanup
addressStringToBytes address fix
documentation and unit tests
2014-09-26 13:58:51 +03:00
nicksavers
a1f44371db
Improve validation in ContractCallDialog #45
2014-09-20 11:10:56 +02:00
nicksavers
028cfe5ca3
Fix ContractCallDialog error
2014-09-20 10:48:53 +02:00
romanman
2842f7f8b1
Merge pull request #123 from ethereumj/master
...
Call Repository interface instead of implementation
2014-09-15 09:48:17 +02:00
nicksavers
055318b7d4
Fix getRootHash() for TrackTrie
2014-09-15 08:22:21 +02:00
romanman
39a82f275a
Travis fails on too much testing output,
...
so reducing some of it.
2014-09-15 00:10:21 +02:00
romanman
a3f2efa947
Merge branch 'master' of https://github.com/ethereum/ethereumj
2014-09-14 23:58:45 +02:00
romanman
cee31133da
testing for trie rollback
2014-09-14 23:57:38 +02:00
nicksavers
a6803e74c8
Call Repository interface instead of implementation
2014-09-14 20:11:46 +02:00
Des Kenny
f5a136094e
[performance] Correcting invalid zero #sec passed by PeerDiscovery to PeerDiscoveryMonitorThread and Reducing object cycling in PeerDiscoveryMonitorThread
2014-09-13 21:26:41 +01:00
Alon Muroch
ddeffc1df0
accounts iterator
2014-09-11 23:14:05 +03:00
romanman
c1d3f73ca2
moved TODO.md
2014-09-11 11:26:59 +02:00
romanman
4ffcd9c8ec
Update TODO.md
2014-09-11 11:17:30 +02:00
romanman
6b6fa6dd8c
Update TODO.md
2014-09-11 11:16:49 +02:00
romanman
bc1bf13138
Update README.md
2014-09-10 09:20:38 +03:00
romanman
88093e7d37
Update README.md
2014-09-10 09:03:50 +03:00
romanman
3340b44226
Update README.md
2014-09-10 09:03:20 +03:00
romanman
deaf2f9c12
Update README.md
2014-09-10 09:01:27 +03:00
romanman
ea17b5062a
Update README.md
2014-09-10 09:00:37 +03:00
romanman
3831944aff
Update README.md
2014-09-10 08:42:51 +03:00
romanman
c0153b35cd
Update README.md
2014-09-10 08:42:13 +03:00
romanman
f1474cfb05
Update README.md
2014-09-10 08:41:46 +03:00
romanman
358da41a28
Update README.md
2014-09-10 08:37:19 +03:00
romanman
170505efe4
Create README.md
2014-09-10 08:34:45 +03:00
Alon Muroch
41efe75aec
merge stateUI
...
cleaning up
2014-09-09 15:52:43 +03:00
nicksavers
f0ddccd490
Add missing version to javadoc plugin
2014-09-09 01:36:32 +02:00
nicksavers
561d1dd296
Fix memory allocation and add unit tests
2014-09-09 01:35:39 +02:00
romanman
c51e56831a
update to version: 0.5.7
2014-09-08 11:13:27 +03:00
romanman
a7231cd5bd
Adapting for Ethereum as a library style:
...
+ APIs for various simple functions exposed to the user
2014-09-08 10:41:18 +03:00
romanman
7f8364bd0a
Adapting for Ethereum as a library style:
...
+ API for submit transaction
2014-09-08 10:12:22 +03:00
romanman
979763106d
new shiny wallet design
2014-09-07 21:22:43 +03:00
romanman
c738f750b7
Basic wallet redesign work
2014-09-06 17:02:45 +03:00
romanman
b4d9dea7e2
Adapting for Ethereum as a library style:
...
+ double chain loading but solved
2014-09-06 13:46:21 +03:00
romanman
79dc226d76
Adapting for Ethereum as a library style:
...
+ using block queue buffer as indication that the blockchain loading is in process
2014-09-06 13:24:43 +03:00
romanman
92fe4bae0e
Adapting for Ethereum as a library style:
...
+ .ignore adjusting
+ track/untrack script adjusting
2014-09-06 12:04:53 +03:00
romanman
bfed03e0c0
Adapting for Ethereum as a library style:
...
+ track-untrack-local - helping script
2014-09-06 11:38:45 +03:00
romanman
19f371eb77
Adapting for Ethereum as a library style:
...
+ building studio script adjust
+ PeerDiscovery regression fix and adjust
2014-09-06 11:31:55 +03:00
romanman
d2c29c07f3
Adapting for Ethereym as a library style:
...
+ BlockChain screen adapted
+ ConnectionConsole screen adapted
+ ToolBar Screen adapted
2014-09-04 21:39:47 +03:00
romanman
714c97cbc7
initial library split
2014-09-04 19:54:54 +03:00
romanman
6f231bc96b
initial library split
2014-09-04 18:53:09 +03:00
romanman
a7a6bd82a4
bulish snapshot with current timestamp
2014-09-04 13:05:18 +03:00
romanman
be19243ccb
publish new version to bintray
2014-09-04 12:11:18 +03:00
romanman
4ecc406106
restruct
2014-09-03 09:26:00 +03:00
romanman
8a3dd50d87
restruct
2014-09-02 17:22:02 +03:00
nicksavers
e106d2fdc7
Add VM dumptrace in pretty format
2014-09-01 20:59:06 +02:00
romanman
45925d0791
Tri: testing fix
...
+ 100000 update/deletes was to hard for travis free server reducinng the testing for 5000 operations
2014-08-30 19:19:10 +03:00
romanman
eb8fee2827
Fixing tests for Trie : RLP changes
2014-08-30 18:38:27 +03:00
romanman
480cc53efa
no real change just to kick off another travis build
2014-08-30 18:19:40 +03:00
romanman
83d76fbeb9
Trie:
...
+ Sample for the blog post
2014-08-30 17:24:36 +03:00
romanman
56f415ff39
Trie - going on
...
+turning off the garbage collector for a while , it should be better tested
+ dump of the full trie to the files each block
2014-08-30 17:09:57 +03:00
romanman
cee2e3cb20
Trie
...
+fixing the bug of loading Trie from the db
+Tracing full tree improved - now it traverse the trie recursively from the root
2014-08-30 16:53:40 +03:00
romanman
da50b99394
Trie improvement
...
+ fixed for db save/load (rlp bug)
+ garbage collector for obsolete trie nodes
2014-08-29 22:51:03 +03:00
Gianluigi
3c106c7dbf
Merge branch 'master' into thread-safety
2014-08-27 12:50:22 +02:00
romanman
d45b4ad555
Merge pull request #100 from davassi/thread-safety
...
Thread-safety and data structures fixes
2014-08-27 13:40:32 +03:00
Gianluigi
6c5c5f0dbb
using a linked hash map
2014-08-27 12:39:26 +02:00
Nick Savers
69ba68adf4
Pad state dump block no. in filenames with zeroes
2014-08-27 11:08:53 +02:00
Gianluigi
d2b7866a63
reverted log labels back
2014-08-27 11:04:10 +02:00
Gianluigi
2b03a1a38e
removed Collection<> references
2014-08-26 18:40:41 +02:00
Gianluigi
6ebd687d39
Thread-safety and data structures fixes
2014-08-26 16:47:21 +02:00
romanman
5bf3329993
Trie work
...
+ nice string for nibbles
2014-08-26 11:19:50 +03:00
romanman
816402816e
VM: tracing fix
...
+ get back the log for memory/stack/storage
on vm trace level.
2014-08-25 00:57:58 +03:00
Alon Muroch
c74a1eaf91
added custom json generator
2014-08-24 16:54:08 +03:00
nicksavers
a203c3a1c6
Workaround overflow bug in poc5
2014-08-24 14:28:15 +02:00
nicksavers
2b74aca6a9
Reward correctly when there are uncles
2014-08-24 14:27:07 +02:00
nicksavers
abfc40f293
Add placeholder for Unit test of too high CALL gas
2014-08-24 12:36:00 +02:00
nicksavers
1f3935a3ae
Compare CALL gas value against gas remaining
2014-08-24 12:13:04 +02:00
nicksavers
7454d99b60
Guard CALL against high initial gas price and overflow
2014-08-24 11:38:27 +02:00
nicksavers
4b722c9aa7
Revert standard size for CALLDATALOAD to 32 bytes
2014-08-23 23:57:36 +02:00
nicksavers
99522657ef
Use statelogger for logging state conflict
2014-08-23 22:47:40 +02:00
nicksavers
cdbc5f0a25
Add catch overflow for CALLDATALOAD
2014-08-23 22:46:55 +02:00
nicksavers
477394ac49
Add CALLDATACOPY OutOfGasException Unit Test
2014-08-23 20:47:48 +02:00
nicksavers
b61e40494f
Revert contract creation in event of VM exception and Program with 0 ops is allowed
2014-08-23 19:39:16 +02:00
nicksavers
dbaf79670d
Proper VM trace outlining
2014-08-22 23:07:37 +02:00
nicksavers
0a2a0803b9
Return gasUsed instead of gasDebit
2014-08-21 19:10:28 +02:00
nicksavers
e7bab2a8ee
Remove asserts
2014-08-21 18:20:49 +02:00
nicksavers
88df96b7cc
Use BigInt for gas calculation instead of long
2014-08-21 16:40:54 +02:00
nicksavers
334f4ceb20
Don't spend reserved gas
2014-08-21 16:12:02 +02:00
nicksavers
e592e24eb2
Add basic gas step cost to mem exapnding operations and use enum directly
2014-08-21 14:27:51 +02:00
nicksavers
6281a752b4
Calculate gasfee in advance
2014-08-21 07:51:19 +02:00