isCoinbase method

bool isCoinbase ()

Implementation

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