*Remove stray methods

This commit is contained in:
Derrick Hammer 2022-11-16 10:47:40 -05:00
parent 0ff1a24de2
commit a70b3154e0
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 0 additions and 10 deletions

View File

@ -175,11 +175,6 @@ export default class DHTOnlineBase extends EventEmitter {
private _setPeer(id: Buffer | string, data: any) {
this.graph.addNode(this._maybeHexify(id), data);
}
private _removePeer(id: Buffer | string) {
this.graph.removeNode(this._maybeHexify(id));
}
private _ensurePeer(id: Buffer | string) {
id = this._maybeHexify(id);
if (!this._hasSeenPeer(id)) {
@ -239,11 +234,6 @@ export default class DHTOnlineBase extends EventEmitter {
this._recalculate();
}
private _getPeerConnectedTo(id: string) {
return this.graph.successors(id);
}
private _getBootstrapInfo() {
const state: Bootstrap = {};
for (const [id, rawData] of this.graph.nodes(true)) {