Interface Schema


  • public interface Schema
    A schema of the collections (a.k.a. indices) of a service.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<com.exonum.binding.common.hash.HashCode> getStateHashes()
      Returns the root hashes of Merkelized tables in this database schema, as of the current state of the database.
    • Method Detail

      • getStateHashes

        java.util.List<com.exonum.binding.common.hash.HashCode> getStateHashes()
        Returns the root hashes of Merkelized tables in this database schema, as of the current state of the database. If there are no Merkelized tables, returns an empty list.

        This list of root hashes represents the current service state. Lists of these hashes from each service are aggregated in a single blockchain state hash that reflects the state of all services in the blockchain.