Moved keyring to ethutil & removed old methods. Implements #20

This commit is contained in:
obscuren
2014-05-14 13:54:40 +02:00
parent 0512113bdd
commit f4fa0d48cb
9 changed files with 122 additions and 118 deletions

View File

@ -54,11 +54,13 @@ func (db *LDBDatabase) LastKnownTD() []byte {
return data
}
/*
func (db *LDBDatabase) GetKeys() []*ethutil.Key {
data, _ := db.Get([]byte("KeyRing"))
return []*ethutil.Key{ethutil.NewKeyFromBytes(data)}
}
*/
func (db *LDBDatabase) Close() {
// Close the leveldb database