Documentation ¶
Index ¶
- type Db
- func (db *Db) GetAddressPublicKey(address common.Address) (key []byte)
- func (db *Db) GetAddressesPublicKeys() map[string]string
- func (db *Db) GetLastProcessedBlock() uint64
- func (db *Db) MergeDbs(fromDb *Db)
- func (db *Db) SaveAddressPublicKey(address common.Address, pubkey []byte)
- func (db *Db) SaveLastProcessedBlock(num uint64)
- func (db *Db) SavePublicKeysBatch(batch *leveldb.Batch)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Db ¶
type Db struct {
// contains filtered or unexported fields
}
func (*Db) GetAddressPublicKey ¶
func (*Db) GetAddressesPublicKeys ¶
return all loaded keys for addresses. both in hex format, keys are uncompressed
func (*Db) GetLastProcessedBlock ¶
func (*Db) SaveAddressPublicKey ¶
func (*Db) SaveLastProcessedBlock ¶
func (*Db) SavePublicKeysBatch ¶
Click to show internal directories.
Click to hide internal directories.