Commit Graph

2225 Commits

Author SHA1 Message Date
Felix Lange
c084a7daa5 rlp: fix panic in decodeList on go 1.4+
The documentation for reflect.Value.Index states that it will
panic for out-of-bounds indices. Since go 1.4, it actually panics.
2014-12-09 10:58:46 +01:00
Felix Lange
93e858f88e rlp: remove support for signed integer types
There is no agreement on how to encode negative integers
across implementations. cpp-ethereum doesn't support them either.
2014-12-09 10:58:46 +01:00
Felix Lange
4f12f0697e rlp: move decoder type switch to decode.go 2014-12-09 10:52:05 +01:00
obscuren
76842b0df8 Additional checks and debug output 2014-12-08 14:25:52 +01:00
obscuren
e3a8412df3 Proper start/stoping wpeers 2014-12-08 13:16:50 +01:00
obscuren
ebe2d9d872 First draft of Whisper messages relaying 2014-12-08 12:43:33 +01:00
obscuren
f06543fd06 Merge branch 'poc8' into develop 2014-12-05 16:27:48 +01:00
obscuren
195b2d2ebd Merge branch 'fjl-feature/p2p-protocol-interface' into poc8 2014-12-05 16:27:37 +01:00
obscuren
384b8c75f0 Merge branch 'feature/p2p-protocol-interface' of https://github.com/fjl/go-ethereum into fjl-feature/p2p-protocol-interface 2014-12-05 16:27:11 +01:00
obscuren
9925916851 upped proto version and modified block pool 2014-12-05 16:26:39 +01:00
obscuren
095cb97675 EXP simplified 2014-12-05 14:52:36 +01:00
obscuren
d80f8bda94 Fixed issue in VM where LOG didn't pop anything of the stack 2014-12-05 12:32:47 +01:00
obscuren
3cf0477c21 Merge branch 'poc8' into develop 2014-12-04 23:54:40 +01:00
obscuren
8dbca75d85 Skip mining on transactions that don't meet the min accepted gas price 2014-12-04 23:54:07 +01:00
Jeffrey Wilcke
710360bab6 Merge pull request #199 from ethereum/tests
Submit code coverage to coveralls only on travis build success
2014-12-04 23:00:12 +01:00
obscuren
3db9c80070 Removed mutan. Closes #183 2014-12-04 17:13:23 +01:00
obscuren
085f604b27 Show newly created private key during startup. Closes #126 2014-12-04 17:09:47 +01:00
obscuren
a5b27bbc10 Improved and simplified wallet functions and behaviour 2014-12-04 16:44:43 +01:00
obscuren
8c7e4b290f Added pre processing of transaction on the transient state 2014-12-04 16:44:14 +01:00
obscuren
5653898150 vim error :S 2014-12-04 15:38:41 +01:00
obscuren
73123bf257 Only set TD if it's actually higher 2014-12-04 15:35:21 +01:00
obscuren
73c4ca3a6f Upped protocol version 2014-12-04 15:31:48 +01:00
obscuren
296112848c Moved block validation as first step 2014-12-04 15:13:29 +01:00
obscuren
008e91db6a null ptr fix 2014-12-04 12:43:12 +01:00
obscuren
3043b233ea Log is now interface 2014-12-04 12:35:23 +01:00
obscuren
bff5999efa sort tests for evm 2014-12-04 12:09:22 +01:00
obscuren
f298ffdbb8 Renamed State => StateDB 2014-12-04 11:40:20 +01:00
obscuren
3664cd58e3 Updated testing tools 2014-12-04 11:30:41 +01:00
obscuren
491edc16e7 Fixes #189 2014-12-04 10:57:09 +01:00
obscuren
83663ed4b0 Renames for chain, updated VM, moved methods
* Renamed a couple more chain => core
* Updated VM `pc` to be uint64 rather than big int
* XEth interface cleanup
2014-12-04 10:53:49 +01:00
obscuren
9008b155d3 Renamed chain => core 2014-12-04 10:28:02 +01:00
obscuren
b6cb5272de Descriptive function names for closure getters 2014-12-03 17:35:57 +01:00
obscuren
6d99c03d91 Updated environments according to the new interface set 2014-12-03 17:22:26 +01:00
obscuren
99853ac3ce Moved execution from vm to chain.
This moves call and create to the specified environments. Vms are no
longer re-used. Vm uses environment's Call(Code) and Create in order to
execute new contracts or transfer value between accounts.

State transition now uses the same mechanism described above.
2014-12-03 17:06:54 +01:00
obscuren
8240550187 updated to types 2014-12-03 14:05:19 +01:00
obscuren
709eff4ea7 reverted vm back 2014-12-03 13:52:30 +01:00
obscuren
6212175be3 reverted vm back 2014-12-03 13:52:13 +01:00
obscuren
6095edac58 merge 2014-12-03 13:50:51 +01:00
obscuren
3d9a4e7084 Fixed mem error in vm. Fixed logs tests 2014-12-03 12:21:12 +01:00
obscuren
f778922086 Set proper message value 2014-12-02 22:37:45 +01:00
obscuren
edc52bdcbf Updated value for mined blocks. Closes #197 2014-12-02 22:23:20 +01:00
obscuren
0a22dc2ce5 Check coinbase for from/to inclusion 2014-12-02 22:22:43 +01:00
obscuren
cb4d168ecc Updated LOG to match proper gas in all cases 2014-12-02 17:22:33 +01:00
obscuren
5ebae82eeb Additional logging and removed temp merged mining options. 2014-12-02 12:23:27 +01:00
obscuren
64f35ba8d1 merge errors fixed 2014-12-02 11:52:56 +01:00
obscuren
99481a245a Check for known block err and ignore 2014-12-02 11:37:33 +01:00
obscuren
9f7a8ea5e6 updated tests 2014-12-02 10:29:39 +01:00
obscuren
b4eeffa8f1 Transaction strictness 2014-12-02 00:14:34 +01:00
obscuren
2df8ad6307 Added state tests 2014-12-02 00:03:53 +01:00
obscuren
a052357872 Fixed EXP gas 2014-12-01 22:05:38 +01:00