SYMBOL INDEX (235 symbols across 41 files) FILE: dist/api/index.js function _defineProperty (line 5) | function _defineProperty(obj, key, value) { if (key in obj) { Object.def... function createAPI (line 37) | function createAPI(options) { FILE: dist/api/node.js function getSummary (line 13) | function getSummary(node) { function getNodeStats (line 64) | function getNodeStats(node) { FILE: dist/api/peer.js function getPeerStats (line 8) | function getPeerStats(peer) { FILE: dist/api/webhooks.js function startWebhooks (line 8) | function startWebhooks(node, webhooks, webhookInterval) { FILE: dist/index.js function _toConsumableArray (line 5) | function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i ... FILE: dist/node/__mocks__/iri.js function defineProperties (line 3) | function defineProperties(target, props) { for (var i = 0; i < props.len... function _classCallCheck (line 5) | function _classCallCheck(instance, Constructor) { if (!(instance instanc... function _possibleConstructorReturn (line 7) | function _possibleConstructorReturn(self, call) { if (!self) { throw new... function _inherits (line 9) | function _inherits(subClass, superClass) { if (typeof superClass !== "fu... function IRI (line 26) | function IRI() { FILE: dist/node/__mocks__/node.js function defineProperties (line 3) | function defineProperties(target, props) { for (var i = 0; i < props.len... function _classCallCheck (line 7) | function _classCallCheck(instance, Constructor) { if (!(instance instanc... function _possibleConstructorReturn (line 9) | function _possibleConstructorReturn(self, call) { if (!self) { throw new... function _inherits (line 11) | function _inherits(subClass, superClass) { if (typeof superClass !== "fu... function Node (line 46) | function Node(options) { FILE: dist/node/base.js function defineProperties (line 5) | function defineProperties(target, props) { for (var i = 0; i < props.len... function _classCallCheck (line 7) | function _classCallCheck(instance, Constructor) { if (!(instance instanc... function Base (line 24) | function Base(options) { FILE: dist/node/guard.js function defineProperties (line 5) | function defineProperties(target, props) { for (var i = 0; i < props.len... function _classCallCheck (line 7) | function _classCallCheck(instance, Constructor) { if (!(instance instanc... function _possibleConstructorReturn (line 9) | function _possibleConstructorReturn(self, call) { if (!self) { throw new... function _inherits (line 11) | function _inherits(subClass, superClass) { if (typeof superClass !== "fu... function Guard (line 34) | function Guard(options) { FILE: dist/node/heart.js function defineProperties (line 5) | function defineProperties(target, props) { for (var i = 0; i < props.len... function _classCallCheck (line 7) | function _classCallCheck(instance, Constructor) { if (!(instance instanc... function _possibleConstructorReturn (line 9) | function _possibleConstructorReturn(self, call) { if (!self) { throw new... function _inherits (line 11) | function _inherits(subClass, superClass) { if (typeof superClass !== "fu... function Heart (line 48) | function Heart(options) { FILE: dist/node/iri.js function defineProperties (line 5) | function defineProperties(target, props) { for (var i = 0; i < props.len... function _classCallCheck (line 7) | function _classCallCheck(instance, Constructor) { if (!(instance instanc... function _possibleConstructorReturn (line 9) | function _possibleConstructorReturn(self, call) { if (!self) { throw new... function _inherits (line 11) | function _inherits(subClass, superClass) { if (typeof superClass !== "fu... function IRI (line 45) | function IRI(options) { FILE: dist/node/node.js function defineProperties (line 5) | function defineProperties(target, props) { for (var i = 0; i < props.len... function _classCallCheck (line 7) | function _classCallCheck(instance, Constructor) { if (!(instance instanc... function _possibleConstructorReturn (line 9) | function _possibleConstructorReturn(self, call) { if (!self) { throw new... function _inherits (line 11) | function _inherits(subClass, superClass) { if (typeof superClass !== "fu... function Node (line 83) | function Node(options) { FILE: dist/node/peer-list.js function defineProperties (line 5) | function defineProperties(target, props) { for (var i = 0; i < props.len... function _toConsumableArray (line 7) | function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i ... function _classCallCheck (line 9) | function _classCallCheck(instance, Constructor) { if (!(instance instanc... function _possibleConstructorReturn (line 11) | function _possibleConstructorReturn(self, call) { if (!self) { throw new... function _inherits (line 13) | function _inherits(subClass, superClass) { if (typeof superClass !== "fu... function PeerList (line 58) | function PeerList(options) { FILE: dist/node/peer.js function defineProperties (line 5) | function defineProperties(target, props) { for (var i = 0; i < props.len... function _toConsumableArray (line 7) | function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i ... function _classCallCheck (line 9) | function _classCallCheck(instance, Constructor) { if (!(instance instanc... function _possibleConstructorReturn (line 11) | function _possibleConstructorReturn(self, call) { if (!self) { throw new... function _inherits (line 13) | function _inherits(subClass, superClass) { if (typeof superClass !== "fu... function Peer (line 69) | function Peer() { FILE: dist/node/tools/terminal.js function init (line 27) | function init(name, version, onExit) { function log (line 120) | function log() { function beat (line 131) | function beat(_ref) { function settings (line 146) | function settings(_ref2) { function ports (line 158) | function ports(_ref3) { function nodes (line 173) | function nodes(_ref4) { function ensureScreen (line 196) | function ensureScreen(f) { function exit (line 205) | function exit() { FILE: dist/node/tools/utils.js function getIP (line 14) | function getIP(ipOrHostName) { function getSecondsPassed (line 30) | function getSecondsPassed(time) { function createIdentifier (line 41) | function createIdentifier() { function getPeerIdentifier (line 50) | function getPeerIdentifier(address) { function getRandomInt (line 60) | function getRandomInt(min, max) { function shuffleArray (line 71) | function shuffleArray(array) { function getVersion (line 80) | function getVersion() { function isSameMajorVersion (line 88) | function isSameMajorVersion(otherVersion) { function validNeighbor (line 97) | function validNeighbor(str) { FILE: dist/simulation/network.js function _toConsumableArray (line 5) | function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i ... function spawnMockedNetwork (line 43) | function spawnMockedNetwork(options) { FILE: dist/simulation/node.js function initMockedNode (line 15) | function initMockedNode(options) { function spawnNode (line 27) | function spawnNode() { FILE: src/api/__tests__/api-test.js constant API_DATA (line 7) | const API_DATA = [ FILE: src/api/__tests__/node-test.js constant ALLOWED_DATA (line 6) | const ALLOWED_DATA = [ FILE: src/api/__tests__/peer-test.js constant ALLOWED_DATA (line 4) | const ALLOWED_DATA = [ FILE: src/api/__tests__/webhooks-test.js constant API_DATA (line 8) | const API_DATA = [ FILE: src/api/index.js constant DEFAULT_OPTIONS (line 10) | const DEFAULT_OPTIONS = { function createAPI (line 25) | function createAPI (options) { FILE: src/api/node.js function getSummary (line 9) | function getSummary (node) { function getNodeStats (line 40) | function getNodeStats (node) { FILE: src/api/peer.js function getPeerStats (line 6) | function getPeerStats (peer) { FILE: src/api/webhooks.js function startWebhooks (line 4) | function startWebhooks (node, webhooks, webhookInterval) { FILE: src/node/__mocks__/iri.js class IRI (line 8) | class IRI extends BaseIRI { method start (line 14) | start () { method removeNeighbors (line 28) | removeNeighbors (peers) { method addNeighbors (line 43) | addNeighbors (peers) { method cleanupNeighbors (line 58) | cleanupNeighbors (peers) { method updateNeighbors (line 73) | updateNeighbors (peers) { method removeAllNeighbors (line 95) | removeAllNeighbors () { method getStats (line 109) | getStats () { method _tick (line 116) | _tick () { FILE: src/node/__mocks__/node.js constant DEFAULT_OPTIONS (line 5) | const DEFAULT_OPTIONS = { class Node (line 25) | class Node extends BaseNode { method constructor (line 26) | constructor (options) { method _getIRI (line 32) | _getIRI () { method _setPublicIP (line 44) | _setPublicIP () { method _onIRIHealth (line 49) | _onIRIHealth () { method sendStats (line 62) | sendStats () { FILE: src/node/__tests__/node-test.js constant DEFAULT_OPTIONS (line 6) | const DEFAULT_OPTIONS = { FILE: src/node/__tests__/peer-test.js function recordPeerConnections (line 310) | function recordPeerConnections(peer, durations, datas) { function recordPeerConnection (line 321) | function recordPeerConnection(peer, duration, data) { FILE: src/node/base.js constant DEFAULT_OPTIONS (line 4) | const DEFAULT_OPTIONS = { class Base (line 14) | class Base { method constructor (line 15) | constructor (options) { method log (line 19) | log () { method formatNode (line 32) | formatNode (hostname, port) { method formatMilliseconds (line 36) | formatMilliseconds(milliseconds){ method start (line 43) | start () {} method end (line 45) | end () {} FILE: src/node/guard.js constant DEFAULT_OPTIONS (line 4) | const DEFAULT_OPTIONS = { class Guard (line 15) | class Guard extends Base { method constructor (line 16) | constructor (options) { method isAllowed (line 21) | isAllowed (address, port) { FILE: src/node/heart.js constant DEFAULT_OPTIONS (line 5) | const DEFAULT_OPTIONS = { class Heart (line 20) | class Heart extends Base { method constructor (line 21) | constructor (options) { method start (line 35) | start () { method end (line 48) | end () { method startNewEpoch (line 55) | startNewEpoch () { method setNewPersonality (line 64) | setNewPersonality () { method _tick (line 78) | _tick () { method _setTicker (line 117) | _setTicker () { FILE: src/node/iri.js constant IOTA (line 1) | const IOTA = require('iota.lib.js'); constant DEFAULT_OPTIONS (line 9) | const DEFAULT_OPTIONS = { class IRI (line 22) | class IRI extends Base { method constructor (line 23) | constructor (options) { method start (line 41) | start () { method end (line 64) | end () { method isStarted (line 76) | isStarted () { method isAvailable (line 84) | isAvailable () { method isStaticNeighbor (line 93) | isStaticNeighbor (peer) { method removeNeighbors (line 102) | removeNeighbors (peers) { method addNeighbors (line 137) | addNeighbors (peers) { method cleanupNeighbors (line 161) | cleanupNeighbors (peers) { method updateNeighbors (line 209) | updateNeighbors (peers) { method removeAllNeighbors (line 239) | removeAllNeighbors () { method getStats (line 264) | getStats () { method _tick (line 280) | _tick () { method _getIRIPeerURI (line 310) | _getIRIPeerURI (peer) { FILE: src/node/node.js constant DEFAULT_OPTIONS (line 28) | const DEFAULT_OPTIONS = { class Node (line 58) | class Node extends Base { method constructor (line 59) | constructor(options) { method start (line 95) | start() { method end (line 180) | end() { method _getList (line 210) | _getList() { method _getIRI (line 245) | _getIRI() { method _setPublicIP (line 267) | _setPublicIP() { method _createServer (line 285) | _createServer() { method _canConnect (line 358) | _canConnect(req) { method _bindWebSocket (line 522) | _bindWebSocket(ws, peer, asServer = false) { method _getHeaderIdentifiers (line 621) | _getHeaderIdentifiers(headers) { method _sendNeighbors (line 650) | _sendNeighbors(ws) { method _negotiateProtocol (line 669) | _negotiateProtocol(protocol) { method _addNeighbor (line 735) | _addNeighbor(neighbor, weight) { method _addNeighbors (line 768) | _addNeighbors(data, weight) { method _getHeaders (line 789) | _getHeaders(key = "") { method _getIncomingSlotsCount (line 808) | _getIncomingSlotsCount() { method _getOutgoingSlotsCount (line 820) | _getOutgoingSlotsCount() { method _removeNeighbor (line 833) | _removeNeighbor(peer) { method _removeNeighbors (line 847) | _removeNeighbors(peers) { method _dropRandomNeighbors (line 889) | _dropRandomNeighbors(amount = 1, incomingOnly = false, array = null) { method connectPeer (line 925) | connectPeer(peer) { method reconnectPeers (line 951) | reconnectPeers() { method getPeers (line 991) | getPeers() { method _onEpoch (line 1001) | _onEpoch() { method _onCycle (line 1028) | _onCycle() { method _onTick (line 1057) | _onTick() { method _onIRIHealth (line 1094) | _onIRIHealth(healthy, data) { method isMyself (line 1145) | isMyself(address, port, nelsonID = null) { method isAllowed (line 1167) | isAllowed(remoteKey, address, port, checkTrust = true, easiness = 24) { method isSaturationReached (line 1188) | isSaturationReached() { method _getMinEasiness (line 1201) | _getMinEasiness(easiness) { FILE: src/node/peer-list.js constant DEFAULT_OPTIONS (line 13) | const DEFAULT_OPTIONS = { class PeerList (line 28) | class PeerList extends Base { method constructor (line 29) | constructor(options) { method load (line 49) | load(defaultPeerURLs) { method loadDefaults (line 69) | loadDefaults(defaultPeerURLs = []) { method onPeerUpdate (line 91) | onPeerUpdate(peer) { method update (line 104) | update(peer, data, refreshPeer = true) { method all (line 125) | all() { method clear (line 132) | clear() { method getAverageAge (line 144) | getAverageAge() { method findByRemoteKeyOrAddress (line 161) | findByRemoteKeyOrAddress(remoteKey, address, port) { method findByAddress (line 183) | findByAddress(address, port) { method getPeerTrust (line 219) | getPeerTrust(peer) { method getWeighted (line 244) | getWeighted(amount = 0, sourcePeers = null, power = 1.0) { method add (line 279) | add(data) { method _getPeerOptions (line 369) | _getPeerOptions() { method cleanAddress (line 379) | static cleanAddress(address) { FILE: src/node/peer.js constant PROTOCOLS (line 7) | const PROTOCOLS = ['tcp', 'udp', 'prefertcp', 'preferudp', 'any']; constant DEFAULT_OPTIONS (line 8) | const DEFAULT_OPTIONS = { constant DEFAULT_PEER_DATA (line 16) | const DEFAULT_PEER_DATA = { class Peer (line 42) | class Peer extends Base { method constructor (line 43) | constructor (data = {}, options) { method update (line 57) | update (data, doCallback=true) { method getIP (line 81) | getIP () { method markConnected (line 107) | markConnected () { method markDisconnected (line 131) | markDisconnected () { method getConnectionDuration (line 150) | getConnectionDuration () { method updateConnection (line 161) | updateConnection (data) { method getPeerQuality (line 185) | getPeerQuality () { method isLazy (line 202) | isLazy () { method getTCPURI (line 211) | getTCPURI () { method getUDPURI (line 215) | getUDPURI () { method getNelsonURI (line 219) | getNelsonURI () { method getNelsonWebsocketURI (line 223) | getNelsonWebsocketURI () { method getHostname (line 227) | getHostname () { method isTrusted (line 231) | isTrusted () { method isSameIP (line 235) | isSameIP (ip) { method _isHostnameIP (line 239) | _isHostnameIP () { method _hasCorrectIP (line 243) | _hasCorrectIP () { method _getIPString (line 247) | _getIPString (ipOrHostname) { method _isIPOutdated (line 251) | _isIPOutdated () { FILE: src/node/tools/terminal.js function init (line 25) | function init (name, version, onExit) { function log (line 118) | function log () { function beat (line 129) | function beat ({ epoch, cycle, startDate, pctEpoch, pctCycle }) { function settings (line 141) | function settings ({ epochInterval, cycleInterval, startDate }) { function ports (line 149) | function ports ({ port, apiPort, IRIPort, TCPPort, UDPPort }) { function nodes (line 158) | function nodes ({ nodes, connected }) { function ensureScreen (line 179) | function ensureScreen (f) { function exit (line 188) | function exit () { FILE: src/node/tools/utils.js function getIP (line 12) | function getIP (ipOrHostName) { function getSecondsPassed (line 28) | function getSecondsPassed (time) { function createIdentifier (line 39) | function createIdentifier () { function getPeerIdentifier (line 48) | function getPeerIdentifier (address) { function getRandomInt (line 58) | function getRandomInt(min, max) { function shuffleArray (line 69) | function shuffleArray (array) { function getVersion (line 76) | function getVersion () { function isSameMajorVersion (line 84) | function isSameMajorVersion (otherVersion) { function validNeighbor (line 93) | function validNeighbor(str) { FILE: src/simulation/network.js constant DEFAULT_OPTS (line 4) | const DEFAULT_OPTS = { function spawnMockedNetwork (line 33) | function spawnMockedNetwork (options) { FILE: src/simulation/node.js function initMockedNode (line 9) | function initMockedNode (options) { function spawnNode (line 21) | function spawnNode(options={}, silent) {