Exploring the relationship between Bitcoin price and network’s hashrate within endogenous system