A dynamic sharding model aware security and scalability in blockchain