Class BlockSortedQueueBroadcast


  • public class BlockSortedQueueBroadcast
    extends Object
    Author:
    Giovanni Antino
    • Method Detail

      • push

        public void push​(String blockJson)
      • push

        public void push​(BlockBox decodedBlock)
      • getBlockSortingString

        public static String getBlockSortingString​(BlockBox bb)
      • deleteBySith

        public void deleteBySith​(int epoch,
                                 int slot,
                                 String blockSith)
      • deleteBySith

        public void deleteBySith​(BlockBox bb)
      • getBlockSortingString

        public static String getBlockSortingString​(int epoch,
                                                   int slot,
                                                   String blolockHash)
      • getNumberOfElemets

        public int getNumberOfElemets()
      • getTopBlockShortSignature

        public String getTopBlockShortSignature()
      • getTopBlockPreviousBlockHash

        public String getTopBlockPreviousBlockHash()
      • getTopBoxESBean

        public ESBean getTopBoxESBean()
      • getTopBlockBlockHash

        public String getTopBlockBlockHash()
      • cleanQueue

        public void cleanQueue​(ESBean current)