UNPKG

ntrnetwork

Version:

Transledger peer to peer wire communication

109 lines (106 loc) 3.01 kB
module.exports.peers = [ /* { "ip": "206.189.191.247", "port": "20399", "id": "Interblockchain-adb54032871a6c51b2cc5514cb7c7e35b3edaa333", "network": "Interblockchain", "channelID": 0x015, "location": "Digital Ocean", "comment": "Auditor mainnet" }, { "ip": "35.183.229.85", "port": "20399", "id": "Interblockchain-adb54032871a6c51b2cc5514cb7c7e35b3edaa31", "network": "Interblockchain", "channelID": 0x015, "location": "Canari", "comment": "Auditor mainnet" }, { "ip": "76.68.195.12", "port": "20399", "id": "Interblockchain-adb54032871a6c51b2cc5514cb7c7e35b3edaa35", "network": "Interblockchain", "channelID": 0x016, "location": "chez DM", "comment": "Move token testnet (serveur Didier)" }, { "ip": "142.93.60.68", "port": "20399", "id": "Interblockchain-adb54032871a6c51b2cc5514cb7c7e35b3edaa34", "network": "Interblockchain", "channelID": 0x015, "location": "Canari", "comment": "Move token (mainnet)" }, { "ip": "99.79.25.56", "port": "20399", "id": "Interblockchain-adb54032871a6c51b2cc5514cb7c7e35b3edaa36", "network": "Interblockchain", "channelID": 0x015, "location": "Canari", "comment": "Move token mainnet (Canarie)" }, { "ip": "24.49.254.84", "port": "20399", "id": "Interblockchain-adb54032871a6c51b2cc5514cb7c7e35b3edaa32", "network": "Interblockchain", "channelID": 0x016, "location": "Chez JF", "comment": "Auditor testnet (Serveur JF)" }, { "ip": "192.168.1.125", "port": "20399", "id": "Interblockchain-adb54032871a6c51b2cc5514cb7c7e35b3edaa39", "network": "Interblockchain", "channelID": 0x016, "location": "Chez JF", "comment": "test machine" }, */ { "ip": "10.1.0.51", "port": "20399", "id": "Interblockchain-adb54032871a6c51b2cc5514cb7c7e35b3edaa02", "network": "Interblockchain", "channelID": 0x00, "location": "Canari", "comment": "Boootstrap node" }, { "ip": "3.96.89.117", "port": "20399", "id": "Interblockchain-adb54032871a6c51b2cc5514cb7c7e35b3edaa00", "network": "Interblockchain", "channelID": 0x00, "location": "Canari", "comment": "Boootstrap node" }, ] function uuidv4() { return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { const r = Math.random() * 16 | 0, v = c === 'x' ? r : (r & 0x3 | 0x8); return v.toString(16); }); } module.exports.port = 20399; module.exports.channel = 0x00; module.exports.nodeID = `interblockchain-${uuidv4()}`; module.exports.maxPeers = process.env.MAXPEERS || 7; module.exports.uuidv4 = uuidv4; module.exports.debug = { dpt: false, rlpx: false, peer: false, server: false, monitor: false, interblockchain: false, broadcaster: true } module.exports.version = '2.8.55';