diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-22 17:54:48 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-22 17:54:48 +0800 |
commit | 1e8b54abfb7129fcdf4812ad01b6a7cd61e4f65d (patch) | |
tree | 6ad93d5117d8194ee700e3347b59d0602cd4c40c /ethpub | |
parent | 20ee1ae65e57ef7d60404277162c84c572c6bb10 (diff) | |
download | dexon-1e8b54abfb7129fcdf4812ad01b6a7cd61e4f65d.tar dexon-1e8b54abfb7129fcdf4812ad01b6a7cd61e4f65d.tar.gz dexon-1e8b54abfb7129fcdf4812ad01b6a7cd61e4f65d.tar.bz2 dexon-1e8b54abfb7129fcdf4812ad01b6a7cd61e4f65d.tar.lz dexon-1e8b54abfb7129fcdf4812ad01b6a7cd61e4f65d.tar.xz dexon-1e8b54abfb7129fcdf4812ad01b6a7cd61e4f65d.tar.zst dexon-1e8b54abfb7129fcdf4812ad01b6a7cd61e4f65d.zip |
Refactored state, state object and vm
* The State and StateObject have been moved to their own package
* The VM is moved to it's own package
Diffstat (limited to 'ethpub')
-rw-r--r-- | ethpub/pub.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ethpub/pub.go b/ethpub/pub.go index 5d01a7a44..2650edf02 100644 --- a/ethpub/pub.go +++ b/ethpub/pub.go @@ -48,6 +48,12 @@ type PEthereum struct { } func NewPEthereum(manager ethchain.EthManager) *PEthereum { + logger.Warnln("DEPRECATED: ethpub.New should be used in favour of ethpub.NewPEthereum") + + return New(manager) +} + +func New(manager ethchain.EthManager) *PEthereum { return &PEthereum{ manager, manager.StateManager(), |