The leading judge in England and Wales has said U.K. law may need to be updated to account for blockchain-based smart contracts.