Commit Graph

583 Commits

Author SHA1 Message Date
nicksavers 1a4f00a411 Use byte parsing instead of binary literal 2014-06-30 20:47:51 +02:00
nicksavers b9d242e497 Initial support for Coveralls 2014-06-30 20:22:39 +02:00
romanman 1bb7e53775 TODO adjust 2014-06-29 17:46:23 +01:00
romanman 82db75ff6a Merge branch 'master' of https://github.com/ethereum/ethereumj 2014-06-28 23:11:15 +01:00
nicksavers 5e1b56b154 Update TODO 2014-06-28 13:31:06 +02:00
nicksavers c82a929d30 Delete temp database after unit test 2014-06-28 13:18:43 +02:00
romanman 3b00eadfd1 merge minor stash 2014-06-28 10:02:30 +01:00
nicksavers dc97f95b20 Move back mock to src/main 2014-06-28 08:13:23 +02:00
nicksavers 45698641e3 Cleanup for removal of empty lines 2014-06-28 00:53:24 +02:00
nicksavers 51292f8b20 Refactor Account inherits from AccountState 2014-06-27 18:14:12 +02:00
romanman f7f2f88946 build fix 2014-06-27 01:33:15 +01:00
romanman 6540331acb Fixing invoke bug 2014-06-27 01:19:26 +01:00
romanman 7cf755f448 Coinbase balance math
+ miner reward for the block
+ gas charging benefit
2014-06-26 23:47:27 +01:00
romanman 7116c41f4c comment out main/antlr4 as pom.xml resource 2014-06-26 21:21:07 +01:00
romanman ae8b77f99c main/antlr4 dir as resource dir 2014-06-26 21:01:21 +01:00
romanman fbe29aa7b0 Adding pom.xml instructions
+ for how generate ANTLR  source files
2014-06-26 20:57:37 +01:00
romanman 07afd3366c Merge pull request #42 from nicksavers/master
Generate ANTLR4 sources with maven plugin
2014-06-26 20:51:55 +01:00
romanman 69819d79fe State dump
+ storage dump fix
2014-06-26 20:47:32 +01:00
nicksavers a714407233 Generate ANTLR4 sources with maven plugin 2014-06-26 21:32:17 +02:00
romanman 509f0d6ed7 Fixing testing 2014-06-26 19:57:49 +01:00
romanman bb824e2717 unsupported length test moved to ignored list 2014-06-26 19:43:09 +01:00
romanman e682c4a4b0 a = msg(1, 2, 3, [11, 22, 33], 3, 6) - compilation test fixed 2014-06-26 19:15:42 +01:00
romanman f94862bc95 Merge remote-tracking branch 'origin/master'
Conflicts:
	src/main/java/org/ethereum/util/ByteUtil.java
2014-06-26 19:09:46 +01:00
romanman 4eef10353e Test fixing 2014-06-26 19:09:29 +01:00
nicksavers 8231d59086 Switch last to calcPacketLength 2014-06-26 19:56:30 +02:00
nicksavers c740a42957 Switch to calcPacketLength 2014-06-26 19:56:06 +02:00
nicksavers 4dbf44e335 Fix massive unit test failures by removing guava dependency 2014-06-26 19:55:28 +02:00
nicksavers bb0b9f9c80 Add ByteArrayWrapperTest 2014-06-26 19:54:56 +02:00
nicksavers b75218e3f2 Switch from removed duplicate method to calcPacketLength 2014-06-26 19:54:29 +02:00
nicksavers 4b790121b9 Use generics in JSONHelper 2014-06-26 19:53:23 +02:00
nicksavers 33f887b76d Create ByteUtilTest and move testIncrementPerformance 2014-06-26 19:52:36 +02:00
nicksavers 279e380727 Replace equals and compareTo with FastByteComparison 2014-06-26 19:51:24 +02:00
romanman dfe4a878ea minor 2014-06-26 13:36:41 +01:00
romanman d30cf2d751 Merge branch 'master' of https://github.com/ethereum/ethereumj 2014-06-26 13:32:05 +01:00
romanman 4f3e8a841d DUMP full state each tx - awesome testing hack 2014-06-26 13:31:33 +01:00
Nick Savers bfb81fe10f Add license from original class
As found here https://svn.apache.org/repos/asf/cassandra/trunk/src/java/org/apache/cassandra/utils/FastByteComparisons.java
2014-06-26 11:50:26 +02:00
romanman a86922178f DONE with the refactoring Repository layer 2014-06-25 11:26:44 +01:00
romanman f1ad918831 Genesis calc fixed 2014-06-25 10:10:54 +01:00
romanman 1f2c70387f Merge pull request #39 from rolandkofler/master
improvement of eclipse maven plugin configuration, now no errors are shown due to eclipse not finding the maven goal
2014-06-25 09:19:43 +01:00
romanman 79ad0d6869 New Repositroy management:
+ Block stateRoot hack
2014-06-25 00:37:38 +01:00
romanman 59ff195854 New Repositroy management:
+ VMComplex test 4 fixed
2014-06-25 00:27:39 +01:00
romanman 415f87c727 New Repositroy management:
+ Included and refactored all the repository usage
+ VMTest all pass
+ VMComplex test except 4 all pass
- The rootState of the blcok need sollution
- The contract create contract test VMComplexTest 4 need recheck
2014-06-24 23:53:19 +01:00
romanman 9d650350f0 New Repositroy management:
+ Repository encapsulattion of all the local peer data
+ NewContractDetails - will be renamed for ContractDetails
+ NewContractDetails - saves now the storage table and the program code
+ RepositoryTest testing for the abilities of Repository design
2014-06-24 17:10:30 +01:00
romanman d2a3259fdf RLP critical bug 2014-06-24 12:03:10 +01:00
romanman 7db6b5415b TODO adjust 2014-06-23 21:58:35 +01:00
romanman 9625dfe94b CREATE op impl + UnitTest 2014-06-23 21:51:57 +01:00
romanman b1a1a31e78 TODO adjust 2014-06-23 21:48:55 +01:00
nicksavers b69c6aad44 Use ByteArrayWrapper for Trie cache 2014-06-23 19:20:25 +02:00
nicksavers 4f1fa49c05 Fix bug where Genesis was loaded twice 2014-06-23 18:41:52 +02:00
nicksavers c1cc8e0a86 Use generics in TrackTrie 2014-06-23 18:40:54 +02:00
romanman 5d4ac105d3 SerpentCompiler
+ simple create: create(gas, mem_start, mem_size)
2014-06-23 11:41:50 +01:00
romanman 901c7af47e TODO.md adjust 2014-06-23 10:38:32 +01:00
romanman 6cb8ecffbe Merge pull request #36 from nicksavers/master
Document ECKey and add credits to bitcoinj
2014-06-23 09:55:14 +01:00
rolandkofler 9913b3aefd improvement of eclipse maven plugin configuration, now no errors are
shown within eclipse due to not existing maven goals
2014-06-23 09:56:05 +02:00
romanman ce94a3f54f TODO.md adjust 2014-06-22 21:01:26 +01:00
romanman 0b02376c17 CALL op with in/out data
+ support for return
 + VMComplexText test3 demonstrates the return applied
2014-06-22 20:20:03 +01:00
romanman d2676eda92 Cleaning Java8 only classes 2014-06-22 19:44:08 +01:00
romanman 57c6725dd5 Merge remote-tracking branch 'origin/master' 2014-06-22 18:22:33 +01:00
romanman 7fbd2964b5 CALL with data in:
+ ProgramPlayDialog adjust for simple code play (stand alone run)
+ msg - compile fixed to generated the right code
+ VMComplexTest to test contractA --> ContractB with data [11, 22]
2014-06-22 18:22:18 +01:00
Roland Kofler daffe648c1 - added required inheritance method in MockDB to prevent compile error 2014-06-22 17:16:00 +02:00
Roland Kofler 234fd8a43c - Added m2e plugin to prevent eclipse error "m2e: copy-dependencies is
not supported by m2e"
2014-06-22 17:15:50 +02:00
nicksavers c342afcd84 Document ECKey and add credits to bitcoinj 2014-06-22 14:30:59 +02:00
romanman 1fcf110e98 minor comment fix 2014-06-22 13:10:04 +01:00
romanman 9fc622d94e Merge branch 'master' of https://github.com/ethereum/ethereumj 2014-06-22 13:07:22 +01:00
nicksavers e744a5b718 Use RLP another constant instead of magic number 2014-06-22 13:40:13 +02:00
nicksavers 145d373112 Use RLP constant instead of magic number 2014-06-22 13:24:22 +02:00
romanman 0fda1c4479 TODO: adjust 2014-06-22 09:44:03 +01:00
romanman 52f09c7277 TODO: adjust 2014-06-22 09:23:42 +01:00
romanman 8221c1e3c9 minor 2014-06-22 09:22:14 +01:00
romanman 6baef380db Merge branch 'master' of https://github.com/ethereum/ethereumj 2014-06-22 09:20:30 +01:00
romanman f6275745a0 TODO adjust 2014-06-22 09:08:13 +01:00
romanman c311979b2f TODO adjust 2014-06-22 09:01:23 +01:00
nicksavers 481b193608 Remove obsolete ip address from properties 2014-06-21 22:15:43 +02:00
nicksavers 2aae929b5e Add documentation to Blockchain from the Wiki and use log parameters correctly 2014-06-21 22:15:04 +02:00
romanman ab702f8d8c SerpentCompileTest fix 2014-06-21 21:07:38 +01:00
romanman 7475c7bbe5 Open source project 2014-06-21 16:21:44 +01:00
romanman 1232311ab1 minor fixes 2014-06-21 14:42:12 +01:00
romanman 09fdc66458 VM tracing:
+ slight invoke trace fix
2014-06-21 01:02:03 +01:00
romanman ca2d542a28 Light fix:
+ blockchain by number fix
 + stop is not charged fix
2014-06-21 00:45:54 +01:00
romanman 739b1425ef Nick Savers brilliant work on Miner:
+ the option to vaildate/mine blocks
+ nonce validation
+ calc for max gas for a block
+ difficulty calc
2014-06-20 22:11:49 +01:00
romanman 708428c01e Play program dialog
+ Fix for OOG Exception
2014-06-18 10:39:26 +01:00
romanman 18fee1eff8 Use Genesis directly 2014-06-18 10:18:30 +01:00
romanman 3ebeac67ef Serpent Editor
+ comment cosmetic fix
2014-06-17 18:59:43 +01:00
romanman 56b7610368 Serpent compiler:
+ // - for comment end of line
+ #/ - SDIV
+ #% - SMOD
2014-06-17 18:40:56 +01:00
romanman a19bd3ffa3 Serpent compiler:
+ contract.address support
2014-06-17 17:02:29 +01:00
romanman f7a264b0a8 VMComplexTest introduced 2014-06-17 16:35:11 +01:00
romanman 82dd0f9761 bat file fix for javaw 2014-06-17 16:33:56 +01:00
romanman 11b06e0e1d Log to a log file config 2014-06-17 16:31:01 +01:00
romanman ea3372c4f5 Minor improve:
+ ProgramPlayDialog rollback changes
+ DataWord all zeroes care
2014-06-15 20:50:53 +01:00
romanman 63c9405c19 Load Chain bug 2014-06-15 20:19:30 +01:00
romanman f3e57269bd ContractCallDialong:
+ enhanced with the option to see contract details: storage/code
+ refactored Block Chain into a WorldManager
2014-06-15 20:08:35 +01:00
romanman 1e6835f71d BlockChain load NullPointerException resolved 2014-06-15 15:43:37 +01:00
romanman bbcc1d7eac SerpentCompiler:
+ implemented support for:  a = msg(gas, to, value, [1, 2, 3, 4], in_size, out_size)
2014-06-13 18:17:51 +01:00
romanman 211dac858e SerpentCompiler adjust:
+ send() func op order fixed and the option with no assigned added
2014-06-12 17:08:02 +01:00
romanman 8cad126c0c CALL: first draft
+ recursive contract tested
+ tracking changes for trie introduced
+ genesis updated to protocol 20
2014-06-12 16:18:01 +01:00
romanman f917bf8e97 last commit add on 2014-06-11 15:10:00 +01:00
romanman 333849dac0 DataBases changes tracker introduced
+ TrackDatabase object wraps the Database and support commit/rollback
2014-06-11 15:09:38 +01:00
romanman 33af300619 Contract execution:
+ apply results encapsulated
+ OutOfGas added to step spend
+ Program GAS call bug fixed
2014-06-11 11:03:14 +01:00
romanman 11e9190957 Contract Call impl:
+ Contract storage local save
2014-06-11 09:56:18 +01:00
romanman 115d416e78 VM gas cost:
+ fixed the memory usage, not to be charged by one more general step
2014-06-10 21:47:10 +01:00
romanman a47ecf6f90 Serpent Compiler:
+ Labels encoding bug
2014-06-10 11:49:38 +01:00
romanman 9ae78521a6 Contract Call Dialog:
+ Play button to call already saved contracts
2014-06-09 14:45:41 +01:00
romanman a9b890a86d PeerDiscovery tracing adjusted 2014-06-09 13:16:39 +01:00
romanman 2156177970 VM results apply:
+ Gas debit/refund addeded
+ GUI validation impl started
2014-06-09 13:09:06 +01:00
romanman 899767affb Race condition solved:
+  new SHA3Digest(256) - can't be shared, it's not a thread safe class
2014-06-09 11:21:47 +01:00
romanman 510baf5164 minor fix:
+ include ProgramInvokeFactory into the GitHub
2014-06-09 10:54:09 +01:00
romanman bb8291457a BlockChain refactoring:
+ keep only index of block hash numbers in the cach
+ for the full block data, query DB
2014-06-09 10:51:31 +01:00
romanman b3bf0f024c Calling existent contract:
+ implemented and tested on the existing chain
2014-06-09 04:55:40 +01:00
romanman 54262dd1b9 VM Block env included:
+ OPs: PREVHASH, PREVHASH, TIMESTAMP, NUMBER, DIFFICULTY, GASPRICE, GAS, GASLIMIT
+ All OPs, Unit test
2014-06-09 03:07:03 +01:00
romanman 30459202c1 VM integration go on:
+ ProgramInvoke addapted to work with env vars (no Block data yet)
+ ProgramPlayDialog, can play real code generated from the editor
+ Successfully got the production chain even that CALL doesn't work yet.
2014-06-09 01:47:27 +01:00
romanman c6dd4f31f9 Gas calculation first draft 2014-06-08 09:18:27 +01:00
romanman 63a87f36a8 Merge branch 'master' of https://github.com/romanman/ethereumj
Conflicts:
	src/main/java/org/ethereum/vm/Program.java
2014-06-08 07:58:26 +01:00
nicksavers 068d0ded4c Fix BlockTest and added asserts for Block#1 calcluations 2014-06-08 00:52:24 +02:00
romanman f26ad508df Logger configuration improve 2014-06-07 23:31:25 +01:00
romanman bee4ea0771 @authorship specified - epic days shall be remembered 2014-06-07 22:59:26 +01:00
nicksavers 3927158062 Create new class Account which contains AccountState for use in wallet 2014-06-07 23:16:49 +02:00
nicksavers 2e8d413817 Document class and indentation to comply with convention http://docs.oracle.com/javase/tutorial/java/nutsandbolts/switch.html 2014-06-07 21:11:44 +02:00
romanman bf6693122d Contract Creation:
+ main sequence
 - no edge cases testeds
2014-06-07 19:08:50 +01:00
nicksavers 2d566604d8 Fix TransactionTest for zero nonce 2014-06-07 19:13:56 +02:00
romanman 8b545d6620 some minor changes and fixes 2014-06-07 18:04:06 +01:00
nicksavers f4d933f445 Mini merge 2014-06-07 18:49:58 +02:00
nicksavers a00ff1e205 Mega merge with major refactoring 2014-06-07 18:47:14 +02:00
nicksavers 0dab8330f1 Add comment to Block calculation 2014-06-07 18:37:36 +02:00
nicksavers 9880f3ec15 Remove call to Blockchain DB from Genesis and fix default calc values 2014-06-07 18:37:06 +02:00
nicksavers 5d4814a8eb Change my mind on using constants instead of enums for Gas 2014-06-07 18:36:26 +02:00
nicksavers 7013e1ab1a Replace GasLedger with Gas enum class 2014-06-07 18:35:35 +02:00
nicksavers 6407f48c3a Add failing Block calc tests and update Denomination enum 2014-06-07 18:33:48 +02:00
nicksavers 693930c7e4 Add failing Block calc tests and update Denomination enum 2014-06-07 18:32:41 +02:00
romanman 0154ac6a0f minor fix for last push 2014-06-07 16:39:34 +01:00
romanman 9319272a5a Major refactoring :
WorldManager introduced
WalletTransaction for wallet waiting tx
Pending Transaction for block creation
2014-06-07 16:36:52 +01:00
nicksavers f59e2408f9 Remove call to Blockchain DB from Genesis and fix default calc values 2014-06-07 17:27:38 +02:00
nicksavers eb46749f53 Settle on GasCost for classname 2014-06-07 16:37:20 +02:00
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 0a4a030f56 Add failing Block calc tests and update Denomination enum 2014-06-07 15:49:54 +02:00
nicksavers fccb26d74b Remove obsolete state code and placeholder for processing txs in block 2014-06-07 10:49:26 +02: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
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
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
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
romanman 4a98b7ccfa minor fixes 2014-05-31 08:38:30 +03:00
romanman 711e55203a closing db on exit 2014-05-31 00:42:23 +03:00
romanman e46f504f4c small fixes to the last merge 2014-05-31 00:16:01 +03:00
romanman 97c5b61860 BlockChain ordered fetch and some small fixes to the SerpentCompiler 2014-05-30 23:47:04 +03:00
nicksavers aadb7b0608 Upgrade to protocol 19 2014-05-30 22:37:47 +02:00
nicksavers 01ccfeb0fa Remove merge conflict in system.properties 2014-05-29 22:08:41 +02:00
nicksavers 1edf4ad278 Merge after merge 2014-05-29 22:06:14 +02:00
nicksavers 6b22137c05 Merge pushes from romanman/master 2014-05-29 21:52:18 +02:00
romanman bb9e0d1bee minor changes:
1. fixed un-toggle button on toolbar when by X window closed
2. introduced property for connection
2014-05-29 17:51:59 +03:00
romanman 0e62e5b58f Serpent editor to support save/load files 2014-05-29 16:24:37 +03:00
nicksavers af86249019 Initial usage of LevelDB - still needs lots of work 2014-05-29 11:30:54 +02:00
romanman 0be061fddf Redesign SerpentEditors controls
1. Introduced side vertical toolbar
2. 5  tool actions included (Open/Save file, Compile/Deploy/Call contract)
3. Convenient shortcuts ctrl + o, ctrl +s, ctrl + F9, ctrl + shift + F9, ctrl  + F8
2014-05-29 12:05:18 +03:00
romanman 2504cec497 Major change to Serpent compiler:
1. support for [init] [code] blocks
2. wrap the code before send with VM runnable header
3. GUI adjustments for new changes
2014-05-29 09:18:56 +03:00
romanman dc5cda4ddb Header for Contract VM runnable structure 2014-05-28 20:20:46 +03:00
romanman 71e185d9eb Fixing bug in RLP 2014-05-28 19:34:05 +03:00
romanman a175dc699f Adding new functions to the serpent grammar 2014-05-28 17:03:10 +03:00
nicksavers cb5d611b10 Various line/import cleanup and move AddressState to core-package 2014-05-28 15:57:26 +02:00
nicksavers e768d03ca1 Clean and update documentation Transaction class 2014-05-28 15:37:18 +02:00
nicksavers bcb934bed7 Fix warning for unchecked operation in TransactionExecutor 2014-05-28 15:01:17 +02:00
nicksavers b2b95b189b Add run script for linux 2014-05-28 14:39:44 +02:00
nicksavers aeca671328 Add version for maven-jar-plugin 2014-05-28 14:39:22 +02:00
nicksavers aa5b942f87 Format timestamp for Block details 2014-05-28 09:58:08 +02:00
romanman 2b25736cc8 [asm asm] block fixing bugs and setting color style 2014-05-28 09:11:24 +03:00
romanman 47bc05f4d7 Serpent compiler progress + bug fixing:
1. Serpent: added asm block and msg function.
2. Bug: in case of transaction timeout it wasn't canceled from the pending.
3. BlockChain table the option to copy value after mouse click
2014-05-27 23:30:44 +03:00
romanman 656733985e misc
1. PayoutDialog validation
2. Transaction execution after fail bug
2014-05-27 13:29:21 +03:00
romanman 2e2e7f128c Fix auto scroll in ConnectionConsole 2014-05-27 11:50:11 +03:00
romanman 3f0fea6a08 minor 2014-05-27 10:25:45 +03:00
romanman 7262f13181 Merge branch 'master' of https://github.com/nicksavers/ethereumj
Conflicts:
	src/main/java/org/ethereum/manager/MainData.java
2014-05-27 10:21:53 +03:00
romanman 51d3ed57e3 Packaging the application for production structure 2014-05-27 10:17:11 +03:00
nicksavers c94ff5bfa2 Clean up formatting of some classes 2014-05-26 23:49:33 +02:00
nicksavers 4c65678296 Fix bug of negative blocknumbers 2014-05-26 23:49:01 +02:00
romanman 28f8fe4101 Label encoding bug 2014-05-26 23:24:51 +03:00
romanman 905239b139 Call contract GUI & functionality 2014-05-26 21:59:14 +03:00
romanman 3f6c813ce1 Transaction data/init refactoring
-- One field is enough for new spec
2014-05-26 21:25:17 +03:00
romanman 28086ce09e Contract address calc & field on the dialog 2014-05-26 20:17:35 +03:00
romanman 6f75a25379 The functions for contract call data encodeing 2014-05-26 19:44:44 +03:00
romanman 99e141f667 After the first contract creation succeed 2014-05-26 19:06:55 +03:00
nicksavers 5eca3059f7 Replace Trie.cmp() now using RootHash instead of DeepEquals 2014-05-25 23:43:50 +02:00
nicksavers b2b69fc5a4 Fix Trie to generate the expected rootHash 2014-05-25 23:33:28 +02:00
romanman c141dd98a6 Integrating ContractCreationDialog (now sending tx yet) 2014-05-25 23:12:12 +03:00
romanman e5f4515cb1 Draft_1 for compile assembly to a machine code 2014-05-25 21:39:47 +03:00
romanman dbbfe450e5 PendingTransaction mechanism introduced:
1. the dialog put a pending transaction on the list
 2. the dialog send the transaction to a net
 3. wherever the transaction got for the wire in will change to approve state
 4. only after the approve a Wallet state changes

 5. After the block is received with that tx the pending been clean up
2014-05-25 14:52:45 +03:00
romanman 0c01a4fde6 ContractSubmitDialog prototype 2014-05-25 12:43:35 +03:00
nicksavers 8b57d3facb Move clientName to SystemProperties 2014-05-24 19:54:20 +02:00
nicksavers c61569bf69 Fix tx encoding without signature, Add txTests, Fix Message tests 2014-05-24 19:36:50 +02:00
nicksavers eba6a048b6 Fix case-sensitivity GeoDB file 2014-05-24 18:29:37 +02:00
nicksavers 9949fbe8ef Add test for ECKey.hashcode() 2014-05-24 18:12:54 +02:00
nicksavers 1ff207fe71 Fix failing RLPTest.test() depended on unused method 2014-05-24 15:43:22 +02:00
nicksavers 898d20d218 Remove direct ECKey dependency on Guava 2014-05-24 15:32:40 +02:00
nicksavers 86618f9eb8 Remove unused utility methods 2014-05-24 15:17:47 +02:00
nicksavers d0fc754f55 Fix null key in Transaction.getSender() Update Log version and removed unused imports 2014-05-24 13:34:26 +02:00
romanman 7bd236db23 Nice looking dialog for pay transaction introduced 2014-05-23 18:31:37 +03:00
romanman a24496115a minor fix 2014-05-22 23:14:04 +03:00
romanman 7aaf35c770 wire loggin adjustment 2014-05-22 21:33:17 +03:00
romanman 60a385742b Fix for peer discovery thread pool config 2014-05-22 21:10:52 +03:00
romanman 4c19299167 Cosmetics:
1. Clean logging for peer discovery.
2. Filter peer discovery from the output.
2014-05-22 21:01:12 +03:00
romanman 567e2e4f8a log4j support introduced 2014-05-22 20:26:01 +03:00
romanman 537f614442 Merge pull request #11 from nicksavers/master
Fix bug in hash calculation Tx
2014-05-22 19:51:26 +03:00
romanman 6c5680a92d More properties introduced 2014-05-22 19:49:54 +03:00
romanman 9483936a2b Properties file introduced 2014-05-22 19:44:16 +03:00
nicksavers a41b0c9a21 Fix bug in hash calculation Tx 2014-05-22 17:11:39 +02:00
romanman 23250da8eb prepare application to deploy as a jar with lib of dependencies 2014-05-22 16:56:30 +03:00
romanman cff3395b78 Merge branch 'master' of https://github.com/romanman/ethereumj 2014-05-22 15:31:02 +03:00
romanman 17af20ab50 minor 2014-05-22 15:30:38 +03:00
romanman 571c1916a2 Merge pull request #10 from nicksavers/master
Cleaner way to calculate with exponents
2014-05-22 15:22:51 +03:00
romanman 50c5ad8576 minor 2014-05-22 14:51:25 +03:00
romanman b20b95e4ea Peer discovery full support:
1. Thread pool that manage number of workers to get
   the info if a peer is a live.
2. New peers discovered are auto backed by the workers
   to auto check them as well.
3. GUI got auto update from the repository
2014-05-22 14:43:59 +03:00
Nick Savers c34714cbe8 Fix denom base 2014-05-22 10:49:10 +02:00
nicksavers dd45965240 Nicer code to calculate power of 2014-05-22 10:42:56 +02:00
romanman 0a4272fc49 Get rid of Address.java 2014-05-22 10:28:16 +03:00
romanman 09219f4860 cosmetic 2014-05-22 09:58:18 +03:00
nicksavers a0922f625c Revert move from PeerTaster 2014-05-21 23:07:52 +02:00
nicksavers 145dbaed24 Move legacy PeerTaster to test package 2014-05-21 21:16:11 +02:00
nicksavers f26b113607 Fix genesis hash (again...) 2014-05-21 21:16:10 +02:00
nicksavers 232b04932f Use Genesis.getHash() again instead of static value 2014-05-21 21:16:10 +02:00
romanman 2f73b98614 Fix for transaction process RLP and nonce update on block 2014-05-21 20:39:23 +03:00
romanman b52da2cf4a minor 2014-05-21 20:08:15 +03:00
romanman da85fa993b Merge branch 'master' of https://github.com/romanman/ethereumj
Conflicts:
	src/main/java/org/ethereum/core/Transaction.java
2014-05-21 19:50:29 +03:00
romanman d495f1e992 minor 2014-05-21 19:42:23 +03:00
romanman 46eab0c807 Proceed sender value from the tx 2014-05-21 18:16:21 +03:00
romanman 0e239b58ef Transaction.sender() fix 2014-05-21 18:14:29 +03:00
nicksavers 1399a4425a Expand Genesis block test 2014-05-21 17:12:30 +02:00
nicksavers e05da31238 Use correct GENESIS_HASH 2014-05-21 16:23:03 +02:00
nicksavers 37abf479fb Merge conflicts 2014-05-21 15:54:54 +02:00
nicksavers 5326de29b8 Fix RLP decode long list, TransactionTest and cleaning Utils/ByteUtil 2014-05-21 15:52:55 +02:00
nicksavers 6b5b592595 Fix RLP decode long list, TransactionTest and cleaning Utils/ByteUtil 2014-05-21 15:33:51 +02:00
romanman a16fa04e59 Updating the wallet to work with:
1) AddressState
2) The PayOutDialog works for real now
2014-05-21 14:19:49 +03:00
romanman 6dabaad525 Peer discovery work sequentially
1) Next step will be redesign for ThreadWorkers
 2) Fixed for the new genesis hash
2014-05-21 01:57:12 +03:00
romanman a16728d6a2 negative value in the tx fix 2014-05-21 01:27:43 +03:00
romanman 2fcb00d3b5 Merge branch 'master' of https://github.com/romanman/ethereumj
Conflicts:
	src/main/java/org/ethereum/gui/PayOutDialog.java
2014-05-21 01:16:03 +03:00
romanman 7e7ec683df peer discovery continue 2014-05-21 01:14:03 +03:00
romanman 36e0bc5397 Merge pull request #7 from nicksavers/master
Fix sending Transaction to CPP client
2014-05-21 01:14:01 +03:00
nicksavers e2be467535 Fix sending Transaction to CPP client 2014-05-21 00:11:05 +02:00
romanman c3af234b38 Merge branch 'master' of https://github.com/romanman/ethereumj 2014-05-21 00:49:42 +03:00
romanman 5b4cf4b44e Working on peer discovery and sync mechanism 2014-05-21 00:49:09 +03:00
romanman 17aff88a4b Working on peer discovery mechanism 2014-05-21 00:48:27 +03:00
nicksavers 91db5c8b22 Fix Transaction RLP encoding 2014-05-20 23:43:35 +02:00
romanman e1747c8740 Merge branch 'master' of https://github.com/romanman/ethereumj
Conflicts:
	src/main/java/org/ethereum/gui/ConnectionConsoleWindow.java
2014-05-20 21:43:21 +03:00
romanman 31e81840e7 merge for last pull 2014-05-20 21:42:07 +03:00
nicksavers c1bc0ffafd Update for new Genesis and cleanup Transaction and other old code 2014-05-20 20:32:44 +02:00
nicksavers d7145ddc09 Update denominations 2014-05-20 19:24:08 +02:00
romanman cf82f9b459 Transactions, RLP, and more cool stuff... 2014-05-20 19:16:07 +03:00
romanman 4c1d3e79eb Bunch of small adjustments 2014-05-19 23:41:47 +03:00
romanman 5326356fec Small fixes:
1. Toggle button on/off for toolbar window
2. Timer for GET_CHAIN request goes to 10 sec if we have
all the blocks and geting 1 block each time.
3. Wallet sum pannel in sync
2014-05-19 00:10:29 +03:00
romanman 7affbd26c8 Add new address to a GUI wallet 2014-05-18 18:49:16 +03:00
romanman e7b2fd7d19 Ethereum Wallet Prototype
Added GUI for future wallet,
to run it one can run ToolBar
and click on the wallet icon.
2014-05-17 15:18:49 +03:00
romanman 1f00205a14 Now it's possible to find data in the BlockChain table
by ctrl+f function and copy it by ctrl+c
2014-05-17 11:45:24 +03:00
romanman abafc215e8 Merge branch 'master' of https://github.com/romanman/ethereumj
Conflicts:
	src/main/java/org/ethereum/core/Block.java
2014-05-17 09:54:37 +03:00
romanman 5108f8d797 Merge with pull req#4 2014-05-17 09:47:27 +03:00
nicksavers a4b919a989 Add initial Transaction encoding code - fix parseRLP for cpp compatibility 2014-05-16 00:30:03 +02:00
nicksavers 0c9e304b90 Merge back block encoding now using rlpData as byte[] and bugfix for encodeElement of null 2014-05-15 16:13:19 +02:00
romanman 1e8697ae8b Merge branch 'master' of https://github.com/romanman/ethereumj
Conflicts:
	src/main/java/org/ethereum/core/Block.java
2014-05-15 16:06:12 +03:00
romanman 2a037eb5db Downloading the full block chain, and a first model for the chain table
dialog.
2014-05-15 15:55:05 +03:00
nicksavers 662f341ad3 Fix for encodeLength() fix 2014-05-15 14:12:58 +02:00
nicksavers 02bce31d63 Add genesis block and block encoding 2014-05-15 14:03:30 +02:00
nicksavers 41862c44a1 Fix bugs in encodeBigInteger() and RLP.encodeLength() 2014-05-15 14:03:13 +02:00
romanman c1d619bc92 Fixed BlockMessage parsing for POC-5 2014-05-14 22:04:59 +03:00
romanman 812a2c224e Fixed some small wire adjustments 2014-05-14 20:53:16 +03:00
romanman b72cc89b6f More testing on Serpent compiler, some operand order fixes: 2014-05-14 19:45:02 +03:00
nicksavers 22d0de022e Add performance test for RLP decoding 2014-05-14 15:27:25 +02:00
nicksavers 260aae5881 Fix bug in toInt() and refactor RLPList to extend ArrayList 2014-05-14 14:42:20 +02:00
nicksavers 7eaf9f0dba Merge RLP classes and tests but needs more scrutiny 2014-05-14 10:47:45 +02:00
romanman f50703f69c Adding track for ANTLR4 generated files 2014-05-13 22:40:12 +03:00
romanman 85c8b38b4e More complex example for SerpentEditor 2014-05-13 22:37:52 +03:00
romanman 20740beac2 Merge pull request #1 from nicksavers/master
Start with testing of genesis block
2014-05-13 22:05:35 +03:00
romanman ea0a0bc754 Major redesign of Serpent compiler 2014-05-13 22:00:08 +03:00
nicksavers 99004b211d Add partial tests for genesis block 2014-05-13 19:36:48 +02:00