waddrmgr: remove additional addressType values

In this commit, we remove the extra addressType values as this will no
longer be needed due to the new abstraction of scoped key managers.
This commit is contained in:
Olaoluwa Osuntokun 2018-02-13 20:51:06 -08:00
parent 6f6abef1d6
commit ea82d184bf

View file

@ -53,8 +53,8 @@ type syncStatus uint8
// These constants define the various supported sync status types. // These constants define the various supported sync status types.
// //
// NOTE: These are currently unused but are being defined for the possibility of // NOTE: These are currently unused but are being defined for the possibility
// supporting sync status on a per-address basis. // of supporting sync status on a per-address basis.
const ( const (
ssNone syncStatus = 0 // not iota as they need to be stable for db ssNone syncStatus = 0 // not iota as they need to be stable for db
ssPartial syncStatus = 1 ssPartial syncStatus = 1
@ -66,11 +66,9 @@ type addressType uint8
// These constants define the various supported address types. // These constants define the various supported address types.
const ( const (
adtChain addressType = 0 // not iota as they need to be stable for db adtChain addressType = 0
adtImport addressType = 1 adtImport addressType = 1 // not iota as they need to be stable for db
adtScript addressType = 2 adtScript addressType = 2
adtChainWitness addressType = 3
adtChainNestedWitness addressType = 4
) )
// accountType represents a type of address stored in the database. // accountType represents a type of address stored in the database.