Skip to content

Commit

Permalink
global.Pear?.config.dht?.nodes (#200)
Browse files Browse the repository at this point in the history
* global.Pear?.config.dht.nodes

* exports.BOOTSTRAP_NODES

* One liner
  • Loading branch information
AndreiRegiani authored Oct 10, 2024
1 parent d96250b commit ec249dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ const COMMANDS = exports.COMMANDS = {
IMMUTABLE_GET: 9
}

exports.BOOTSTRAP_NODES = [
exports.BOOTSTRAP_NODES = global.Pear?.config.dht?.bootstrap || [
'[email protected]:49737',
'[email protected]:49737',
'[email protected]:49737'
]

exports.KNOWN_NODES = global.Pear?.config.dht || []
exports.KNOWN_NODES = global.Pear?.config.dht?.nodes || []

exports.FIREWALL = {
UNKNOWN: 0,
Expand Down

0 comments on commit ec249dc

Please sign in to comment.