Commit Graph

296 Commits

Author SHA1 Message Date
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
obscuren
73b9ae9579 Updated some of the log statements to use the ethutil logger 2014-02-22 01:53:25 +01:00
obscuren
cca8585554 Get a chain of blocks made simple 2014-02-21 13:05:59 +01:00
obscuren
18cc35338a Fixed contract running 2014-02-21 12:37:16 +01:00
obscuren
681eacaa7f Removed old instruction code 2014-02-21 12:37:06 +01:00
obscuren
06ea7fc830 re: Added contract fees 2014-02-20 23:11:17 +01:00
obscuren
ed05779adb Updated fees 2014-02-20 23:10:43 +01:00
obscuren
8f69c2ac45 Added contract addr acessors 2014-02-20 23:10:36 +01:00
obscuren
504d356232 Added peek(n) 2014-02-20 23:10:16 +01:00
obscuren
39b6eaf51c Debug logging functions 2014-02-19 16:27:35 +01:00
obscuren
dc994b3518 Changed fee structure 2014-02-19 16:27:08 +01:00
obscuren
8e7daec886 Added fees and debugging 2014-02-19 16:26:55 +01:00
obscuren
b3da104e56 Corrected contract addresses 2014-02-19 16:26:35 +01:00
obscuren
0936e5ccf5 Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop
Conflicts:
	ethutil/config.go
2014-02-19 11:40:02 +01:00
obscuren
24f2b2afc3 Running contracts fixed 2014-02-19 11:35:17 +01:00
Sam Boyer
4d405f6654 s/GenisisHeader/GenesisHeader/ 2014-02-18 10:40:58 -05:00
obscuren
c866fcc5b3 Added new address 2014-02-18 12:10:21 +01:00
obscuren
68028f492f Fixed block handling 2014-02-18 01:33:26 +01:00
obscuren
8629d9a418 String changed and removed some debugging code 2014-02-18 01:33:15 +01:00
obscuren
bb3e28310e If sender is receiver only subtract the fee 2014-02-18 01:31:51 +01:00
obscuren
a5b7279cb5 Changed uncle block fee as to what it should be 2014-02-18 01:31:31 +01:00
obscuren
066940f134 Defer undo on the current block's state 2014-02-16 20:30:21 +01:00
obscuren
f5fbbb147f Removed debug message 2014-02-15 12:11:40 +01:00
obscuren
73fd358d94 Removed RlpValue in favour of Value 2014-02-15 01:34:18 +01:00
obscuren
f6d1bfe45b The great merge 2014-02-14 23:56:09 +01:00