https://en.wikipedia.org/wiki/Paxos_(computer_science)
You're thinking of a distributed ledger, which combine blockchains with consensus protocols