forked from odemolliens/zcash-gpu-miner
-
Notifications
You must be signed in to change notification settings - Fork 4
/
zcash.js
26 lines (21 loc) · 937 Bytes
/
zcash.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
require('buffertools')
// Load version from package.json
require('pkginfo')(module, 'version')
exports.logger = require('./utils/logger');
exports.Settings = require('./settings').Settings;
exports.Connection = require('./connection').Connection;
exports.Node = require('./node').Node;
exports.Storage = require('./storage').Storage;
exports.Script = require('./script').Script;
exports.ScriptInterpreter = require('./scriptinterpreter').ScriptInterpreter;
//exports.Util = require('./util');
var txSchema = require('./schema/transaction');
exports.schema = {
Transaction: txSchema.Transaction,
TransactionIn: txSchema.TransactionIn,
TransactionOut: txSchema.TransactionOut,
Block: require('./schema/block').Block
};
// Multiple instances of bigint are incompatible (instanceof doesn't work etc.),
// so we export our instance so libraries downstream can use the same one.
exports.bignum = exports.bigint = require('bignum')