This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const API_PORT = 14265; | |
const DELAY = 5; // in miliseconds | |
// Necessary libraries | |
const http = require('http'); | |
const pool = new http.Agent({ maxSockets: 64 }); | |
const zmq = require('zeromq'); | |
const sock = zmq.socket('pub'); | |
const Converter = require('./lib/converter.js'); // from iota.lib.js |