Class Utils


  • public class Utils
    extends Object
    • Method Detail

      • calculateSidechainId

        public static byte[] calculateSidechainId​(byte[] transactionHash,
                                                  int index)
      • compressedBitvectorMerkleRoot

        public static byte[] compressedBitvectorMerkleRoot​(byte[] compressedBitvector)
      • compressedBitvectorMerkleRoot

        public static byte[] compressedBitvectorMerkleRoot​(byte[] compressedBitvector,
                                                           int expectedUncompressedSize)
                                                    throws Exception
        Throws:
        Exception