isCoinbase method

bool isCoinbase()

Implementation

bool isCoinbase() {
  return ins.length == 1 && isCoinbaseHash(ins[0].hash);
}