Documentation ¶
Index ¶
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
}
DB contains access to different database tables
func NewInMemory ¶
NewInMemory creates new inmemory master database for storage node TODO: still stores data on disk
func (*DB) RoutingTable ¶
func (db *DB) RoutingTable() (kdb, ndb storage.KeyValueStore)
RoutingTable returns kademlia routing table
Click to show internal directories.
Click to hide internal directories.