remove useless methods.

This commit is contained in:
Christopher Jeffrey 2014-09-30 15:03:33 -07:00
parent af477c3bbf
commit ad5ae36a2f
1 changed files with 0 additions and 44 deletions

View File

@ -519,26 +519,6 @@ Transaction.fill = function(tx, options) {
return isTx ? true : tx; return isTx ? true : tx;
}; };
Transaction.prototype.getSerializeSize = function() {
;
};
Transaction.prototype.serialize = function() {
;
};
Transaction.prototype.unserialize = function() {
;
};
Transaction.prototype.setNull = function() {
;
};
Transaction.prototype.isNull = function() {
;
};
// NOTE: Could just call tx.GetHash().ToString() in C++ // NOTE: Could just call tx.GetHash().ToString() in C++
Transaction.prototype.hash = Transaction.prototype.hash =
Transaction.prototype.getHash = function(enc) { Transaction.prototype.getHash = function(enc) {
@ -550,34 +530,10 @@ Transaction.prototype.getHash = function(enc) {
: utils.dsha256(this.toBinary()); : utils.dsha256(this.toBinary());
}; };
Transaction.prototype.getValueOut = function() {
;
};
Transaction.prototype.computePriority = function() {
;
};
Transaction.prototype.isCoinbase = function() { Transaction.prototype.isCoinbase = function() {
return this.vin.length === 1 && this.vin[0].coinbase; return this.vin.length === 1 && this.vin[0].coinbase;
}; };
Transaction.prototype.equal = function() {
;
};
Transaction.prototype.notEqual = function() {
;
};
Transaction.prototype.toString = function() {
;
};
Transaction.prototype.print = function() {
;
};
Transaction.prototype.toHex = function() { Transaction.prototype.toHex = function() {
return this.hex = this.hex || Transaction.toHex(this); return this.hex = this.hex || Transaction.toHex(this);
}; };