A validator function takes a DHT key and the value of the record for that key and throws if the record is invalid
A validator function takes a DHT key and the value of the record for that key and throws if the record is invalid