Searched refs:nodeDB (Results 1 – 9 of 9) sorted by relevance
49 type nodeDB struct { struct86 return &nodeDB{128 return &nodeDB{160 func (db *nodeDB) fetchInt64(key []byte) int64 { argument201 func (db *nodeDB) node(id NodeID) *Node { argument216 func (db *nodeDB) deleteNode(id NodeID) error { argument235 func (db *nodeDB) ensureExpirer() { argument241 func (db *nodeDB) expirer() { argument258 func (db *nodeDB) expireNodes() error { argument305 func (db *nodeDB) findFails(id NodeID) int { argument[all …]
71 db *nodeDB81 func newTopicTable(db *nodeDB, self *Node) *topicTable {
57 db *nodeDB // database of known nodes138 var db *nodeDB
49 type nodeDB struct { struct84 return &nodeDB{126 return &nodeDB{180 func (db *nodeDB) node(id NodeID) *Node { argument204 func (db *nodeDB) deleteNode(id NodeID) error { argument223 func (db *nodeDB) ensureExpirer() { argument229 func (db *nodeDB) expirer() { argument246 func (db *nodeDB) expireNodes() error { argument287 func (db *nodeDB) hasBond(id NodeID) bool { argument297 func (db *nodeDB) findFails(id NodeID) int { argument[all …]
72 db *nodeDB // database of known nodes
58 type nodeDB struct { struct69 func newNodeDB(db ethdb.KeyValueStore, clock mclock.Clock) *nodeDB {71 ndb := &nodeDB{83 func (db *nodeDB) close() { argument87 func (db *nodeDB) getPrefix(neg bool) []byte { argument95 func (db *nodeDB) key(id []byte, neg bool) []byte { argument109 func (db *nodeDB) getExpiration() (utils.Fixed64, utils.Fixed64) { argument117 func (db *nodeDB) setExpiration(pos, neg utils.Fixed64) { argument152 func (db *nodeDB) delBalance(id []byte, neg bool) { argument212 func (db *nodeDB) expirer() { argument[all …]
50 ndb *nodeDB
55 self->nodeDB = nil;261 status = [self->nodeDB 396 status = [self->nodeDB 587 self->nodeDB = [BDBDatabase 682 status = [self->nodeDB 945 status = [self->nodeDB 1057 self->nodeDB = [BDBDatabase 1134 if( nil != self->nodeDB ) {1136 [self->nodeDB close];1143 [self->nodeDB release];[all …]
84 BDBDatabase *nodeDB; variable