bitcore-node-zcash/util/p2p.js

19 lines
307 B
JavaScript
Executable File

#! /usr/bin/env node
'use strict';
process.env.NODE_ENV = process.env.NODE_ENV || 'development';
var PeerSync = require('../lib/PeerSync');
var PROGRAM_VERSION = '0.1';
var program = require('commander');
program
.version(PROGRAM_VERSION)
.parse(process.argv);
var ps = new PeerSync();
ps.run();