Scalable Next Generation Blockchains For Large Scale Complex Cyber-Physical Systems And Their Embedded Systems In Smart Cities