src/mempool/mempoolentry.js
function MempoolEntry(options) {
  if (!(this instanceof MempoolEntry))
    return new MempoolEntry(options);

  this.tx = null;
  this.height = -1;
  this.size = 0;
  this.sigops = 0;
  this.priority = 0;
  this.fee = 0;
  this.deltaFee = 0;
  this.time = 0;
  this.value = 0;
  this.coinbase = false;
  this.dependencies = false;
  this.descFee = 0;
  this.descSize = 0;

  if (options)
    this.fromOptions(options);
}
function MempoolEntry(options) {
  if (!(this instanceof MempoolEntry))
    return new MempoolEntry(options);

  this.tx = null;
  this.height = -1;
  this.size = 0;
  this.sigops = 0;
  this.priority = 0;
  this.fee = 0;
  this.deltaFee = 0;
  this.time = 0;
  this.value = 0;
  this.coinbase = false;
  this.dependencies = false;
  this.descFee = 0;
  this.descSize = 0;

  if (options)
    this.fromOptions(options);
}
function MempoolEntry ( options ) { if ( ! ( this instanceof MempoolEntry ) ) return new MempoolEntry ( options ) ; this . tx = null ; this . height = - 1 ; this . size = 0 ; this . sigops = 0 ; this . priority = 0 ; this . fee = 0 ; this . deltaFee = 0 ; this . time = 0 ; this . value = 0 ; this . coinbase = false ; this . dependencies = false ; this . descFee = 0 ; this . descSize = 0 ; if ( options ) this . fromOptions ( options ) ; }
Represents a mempool entry.
@alias module:mempool.MempoolEntry
@constructor
@param {Object} options
@param {TX} options.tx - Transaction in mempool.
@param {Number} options.height - Entry height.
@param {Number} options.priority - Entry priority.
@param {Number} options.time - Entry time.
@param {Amount} options.value - Value of on-chain coins.
@property {TX} tx
@property {Number} height
@property {Number} priority
@property {Number} time
@property {Amount} value
Represents a mempool entry .