obscuren
c24018e273
Added S256 curve
2014-12-10 00:02:43 +01:00
obscuren
6cf6981ed0
init
2014-12-10 00:00:52 +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
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