Blockchain Explained: How Shared Ledgers Work and Where They Fall Short