Similar Items: A theory of transaction parallelism in blockchains