Mempool constructor

Mempool(
  1. int count,
  2. int vsize,
  3. int totalFee,
  4. List<List<num>> feeHistogram,
)

Implementation

Mempool(this.count, this.vsize, this.totalFee, this.feeHistogram) {
  isNonnegativeInt(count);
  isNonnegativeInt(vsize);
  isNonnegativeInt(totalFee);
  for (List<num> tuple in feeHistogram) {
    isNonnegativeNum(tuple[0]);
    isNonnegativeNum(tuple[1]);
  }
}