Enhancing privacy and scalability of permissioned blockchain