remove useless methods.
This commit is contained in:
parent
af477c3bbf
commit
ad5ae36a2f
|
@ -519,26 +519,6 @@ Transaction.fill = function(tx, options) {
|
|||
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++
|
||||
Transaction.prototype.hash =
|
||||
Transaction.prototype.getHash = function(enc) {
|
||||
|
@ -550,34 +530,10 @@ Transaction.prototype.getHash = function(enc) {
|
|||
: utils.dsha256(this.toBinary());
|
||||
};
|
||||
|
||||
Transaction.prototype.getValueOut = function() {
|
||||
;
|
||||
};
|
||||
|
||||
Transaction.prototype.computePriority = function() {
|
||||
;
|
||||
};
|
||||
|
||||
Transaction.prototype.isCoinbase = function() {
|
||||
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() {
|
||||
return this.hex = this.hex || Transaction.toHex(this);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue