Commit Graph

2132 Commits

Author SHA1 Message Date
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
obscuren
a22056db59 Make an attempt to pay for the gas prior to expanding the mem. 2014-12-01 20:49:56 +01:00
obscuren
beb7d35c40 Updated tests 2014-12-01 20:21:41 +01:00
obscuren
d33987cb44 Additional fees for *COPY 2014-12-01 20:20:55 +01:00
obscuren
6dc46d3341 Changed the way transactions are being added to the transaction pool 2014-12-01 20:18:09 +01:00
obscuren
616066a598 rework vm 2014-11-30 21:02:59 +01:00
obscuren
1bce02eff7 Fixed merge 2014-11-28 21:44:34 +01:00
obscuren
a3559c5e1b updated PV 2014-11-28 21:38:10 +01:00
obscuren
c8d0f8adc5 Changed refund 2014-11-28 21:20:32 +01:00
obscuren
6ba8328077 Removed min gas price from genesis 2014-11-28 20:57:10 +01:00
obscuren
61556ef01d GasData changes & removed min gas price 2014-11-28 20:47:24 +01:00
Jeffrey Wilcke
4cd9d57bad Merge pull request #187 from honestmoney/develop
Fix for broken develop build and install.sh
2014-11-21 13:22:14 -05:00
obscuren
8cf9ed0ea5 Fixed test 2014-11-21 10:48:07 -05:00
Eric Robitaille
28b7dcc204 go get deps doesnt work with develop branch 2014-11-21 08:16:32 -05:00
Eric Robitaille
eba3fca7bc go get dependencies on executable 2014-11-21 08:05:52 -05:00
Eric Robitaille
6c098ee779 changed install.sh to change branch and install executable 2014-11-21 00:06:33 -05:00
Eric Robitaille
c0bbb7e69a fix for install script devel 2014-11-20 15:02:24 -05:00
Eric Robitaille
d5ac24907e Updated install.sh - github paths for executables 2014-11-20 14:25:26 -05:00
Eric Robitaille
0f47129113 Updated main.go - fix for broken develop build
Transaction execution fixes - 60cdb1148c404218846fd39331690658168f4e04
2014-11-20 14:16:22 -05:00
obscuren
9b8a12b4b5 Removed naively casting to bytes 2014-11-20 18:20:04 +01:00
obscuren
12f1aea38d Fixed iterator for short nodes.
In some cases the iterator didn't properly return the correct key
because it didn't append fields to the reverse lookup.
2014-11-20 18:11:31 +01:00
obscuren
b05e63c34d Added paranoia check for tries 2014-11-19 16:56:01 +01:00
obscuren
cab7e6000e Increased coverage 2014-11-19 16:35:57 +01:00
obscuren
0f460ad26e Added caching and database interface to trie
* Reimplemented caching for trie
* Reimplemented resetting and persisting trie
2014-11-19 16:21:28 +01:00
obscuren
e70529a977 Added new iterator and tests 2014-11-19 15:05:08 +01:00
obscuren
14e2e488fd Added chain tests & minor fixes
* Fork tests (equal and larger chains)
* `chain.link` fields are now exported
* moved debug function from state to dump.go
2014-11-19 12:25:52 +01:00
obscuren
437d79f094 Updated readme 2014-11-18 20:23:17 +01:00
obscuren
93e693be72 Fixed tests for 'types' 2014-11-18 19:52:45 +01:00
obscuren
675ba4d7eb Merge branch 'tests' into poc8 2014-11-18 19:48:35 +01:00
obscuren
f8d0cd9906 Added a callback mechanism to chain adding.
Not sure if this is the right approach. Why? BlockChain shouldn't need
the "Ethereum" object. BlockChain shouldn't need to worry about
notifying listeners or message propagation.
2014-11-18 19:44:17 +01:00