Open rmatil opened 8 years ago
Currently, the key-pair has to be set while creating the peerDHT:
this.peerDht = new PeerBuilderDHT( new PeerBuilder(new Number160(rnd)) .keyPair(this.user.getKeyPair()) .ports(this.config.getPort()) .bindings(this.bindings) .start() ).start();
It would be nice to be able to set the key pair after initiating the peer dht.
Currently, the key-pair has to be set while creating the peerDHT:
It would be nice to be able to set the key pair after initiating the peer dht.