Class TkmHexKeyWriter


  • public class TkmHexKeyWriter
    extends Object
    Deprecated.
    Author:
    giovanni.antino@h2tcoin.com
    • Constructor Detail

      • TkmHexKeyWriter

        public TkmHexKeyWriter​(Map<String,​Path> archivePathSet,
                               Map<String,​String> requestSet,
                               int epoch,
                               int slot,
                               String uid)
        Deprecated.
        init balace store object
        Parameters:
        archivePathSet -
        pathSet -
        epoch -
        slot -
        uid -
    • Method Detail

      • updateBalances

        public void updateBalances​(ConcurrentSkipListMap<String,​BalanceBean> cslBB,
                                   boolean keysUpdate)
        Deprecated.
        Parameters:
        cslBB -
        keysUpdate - if you add new addresses you must set to true key update
      • extractBalances

        public ConcurrentSkipListMap<String,​BalanceBean> extractBalances​(TransactionBox[] transactions,
                                                                               int epoch,
                                                                               int slot,
                                                                               String uid,
                                                                               Map<String,​Path> archivePathMap)
        Deprecated.
        Parameters:
        transactions - list of transactions
        epoch -
        slot -
        uid -
        archivePathMap - the state of the function, fail to pass correct map may result in inconsistence balances
        Returns: