Distributed consensus: What do money transactions and attacking armies have in common?

In February 2014, a big bank in the Netherlands suffered from an internet banking malfunction which led many costumers to accidentally perform duplicate bank transfers.