checkPoWDifficulty method

bool checkPoWDifficulty(
  1. int targetDifficulty
)

Check if this event meets a specific difficulty target

Implementation

bool checkPoWDifficulty(int targetDifficulty) {
  return Nip13.checkDifficulty(id, targetDifficulty);
}