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
43cad69016
Reworked transaction constructors
2014-03-27 15:42:39 +01:00
obscuren
e0b6091d7e
Test fixes and removed old code. Added VM gas fees
2014-03-24 13:20:34 +01:00
obscuren
6a86c517c4
Removed old VM code
2014-03-22 11:47:27 +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
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
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
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
obscuren
bdc0d1b7ad
Added AddFunds method
2014-03-20 17:24:02 +01:00
obscuren
826c827e6b
Added a copy method to state
2014-03-17 11:15:09 +01:00
obscuren
07578fe25f
Pretty print nonce
2014-03-17 11:13:35 +01:00
obscuren
b15a4985e8
Moved on to the state manager
2014-03-17 10:33:03 +01:00
obscuren
685ea3e9a9
Wip keychains
2014-03-07 11:26:35 +01:00
obscuren
e7770b2332
Added miner state
2014-03-06 13:06:54 +01:00
obscuren
be543a6d17
Removed comments
2014-03-06 13:03:24 +01:00
obscuren
6c6e8b0fd7
Renamed block manager to state manager
2014-03-05 10:57:32 +01:00
obscuren
92f2abdf76
Partially refactored server/txpool/block manager/block chain
...
The Ethereum structure now complies to a EthManager interface which is
being used by the tx pool, block manager and block chain in order to
gain access to each other. It's become simpeler.
TODO: BlockManager => StateManager
2014-03-05 10:42:51 +01:00
obscuren
9d492b0509
Renamed Address to Account
2014-03-03 11:05:12 +01:00
obscuren
bfed1c7cac
Trie's are no longer referenced directly but through State instead
2014-03-03 11:03:16 +01:00
obscuren
d65b4cd0dd
Updated block to use state instead of trie directly
2014-03-02 20:42:05 +01:00
obscuren
e98b53bbef
WIP Observing pattern
2014-02-25 11:22:27 +01:00
obscuren
4b8c50e2cd
Deprication
2014-02-25 11:22:18 +01:00
obscuren
1e7b3cbb13
Removed debug log
2014-02-25 11:22:05 +01:00
obscuren
ce07d9bb4c
Error logging on tx processing
2014-02-25 11:21:49 +01:00
obscuren
507fc7b9d1
Length checking when fetching contract. Contract always have 3 fields
2014-02-25 11:21:35 +01:00
obscuren
0afdedb01a
Some log statements changed to the default logger
2014-02-24 13:50:52 +01:00
obscuren
6c7255cde2
Fixed a minor issue on crashed contracts
2014-02-24 13:15:34 +01:00
obscuren
95a8ebc249
Changed MakeContract on block
...
MakeContract in Block is now using the MakeContract defined in
contract.go
2014-02-24 12:45:21 +01:00
obscuren
88a9c62fcc
Proper tests
2014-02-24 12:44:29 +01:00
obscuren
b29c1eecd1
Removed debug print
2014-02-24 12:44:18 +01:00
obscuren
d69db6e617
Removed compiling from the transaction
2014-02-24 12:13:42 +01:00
obscuren
d8b5bbd48c
Added compile
2014-02-24 12:13:22 +01:00
obscuren
4cc5b03137
Added opcodes
2014-02-24 12:12:32 +01:00
obscuren
a3fb7008b2
Added make contract
2014-02-24 12:12:24 +01:00
obscuren
377c995103
Separated the VM from the block manager and added states
2014-02-24 12:10:45 +01:00
obscuren
a4a4ffbeff
Moved address
2014-02-23 01:57:22 +01:00
obscuren
f5737b929a
Added a secondary processor
2014-02-23 01:57:04 +01:00
obscuren
c66cf95b40
Added address states for storing a session based address
2014-02-23 01:56:48 +01:00