A directed acyclic graph (DAG) is a type of structure commonly found as a form of consensus for a cryptocurrency.