Equilibrium of Blockchain Miners with Dynamic Asset Allocation