Could someone clarify me how BTC avoid the hypothetic scenario below ?
1. An IT technician run a miner in a simple computer in a shopping mall local network.
2. This miner obviously can't compete with the hash power of the other miners of all BTC network
3. Suppose that, in this mall, all stores accept BTC as payment
4. The technician disconnected the network from the internet, keeping just the local network
5. So, the BTC network continues working, but now there's just one miner and the rest are just full nodes (but not miner)
I imagine that the nodes wouldn't be aware of new configuration and the miner, with 100% of hashpower, could double spend.
I think the thing is much more complex and the scenario above should be silly, but I would like to know what would really happen in that situation.
Regards,