You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example usage with new DHT servers on google cloud:
exportdefaultclassTracManager{/** * Creates an instance of TracManager. * Sets up Corestore and Hyperswarm and prepares for data synchronization. *//** * @property {TapProtocol} tapProtocol - Instance of TapProtocol to manage TAP interactions and data streams. */tapProtocol;/** * @property {RestModule} restServer - Instance of RestModule for REST API access. */restServer;constructor(){this.isConnected=false;this.store=newCorestore("./tapstore");this.dht=newHyperDHT({// Optionally overwrite the default bootstrap servers, just need to be an array of any known dht node(s)// Defaults to ['node1.hyperdht.org:49737', 'node2.hyperdht.org:49737', 'node3.hyperdht.org:49737']bootstrap: ['34.69.114.195:34481','34.141.187.40:38126','34.126.94.90:33995']});this.swarm=newHyperswarm({dht: this.dht});this.bee=null;this.tapProtocol=newTapProtocol(this);goodbye(()=>{this.swarm.destroy();});}
Activity
eL1x00r commentedon Feb 19, 2024
Example usage with new DHT servers on google cloud:
eL1x00r commentedon Feb 19, 2024
us-central started @ 34.69.114.195:34481
eL1x00r commentedon Feb 19, 2024
europe-west started @ 34.141.187.40:38126
eL1x00r commentedon Feb 19, 2024
asia-southeast started @ 34.126.94.90:33995
(note that all three ports changed)