Commit Graph

1049 Commits

Author SHA1 Message Date
Adrian Tiberius 9b29b9ea95 Replaced RoboSpring with Dagger2 2015-05-22 21:19:38 +02:00
Adrian Tiberius ea2fc0239f Merged poc-9-merge-rlpx from main repo. 2015-05-14 19:47:06 +02:00
Adrian Tiberius 22f70082c4 Hardcoded remoteId. 2015-05-14 18:44:47 +02:00
Adrian Tiberius abd6ef1d4c Working netty version. Added missing dependency. 2015-05-14 17:32:03 +02:00
Adrian Tiberius 856cea2867 Added missing files from previous commit. Added Android-studio-material ui. 2015-05-14 16:22:19 +02:00
Adrian Tiberius 0b5f6f9c02 Merged poc-9 branch.
Some minimalistic console ui implementation.
2015-05-14 13:38:26 +02:00
Adrian Tiberius ff71583142 Readded serpent.
Reenabled antlr.
2015-05-06 19:26:56 +02:00
Adrian Tiberius fb31912de4 jsontestsuite android fixes. 2015-05-06 16:00:34 +02:00
Adrian Tiberius b85abefebd Readded jsontestingsuite.
Removed hibernate dependency.
2015-05-06 15:59:02 +02:00
Jarrad Hope ed43eb9a0a deleting things we probably need later 2015-05-03 09:34:49 +07:00
Adrian Tiberius 3d3e8f82c5 Succesfull app run:
Replaced spring framework with robospring.
Changed ethereumj-core build to android-library.
Disabled BlockStoreImpl until we make it android compatible( use InMemoryBlockstore ).
Disabled antlr4 dependencies.
Commented some dependencies(needs testing before enabling).
Excluded dom4j and org.jboss.spec.javax.transaction dependencies (problems with android).
Change to netty 4.0.18.Final (this seems to work with android; latest 4.1 and 5.0 presented some problems; needs additional testing).
2015-04-28 20:08:04 +02:00
Adrian Tiberius 1d3782c3be Added android app wrapper 2015-04-28 20:14:10 +03:00
eugene-shevchenko a23617afda VM trace JSON serialization bugfix. 2015-04-09 22:42:52 +03:00
eugene-shevchenko 429d1025a2 Merge branch 'vm-trace-listener' 2015-04-09 11:49:43 +03:00
eugene-shevchenko a0ad521fa1 VM trace extending with 'result' and 'error' fields. 2015-04-09 11:48:57 +03:00
eugene-shevchenko e2f6eef1c9 Op.deep field added. 2015-04-07 20:42:06 +03:00
eugene-shevchenko 732ba7d8b3 TransactionExecutor backward compatibility constructor added. 2015-04-06 17:34:11 +03:00
eugene-shevchenko d6e21a3ad6 TransactionExecutor backward compatibility constructor added. 2015-04-06 12:52:02 +03:00
eugene-shevchenko b823521882 VM trace creation listener added. 2015-04-02 17:59:13 +03:00
Roman Mandeleil 332e15eafe Merge branch 'master' of https://github.com/ethereum/ethereumj 2015-03-31 12:55:04 +03:00
Roman Mandeleil 91ca027d80 Stringify runtime error option 2015-03-31 12:48:53 +03:00
eugene-shevchenko 6bf85643bd Merge branch 'master' into pending-transaction-datasource 2015-03-30 12:16:01 +03:00
eugene-shevchenko a7b0fa1c7b Pending Transaction - save in external datasource
context init logging added.
2015-03-30 12:15:35 +03:00
eugene-shevchenko 3f1ec43b3b Merge branch 'pending-transaction-datasource' 2015-03-27 22:31:10 +02:00
eugene-shevchenko f2bf688f85 Pending Transaction - save in external datasource
context initialization fix
2015-03-27 22:30:24 +02:00
eugene-shevchenko f87a0f5fea Pending Transaction - save in external datasource
Created redis cloud entry point. Pending transactions storages in Redis depending 'redis.enabled' property and Redis availability.
2015-03-27 17:48:43 +02:00
eugene-shevchenko 52d9d19a18 redis.enabled property added 2015-03-27 17:36:43 +02:00
Roman Mandeleil ebfdb860a8 Finalize only master push feature 2015-03-27 17:21:28 +03:00
Roman Mandeleil 28b39a90ca Empty commit 2015-03-27 17:17:34 +03:00
eugene-shevchenko 339b0e57e4 Pending Transaction - save in external datasource 2015-03-27 12:59:54 +02:00
eugene-shevchenko a5ca9cffd0 Merge branch 'master' into pending-transaction-datasource 2015-03-27 12:50:06 +02:00
eugene-shevchenko 4ef20af5e0 Pending Transaction - save in external datasource 2015-03-27 12:49:32 +02:00
Roman Mandeleil eb72c20f6d Pushing empty commit 2015-03-27 12:47:15 +03:00
Roman Mandeleil 6e92c3a5e0 Fix branch name env var 2015-03-27 12:43:45 +03:00
Roman Mandeleil 114595bb01 Fix branch name env var 2015-03-27 12:38:05 +03:00
Roman Mandeleil 1fb2e0af0c Fix publish only on master 2015-03-27 12:34:41 +03:00
Roman Mandeleil 1e7217ea3d Test not publishing build 2015-03-27 12:29:04 +03:00
Roman Mandeleil 0356258999 Fix: publish one if building on master branch 2015-03-27 12:21:07 +03:00
Roman Mandeleil 0599ba0be2 Publish one if building on master branch 2015-03-27 12:03:42 +03:00
Roman Mandeleil 96fb4f875d Empty commit 2015-03-27 11:54:52 +03:00
eugene-shevchenko 40e1019d5b Pending Transaction - save in external datasource 2015-03-26 23:32:40 +02:00
eugene-shevchenko 1ee5629fe4 Merge branch 'master' into pending-transaction-datasource 2015-03-26 10:30:04 +02:00
eugene-shevchenko 43b956a106 Pending transaction save in external datasource 2015-03-26 10:25:49 +02:00
Roman Mandeleil 99d135c034 Update for genesis cpp mater poc-8 compatibility 2015-03-24 21:56:13 +02:00
Roman Mandeleil 2c2a0f2f37 Reduce warning noise 2015-03-17 00:30:07 +02:00
Roman Mandeleil ccd8eb4b07 Set testing setup and upgrade gradle wrapper version 2015-03-16 23:53:18 +02:00
Roman Mandeleil 722da1e76a Temporary ignore failures 2015-03-16 20:35:37 +02:00
Roman Mandeleil 7c2bae4524 Test encode/decode round trip with ECIESCoder 2015-03-13 12:54:02 +02:00
Roman Mandeleil 4b51c8dd80 Merge branch 'master' of https://github.com/ethereum/ethereumj 2015-03-13 00:43:37 +02:00
Roman Mandeleil b0548ea0ae Introduce Coder/Decoder for ECIES 2015-03-13 00:42:20 +02:00
Devrandom c960d2aa8c ECIES encryption 2015-03-12 15:41:51 -07:00
Devrandom d0e41de81e stray javafx import 2015-03-12 14:46:16 -07:00
Devrandom 3f79565b69 ECIES matching go-ethereum 2015-03-12 12:12:07 -07:00
Roman Mandeleil 134589a3ca Merge branch 'master' of https://github.com/ethereum/ethereumj 2015-03-11 15:08:46 +02:00
Faiz Khan c1c6f3eb9e Add per-commit testing 2015-03-10 07:10:43 -05:00
Roman Mandeleil 13a3b4bb03 Introduce messages from wire to data parse 2015-03-08 21:28:53 +02:00
Faiz Khan 2102792f23 Auto loader for per-commit tests 2015-03-06 11:11:34 -06:00
Faiz Khan f1c4cd529c Excluded tests (and comments for why) 2015-03-02 22:36:07 -06:00
Faiz Khan 196be7cf44 More of CJ's tests 2015-03-02 16:23:21 -06:00
Faiz Khan 3bb69e3180 Add Test for quadratic cost 2015-03-02 15:50:24 -06:00
Roman Mandeleil bf769478f9 Fix typo 2015-02-27 09:33:09 +02:00
Roman Mandeleil eb202cd2a4 Introduce Kademlia tree concept 2015-02-27 09:24:41 +02:00
Roman Mandeleil 841c4adb62 Polish message creation 2015-02-27 09:23:26 +02:00
Faiz Khan 6f66552f00 Quadratic memory cost 2015-02-26 16:27:16 -06:00
Roman Mandeleil 8af4556a4f Hack cpp uncertain ECDSA behaivour:
+ cpp sends v = 0/1 on the RLPx level when java works with v = 27/28
   with the current hack full traffic interoperability achieved
2015-02-25 22:47:05 +02:00
Roman Mandeleil 552b86507f Introduced signature generation and validation 2015-02-25 20:39:58 +02:00
Roman Mandeleil 656e7b2673 RLPx message structure introduced 2015-02-25 19:15:42 +02:00
Roman Mandeleil e0cebbba86 Introduce merge arrays function 2015-02-25 19:13:24 +02:00
Roman Mandeleil 97258a1838 Tweak sha3 to work on part of the byte array by (start, length) 2015-02-25 19:13:03 +02:00
Roman Mandeleil fa484fa892 Update protocol version eth:53 2015-02-11 13:55:17 +02:00
Faiz Khan 6198be355a Remove passing tests 2015-02-10 15:58:46 -06:00
Faiz Khan 5e8c795187 Trigger buildbot 2015-02-10 15:36:28 -06:00
Faiz Khan 8d8b734859 Fix regressions, use signum constructor for BigInteger 2015-02-10 15:35:06 -06:00
Faiz Khan 9f5678c769 Merge branch 'master' of https://github.com/ethereum/ethereumj into fixtransactiongaslimit 2015-02-10 14:56:15 -06:00
Faiz Khan 43b89fe161 Remove passing tests 2015-02-10 14:47:14 -06:00
Roman Mandeleil 6eb77e1068 Fix VMTest
+ Design special type repository that acts according the
 rules of VMTesting means save any account been approached
 even if didn't change.

 + Automatically fetch and run all tests in github
 tree {ethereum_git_tests_repo}/VMTests/RandomTests

 + Fix all tests in VMTests/vmEnvironmentalInfoTest

[Delivers #88044620]  [Delivers #87875292]
2015-02-10 21:10:05 +02:00
Roman Mandeleil 32ff7a7b68 Fix AdminInfo#getExecAverage divide by zero
AdminInfo#getExecAverage throws divide by zero exception when
blockExecTime#size is 0 [Delivers #88031650]
2015-02-10 16:07:55 +02:00
Roman Mandeleil ad2eefb789 Fix VMTests
+ VMTests/vmBlockInfoTest

[Delivers #87875124]
2015-02-10 14:56:31 +02:00
Roman Mandeleil 54ac03c205 Fix VMTests
+ VMTests/vmSha3Test

[Delivers #87875840]
2015-02-10 14:30:03 +02:00
Roman Mandeleil 670726c1af Fix VMTests
+ VMTests/vmSystemOperationsTest
 + VMTests/testArithmeticFromGitHub

[Delivers #87876108], [Delivers #87874276]
2015-02-10 14:09:38 +02:00
Faiz Khan ba3b1c34b3 Fixing transaction tests 2015-02-08 20:55:52 -06:00
Roman Mandeleil 87c97652b6 Fix VMTests/vmSystemOperationsTest
+ [DONE] CallToNameRegistratorNotMuchMemory0
 + [DONE] ABAcallsSuicide0
 + [DONE] CallToNameRegistratorNotMuchMemory1
 + [DONE] CallToNameRegistratorOutOfGas
 + [DONE] callcodeToReturn1
 + [DONE] ABAcallsSuicide1
 + [DONE] ABAcalls1
 + [DONE] ABAcalls2
 + [DONE] ABAcalls3
 + [DONE] CallToNameRegistrator0
 + [DONE] ABAcalls0
 + [DONE] CallRecursiveBomb3
 + [DONE] CallRecursiveBomb2
 + [DONE] CallRecursiveBomb1
 + [DONE] CallRecursiveBomb0
 + [DONE] CallToReturn1
 + [DONE] callcodeToNameRegistrator0
2015-02-08 22:01:32 +02:00
Roman Mandeleil e032b2248f Introduce Transaction default factory method 2015-02-08 17:21:11 +02:00
Roman Mandeleil 3090f64dde Map failures in TCK / VMTest 2015-02-07 21:56:44 +02:00
Roman Mandeleil bd2e6c8042 Ignore failure 2015-02-07 20:42:28 +02:00
Roman Mandeleil 25754f97cd Work on modulus testing in context of vmArithmeticTest.json
+ excluded test cases that fails
+ modulus work with sign number now
+ VM testing api can be used with excluded as well
2015-02-07 20:32:21 +02:00
Faiz Khan 6669523825 Fix long type usage for jsontestsuite & gaslimit 2015-02-07 06:36:42 -06:00
Roman Mandeleil a7b281007d Exclude recent failures 2015-02-06 22:49:02 +02:00
Roman Mandeleil 601c5f9b3a Measure block execution time 2015-02-06 10:34:42 +02:00
Roman Mandeleil 06c2d6ae73 Exclude faling tests 2015-02-04 17:58:08 +02:00
Faiz Khan a7e6bf65d0 Catch and protect against when getHReturn() passes null to avoid NPE 2015-02-04 08:02:48 -06:00
Roman Mandeleil 8985f6374a Cancel transaction approve by the clone transaction. 2015-02-04 15:14:15 +02:00
Roman Mandeleil a232df1998 Merge pull request #219 from 8aff8265aa/master_2
Protections must be done before state changes
2015-02-03 20:43:39 +02:00
Faiz Khan d6a2714c12 Move protection to beginning of contract creation to not spend gas 2015-02-03 12:34:35 -06:00
Faiz Khan 7c4f749835 Gas checks must be made earlier than other checks 2015-02-03 12:34:27 -06:00
Roman Mandeleil 097cc5418f Ignore failing test for a while 2015-02-03 19:58:33 +02:00
Roman Mandeleil 0e2720894b Adding block receipts to listener cycles 2015-02-03 19:13:16 +02:00
Roman Mandeleil 277ca6af7a Fix pending tx functionality + expose the correct interface 2015-02-02 22:02:57 +02:00
Roman Mandeleil 163036c5ea Introduce remote config + in memory block store
The library now can be initialized with just in memory
block saving with eviction policy of keep only last 1000 blocks,
that kind of block store is useful in on server usage of library.
In order to change the configuration for on server usage
use: `ethereum =  EthereumFactory.createEthereum(RemoteConfig.class);`
2015-01-30 22:20:45 +02:00
Chris Beams 63bb2aa852
Upgrade to antlr v4.5
Pick up the fix to antlr/antlr4#487 to eliminate spurious annotation
processor warnings.

Fixes #185
2015-01-30 14:05:56 +01:00