Commit Graph

12483 Commits

Author SHA1 Message Date
obscuren
7cc28c8b46 Added storage test 2014-03-30 22:03:08 +02:00
obscuren
205e33bc83 Fixed bug in stack to expand beyond expectations. Fixed EQ and NOT opcode 2014-03-30 18:55:51 +02:00
obscuren
6625b6ffbd Changed to new mutan API 2014-03-30 12:58:37 +02:00
obscuren
b888652201 Added missing GetTx (0x16) wire message 2014-03-28 11:20:07 +01:00
Jeffrey Wilcke
60fd2f3521 Update vm_test.go
store ...
2014-03-27 23:25:03 +01:00
obscuren
75e6406c1f Fixed tests 2014-03-27 23:17:23 +01:00
obscuren
3c3431d111 Fixed IsContract method to use the contractCreation flag 2014-03-27 23:17:14 +01:00
obscuren
56a58ad70d Removed debug and comments 2014-03-27 22:02:39 +01:00
obscuren
00c5f9b9a6 Updated transaction model
Changed the behaviour of decoding rlp data. Something is considered to
be creating a contract if the 4th item is a list.

Changed constructors.
2014-03-27 19:49:47 +01:00
obscuren
3fb7ae2fa1 Removed CreateTx 2014-03-27 19:45:55 +01:00
obscuren
7660e1ed90 Added a IsList method for type checking []interface{} 2014-03-27 19:42:01 +01:00
obscuren
c5215fd4fb Added gas and gas price.
* library's `createTx` method changed so it accepts a gas price
* dev console accepts code as well as the library
2014-03-27 19:41:42 +01:00
obscuren
43cad69016 Reworked transaction constructors 2014-03-27 15:42:39 +01:00
obscuren
308c59320c Fixed typo 2014-03-27 15:38:55 +01:00
obscuren
1257e8b4b3 Merge branch 'master' into develop 2014-03-27 15:24:56 +01:00
Jeffrey Wilcke
1323f60c07 Merge pull request #31 from ethersphere/master
assetPath configurable on command line for ethereal GUI
2014-03-27 15:24:36 +01:00
obscuren
e65c4ee93e Updated transaction constructor 2014-03-27 15:22:20 +01:00
zelig
49c710bf44 assetPath configurable on command line for ethereal GUI
- solves the problem of non-standard installs
- add AssetPath to config as string var
- introduced UiLib constructor which falls back to defaultAssetPath (earlier behaviour) if no assetPath is set
- defaultAssetPath now internal concern of UiLib
- gui.Start(assetPath) argument passed from ethereal main() as set Init() in config.go
- informative log message if wallet.qml fails to open
2014-03-27 17:14:04 +07:00
Maran
6253d10938 initial testcode for canonical chain 2014-03-24 15:04:29 +01:00
obscuren
e0b6091d7e Test fixes and removed old code. Added VM gas fees 2014-03-24 13:20:34 +01:00
Maran
ec6ec62dd4 Remove some xtra logs 2014-03-24 10:56:52 +01:00
Maran
a30f5730b3 Reimplement new miner creation 2014-03-24 10:56:42 +01:00
Maran
6724d27c0c Merge master into miner branch 2014-03-24 10:26:19 +01:00
Maran
97786d03d5 Merge branch 'master' into miner 2014-03-24 10:24:39 +01:00
Maran
274d5cc91c FindCanonicalChain returns true or false when we are on the Canonical chain or not 2014-03-24 10:24:06 +01:00
obscuren
642630db15 Moved node to ethereum 2014-03-22 12:03:10 +01:00
obscuren
45ec9c88e4 Moved node to ethereum 2014-03-22 12:03:03 +01:00
obscuren
6a86c517c4 Removed old VM code 2014-03-22 11:47:27 +01:00
obscuren
fe79a8f724 Merge branch 'develop' of https://github.com/WeMeetAgain/go-ethereum into WeMeetAgain-develop
Conflicts:
	ethereal/Makefile
2014-03-22 11:32:01 +01:00
obscuren
1f2547b8a7 Major re-organisation.
The Ethereum node and Gui are now separated.
2014-03-22 01:02:24 +01:00
obscuren
22b4e9b617 . 2014-03-22 00:35:53 +01:00
obscuren
01c1bce9c5 Removed regular ints from the virtual machine and closures 2014-03-21 18:22:47 +01:00
obscuren
9a9e252cab Changes 'compiler' to work with any type 2014-03-21 15:27:18 +01:00
Maran
b52b1fca89 Initial block reorganisation code 2014-03-21 15:06:23 +01:00
obscuren
2ea4c632d1 Closure return, arguments fixed. Added proper tests 2014-03-21 14:47:55 +01:00
obscuren
fa1db8d2dc Implemented closure arguments 2014-03-21 11:54:36 +01:00
obscuren
0db86e4485 Updated to work with the new chain 2014-03-21 11:16:41 +01:00
obscuren
9cf8ce9ef8 New tx methods and added new vm to state manager 2014-03-21 00:04:31 +01:00
obscuren
f567f89b99 Added address to account and contract
Contract and account now both have an address field or method for the
sake of simplicity.
2014-03-20 23:38:16 +01:00
obscuren
7705b23f24 Removed caller from tx and added "callership" to account.
Transactions can no longer serve as callers. Accounts are now the
initial callee of closures. Transactions now serve as transport to call
closures.
2014-03-20 23:17:53 +01:00
obscuren
f3d27bf5d8 Rewrote opcodes again 2014-03-20 22:51:20 +01:00
obscuren
c68ff9886b Fixed MSTORE and added some more commets 2014-03-20 19:50:53 +01:00
obscuren
f21eb88ad1 Some minor updates 2014-03-20 17:27:48 +01:00
obscuren
c642094cac Added encoder interface 2014-03-20 17:27:26 +01:00
obscuren
3520771d68 Comply to Callee interface 2014-03-20 17:27:09 +01:00
obscuren
c17381b853 Moved code around 2014-03-20 17:26:51 +01:00
obscuren
59d8dc3950 Fixed issue with stack where it sliced of the wrong values 2014-03-20 17:26:30 +01:00
obscuren
38ea6a6d5d Closures and vm based on closures
Status: Work in progress
2014-03-20 17:26:07 +01:00
obscuren
82d0f65dab Comply to Callee structure 2014-03-20 17:25:11 +01:00
obscuren
c135b389fe Commented out code due to rewrite vm 2014-03-20 17:24:53 +01:00