Merge pull request #419 from LinusU/patch-1
cleanup after removal of soop
This commit is contained in:
commit
e75267bd01
File diff suppressed because one or more lines are too long
@ -561,4 +561,4 @@ Connection.prototype.parseMessage = function(command, payload) {
|
|||||||
return data;
|
return data;
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (Connection);
|
module.exports = Connection;
|
||||||
|
|||||||
@ -29,4 +29,4 @@ Curve.getN = function() {
|
|||||||
return n;
|
return n;
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (Curve);
|
module.exports = Curve;
|
||||||
|
|||||||
@ -20,4 +20,4 @@ ECIES.symmetricDecrypt = function(key, encrypted) {
|
|||||||
return r;
|
return r;
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (ECIES);
|
module.exports = ECIES;
|
||||||
|
|||||||
@ -37,4 +37,4 @@ Message.magicHash = function(str) {
|
|||||||
return hash;
|
return hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (Message);
|
module.exports = Message;
|
||||||
|
|||||||
@ -163,4 +163,4 @@ Opcode.asList = function() {
|
|||||||
return keys;
|
return keys;
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (Opcode);
|
module.exports = Opcode;
|
||||||
|
|||||||
@ -242,4 +242,4 @@ PayPro.prototype.sinVerify = function() {
|
|||||||
return Message.verifyWithPubKey(pubkey, buf, sig);
|
return Message.verifyWithPubKey(pubkey, buf, sig);
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (PayPro);
|
module.exports = PayPro;
|
||||||
|
|||||||
@ -53,4 +53,4 @@ Peer.prototype.toBuffer = function() {
|
|||||||
return put.buffer();
|
return put.buffer();
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (Peer);
|
module.exports = Peer;
|
||||||
|
|||||||
@ -311,4 +311,4 @@ PeerManager.prototype.discover = function(options, callback) {
|
|||||||
return self;
|
return self;
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (PeerManager);
|
module.exports = PeerManager;
|
||||||
|
|||||||
@ -22,4 +22,4 @@ Point.multiply = function(p1, x) {
|
|||||||
return Point.fromUncompressedPubKey(pubKey);
|
return Point.fromUncompressedPubKey(pubKey);
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (Point);
|
module.exports = Point;
|
||||||
|
|||||||
@ -79,4 +79,4 @@ PrivateKey.prototype.network = function() {
|
|||||||
return answer;
|
return answer;
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (PrivateKey);
|
module.exports = PrivateKey;
|
||||||
|
|||||||
@ -218,4 +218,4 @@ function rpc(request, callback) {
|
|||||||
|
|
||||||
generateRPCMethods(RpcClient, callspec, rpc);
|
generateRPCMethods(RpcClient, callspec, rpc);
|
||||||
|
|
||||||
module.exports = (RpcClient);
|
module.exports = RpcClient;
|
||||||
|
|||||||
@ -60,4 +60,4 @@ SIN.prototype.validate = function() {
|
|||||||
if (this.data.length != 22) throw new Error('invalid data length');
|
if (this.data.length != 22) throw new Error('invalid data length');
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
module.exports = (SIN);
|
module.exports = SIN;
|
||||||
|
|||||||
@ -34,4 +34,4 @@ SINKey.prototype.storeObj = function() {
|
|||||||
return obj;
|
return obj;
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (SINKey);
|
module.exports = SINKey;
|
||||||
|
|||||||
@ -640,4 +640,4 @@ Script.chunksToBuffer = function(chunks) {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
module.exports = (Script);
|
module.exports = Script;
|
||||||
|
|||||||
@ -1082,4 +1082,4 @@ ScriptInterpreter.prototype.isCanonicalSignature = function(sig) {
|
|||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (ScriptInterpreter);
|
module.exports = ScriptInterpreter;
|
||||||
|
|||||||
@ -6,4 +6,4 @@ SecureRandom.getRandomBuffer = function(size) {
|
|||||||
return crypto.randomBytes(size);
|
return crypto.randomBytes(size);
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = (SecureRandom);
|
module.exports = SecureRandom;
|
||||||
|
|||||||
@ -627,4 +627,4 @@ Transaction.prototype.isComplete = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
module.exports = (Transaction);
|
module.exports = Transaction;
|
||||||
|
|||||||
@ -1031,4 +1031,4 @@ TransactionBuilder.prototype.merge = function(b) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (TransactionBuilder);
|
module.exports = TransactionBuilder;
|
||||||
|
|||||||
@ -136,4 +136,4 @@ Wallet.prototype.addScript = function(script) {
|
|||||||
return addrStr;
|
return addrStr;
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (Wallet);
|
module.exports = Wallet;
|
||||||
|
|||||||
@ -47,4 +47,4 @@ WalletKey.prototype.fromObj = function(obj) {
|
|||||||
this.privKey.regenerateSync();
|
this.privKey.regenerateSync();
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (WalletKey);
|
module.exports = WalletKey;
|
||||||
|
|||||||
@ -33,4 +33,4 @@ ECIES.symmetricDecrypt = function(key, encrypted) {
|
|||||||
return decbuf;
|
return decbuf;
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (ECIES);
|
module.exports = ECIES;
|
||||||
|
|||||||
@ -28,4 +28,4 @@ Point.multiply = function(p1, x) {
|
|||||||
return p;
|
return p;
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (Point);
|
module.exports = Point;
|
||||||
|
|||||||
@ -18,4 +18,4 @@ SecureRandom.getRandomBuffer = function(size) {
|
|||||||
return buf;
|
return buf;
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (SecureRandom);
|
module.exports = SecureRandom;
|
||||||
|
|||||||
@ -114,4 +114,4 @@ ECIES.prototype.getSfromPrivkey = function() {
|
|||||||
return S;
|
return S;
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (ECIES);
|
module.exports = ECIES;
|
||||||
|
|||||||
@ -22,4 +22,4 @@ SecureRandom.getPseudoRandomBuffer = function(size) {
|
|||||||
return b;
|
return b;
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (SecureRandom);
|
module.exports = SecureRandom;
|
||||||
|
|||||||
@ -134,4 +134,4 @@ Parser.prototype.varStr = function() {
|
|||||||
return this.buffer(len);
|
return this.buffer(len);
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (Parser);
|
module.exports = Parser;
|
||||||
|
|||||||
@ -144,4 +144,4 @@ EncodedData.applyEncodingsTo = function(aClass) {
|
|||||||
|
|
||||||
EncodedData.applyEncodingsTo(EncodedData);
|
EncodedData.applyEncodingsTo(EncodedData);
|
||||||
|
|
||||||
module.exports = (EncodedData);
|
module.exports = EncodedData;
|
||||||
|
|||||||
@ -39,4 +39,4 @@ VersionedData.prototype.payload = function(data) {
|
|||||||
return this.as('binary').slice(1);
|
return this.as('binary').slice(1);
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (VersionedData);
|
module.exports = VersionedData;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user