Virtual resource allocation method of blockchain