Thoth Protocol definition file, and the official Thoth protocol doc.