Text this: A theory of transaction parallelism in blockchains