Commit Graph

2342 Commits

Author SHA1 Message Date
obscuren
4082c8b61d added simple peer server 2014-12-10 15:29:22 +01:00
obscuren
dda778eda7 Updated whisper messages to new crypto api + added tests 2014-12-10 14:17:32 +01:00
obscuren
0f5c6c5e2d Changed new methods to use ecdsa package for pub prv keys 2014-12-10 14:17:10 +01:00
obscuren
186948da22 changed to unsigned integers 2014-12-10 11:27:10 +01:00
obscuren
4f1ef89cb2 updated tests 2014-12-10 11:04:21 +01:00
obscuren
1fb84d3c5f Fixed tests 2014-12-10 10:57:19 +01:00
obscuren
3308491c92 Removed tests because they've become obsolete 2014-12-10 00:09:32 +01:00
obscuren
9ff7be68fb Merge branch 'poc8' into develop 2014-12-10 00:06:38 +01:00
Jeffrey Wilcke
ce0c4e5d86 Merge pull request #203 from fjl/rlp-fixes
RLP: remove signed integer support and other fixes
2014-12-10 00:06:17 +01:00
obscuren
984c7e6689 Added encryption for messages better API for sealing messages 2014-12-10 00:03:50 +01:00
obscuren
87adff7e18 Added Encrypt & Decrypt using the ECIES w/ tests 2014-12-10 00:03:21 +01:00
obscuren
c24018e273 Added S256 curve 2014-12-10 00:02:43 +01:00
Felix Lange
6cf4e0329c rlp: display decoder target type in more error messages
Decode error messages now say "expected input list for foo.MyStruct"
instead of just "expected List".
2014-12-09 22:28:49 +01:00
obscuren
df5157c0b0 PV49 2014-12-09 20:28:36 +01:00
obscuren
acf4b5753f Core changes
* Code = '' if gas < len(D) * 5
* Sha3 gas   10 + 10 * len(D), rounding up 32 bytes
* Sha256 gas 50 + 50 * len(D), rounding up 32 bytes
* Ripmed gas 50 + 50 * len(D), rounding up 32 bytes
* Accounts and value transfers no longer reverted
2014-12-09 20:27:57 +01:00
Felix Lange
829730dec4 rlp: remove dead code 2014-12-09 12:49:20 +01:00
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