Commit Graph

33 Commits

Author SHA1 Message Date
zelig 89630d2826 merge upstream 2014-07-01 15:03:02 +01:00
obscuren 92693e4459 The dragon has been slain. Consensus reached! 2014-07-01 11:26:45 +02:00
obscuren ed276cd7c2 Added Paranoia check for VM execution 2014-06-30 20:03:31 +02:00
zelig dabaa4cce0 change all modified calls to ethtrie, ethutil and ethcrypto functions 2014-06-29 18:30:05 +01:00
zelig 707d413761 refactor ethutil/trie to ethtrie 2014-06-29 16:26:58 +01:00
zelig b9e8a3e024 modified logging API
- package vars for tagged loggers
- weed out spurious fmt.PrintX and log.PrintX logging
- tried to second guess loglevel for some :)
2014-06-23 12:54:10 +01:00
obscuren 0b8ba1d55b Renamed snapshot to copy/set and added it back to the VM 2014-06-20 00:41:28 +02:00
obscuren 731f55a05d Reset state when a transition fails 2014-06-19 13:41:17 +02:00
obscuren 34c8045d5b Fixed issue where JUMPI would do an equally check with 1 instead of GT 2014-06-17 18:05:46 +02:00
obscuren 3621988e15 Removed deprecated states 2014-06-17 11:07:37 +02:00
obscuren 53e30f750d Removal of manual updating of state objects
* You'll only ever need to update the state by calling Update. Update
  will take care of the updating of it's child state objects.
2014-06-17 11:06:06 +02:00
obscuren 02d8ad030f Keeping old code for reference 2014-06-16 10:35:35 +02:00
obscuren 8198fd7913 Cache whole objects instead of states only 2014-06-16 00:51:04 +02:00
obscuren aba3066658 Changed debug hook and added state iterator 2014-05-27 13:10:18 +02:00
obscuren 3ebd7f1166 State snapshotting 2014-05-26 00:09:38 +02:00
obscuren 3c35ba7c31 Fixed state overwriting issue 2014-05-21 01:12:28 +02:00
obscuren 64701e388c Fixed state issue 2014-05-20 22:43:59 +02:00
obscuren fd19142c0d No longer store script directly in the state tree 2014-05-20 11:19:07 +02:00
obscuren afe83af219 Moved seeding and moved manifest 2014-05-09 16:09:28 +02:00
obscuren 5a0bae1dae Auto update state changes notifications 2014-05-08 19:09:36 +02:00
obscuren 16e52327a4 Upped version number 2014-04-27 16:53:35 +02:00
obscuren 1c85d8c66b Minor improvements and bug fixes
* Fixed VM base bug
2014-04-24 00:00:50 +02:00
obscuren 9c6aca7893 Merged accounts and contracts in to StateObject
* Account removed
* Contract removed
* Address state changed to CachedStateObject
* Added StateObject
2014-04-16 04:06:51 +02:00
obscuren 6a86c517c4 Removed old VM code 2014-03-22 11:47:27 +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 c17381b853 Moved code around 2014-03-20 17:26:51 +01:00
obscuren 826c827e6b Added a copy method to state 2014-03-17 11:15:09 +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 377c995103 Separated the VM from the block manager and added states 2014-02-24 12:10:45 +01:00