Class KeyWriterBalancesOverTheLimitBean

  • All Implemented Interfaces:
    Serializable

    public class KeyWriterBalancesOverTheLimitBean
    extends Object
    implements Serializable
    this class maps the addresses in hex format to those in url format. Conversion is necessary because addresses in url format contain unsafe characters for many filesystems
    Author:
    giovanni.antino@h2tcoin.com
    See Also:
    Serialized Form
    • Constructor Detail

      • KeyWriterBalancesOverTheLimitBean

        public KeyWriterBalancesOverTheLimitBean()
    • Method Detail

      • getBalanceOverTheLimitBeanByHex

        public String getBalanceOverTheLimitBeanByHex​(String hexAddr)
      • getBalanceOverTheLimitBeanByURL64

        public String getBalanceOverTheLimitBeanByURL64​(String urlAddr)
      • writeHexBalanceOverTheLimit

        public boolean writeHexBalanceOverTheLimit​(String hexAddr,
                                                   String bb)
        add if BB is not present overwrite if present FAIL if address is not part of this set
        Parameters:
        hexAddr -
        bb -
        Returns:
      • writeURL64BalanceOverTheLimit

        public boolean writeURL64BalanceOverTheLimit​(String url64Addr,
                                                     String bb)
        add if BB is not present overwrite if present FAIL if address is not part of this set
        Parameters:
        url64Addr -
        bb -
        Returns:
      • addTransactionToSet

        protected void addTransactionToSet​(String hexAddr,
                                           String urlAddr)
      • addTransactionToSetWithBalance

        public void addTransactionToSetWithBalance​(String urlAddr)