Securing Smart Cities With Blockchain In Four Ways