Knowing how distributed ledgers work