Added a GetKeys method to support multiple accounts

This commit is contained in:
obscuren
2014-02-28 12:18:41 +01:00
parent c9f3d1c00b
commit c0fcefa3a0
3 changed files with 26 additions and 0 deletions

View File

@ -4,6 +4,7 @@ package ethutil
type Database interface {
Put(key []byte, value []byte)
Get(key []byte) ([]byte, error)
GetKeys() []*Key
Delete(key []byte) error
LastKnownTD() []byte
Close()