diff options
author | zsfelfoldi <zsfelfoldi@gmail.com> | 2015-12-16 11:26:23 +0800 |
---|---|---|
committer | zsfelfoldi <zsfelfoldi@gmail.com> | 2016-06-16 23:36:38 +0800 |
commit | 3a97280ae889bb6852ba16e70750a37b2ed08473 (patch) | |
tree | 41e078895ddd76fe81b323539046b7d9df8b17b3 /accounts/account_manager.go | |
parent | a38be3eb488a349693a9c9905ab015278281f8db (diff) | |
download | dexon-3a97280ae889bb6852ba16e70750a37b2ed08473.tar dexon-3a97280ae889bb6852ba16e70750a37b2ed08473.tar.gz dexon-3a97280ae889bb6852ba16e70750a37b2ed08473.tar.bz2 dexon-3a97280ae889bb6852ba16e70750a37b2ed08473.tar.lz dexon-3a97280ae889bb6852ba16e70750a37b2ed08473.tar.xz dexon-3a97280ae889bb6852ba16e70750a37b2ed08473.tar.zst dexon-3a97280ae889bb6852ba16e70750a37b2ed08473.zip |
eth: separate common and full node-specific API and backend service
Diffstat (limited to 'accounts/account_manager.go')
-rw-r--r-- | accounts/account_manager.go | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/accounts/account_manager.go b/accounts/account_manager.go index bfb7556d6..982a2ca6e 100644 --- a/accounts/account_manager.go +++ b/accounts/account_manager.go @@ -34,6 +34,8 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" + "github.com/ethereum/go-ethereum/p2p" + "github.com/ethereum/go-ethereum/rpc" ) var ( @@ -340,3 +342,23 @@ func zeroKey(k *ecdsa.PrivateKey) { b[i] = 0 } } + +// APIs implements node.Service +func (am *Manager) APIs() []rpc.API { + return nil +} + +// Protocols implements node.Service +func (am *Manager) Protocols() []p2p.Protocol { + return nil +} + +// Start implements node.Service +func (am *Manager) Start(srvr *p2p.Server) error { + return nil +} + +// Stop implements node.Service +func (am *Manager) Stop() error { + return nil +} |