Uses of Class
com.h2tcoin.takamakachain.utils.threadSafeUtils.KeyWriterGlobalStatus
-
-
Uses of KeyWriterGlobalStatus in com.h2tcoin.takamakachain.state
Methods in com.h2tcoin.takamakachain.state that return KeyWriterGlobalStatus Modifier and Type Method Description KeyWriterGlobalStatus
TkmCSBS. loadCsb(int epoch, int slot, String blockHash)
KeyWriterGlobalStatus
TkmCSBS. loadDefault()
Methods in com.h2tcoin.takamakachain.state with parameters of type KeyWriterGlobalStatus Modifier and Type Method Description com.h2tcoin.takamakachain.state.NotifyChain.NextBean
NotifyChain. getNewNextCSBS(KeyWriterGlobalStatus kwgs)
-
Uses of KeyWriterGlobalStatus in com.h2tcoin.takamakachain.support
Methods in com.h2tcoin.takamakachain.support that return KeyWriterGlobalStatus Modifier and Type Method Description static KeyWriterGlobalStatus
ChainManager. initEmptyChain(TransactionBox[] transactions)
Methods in com.h2tcoin.takamakachain.support with parameters of type KeyWriterGlobalStatus Modifier and Type Method Description static void
HSTBSupport. applyHSBT(TkmCSBS i, HsbtManageBean hsbt, KeyWriterGlobalStatus kwgs)
static String
ChainManager. createFirstBlockInternal(KeyWriterGlobalStatus previousKWGS, TransactionBox[] currentTransactionsToPush)
static String
ChainManager. createFirstBlockInternalTest(KeyWriterGlobalStatus previousKWGS, TransactionBox[] currentTransactionsToPush, Date bootstrapDate)
static void
ChainManager. gotToNextAndPersist(KeyWriterGlobalStatus previousKWGS, TransactionBox[] currentTransactionsToPush)
Deprecated.this function does not create the block, test only function for local fast simulationsstatic BlockValidityBean
ChainManager. gotToNextAndPersistWithBlock(KeyWriterGlobalStatus previousKWGS, TransactionBox[] currentTransactionsToPush)
static BlockValidityBean
ChainManager. gotToNextAndPersistWithBlockTest(KeyWriterGlobalStatus none, TransactionBox[] currentTransactionsToPush, Date simCurrentTime)
protected static void
ChainManagerHelper. loadKWSBByTKMCSBS(KeyWriterGlobalStatus newKWGS)
-
Uses of KeyWriterGlobalStatus in com.h2tcoin.takamakachain.transactions
Methods in com.h2tcoin.takamakachain.transactions with parameters of type KeyWriterGlobalStatus Modifier and Type Method Description static void
TkmStakeBeanHelper. acceptBets(KeyWriterGlobalStatus kwGS)
static void
TkmStakeBeanHelper. applyStakeUndo(KeyWriterGlobalStatus kwGS)
static void
TkmStakeBeanHelper. traceOverTheLimit(KeyWriterGlobalStatus kwGS)
-
Uses of KeyWriterGlobalStatus in com.h2tcoin.takamakachain.utils.threadSafeUtils
Methods in com.h2tcoin.takamakachain.utils.threadSafeUtils that return KeyWriterGlobalStatus Modifier and Type Method Description static KeyWriterGlobalStatus
KeyWriterStatusUtility. getEmptyGlobalStatus(int epoch, int slot, String uid, long slotTime)
static KeyWriterGlobalStatus
TkmOperations. goToNextStatus(KeyWriterGlobalStatus oldKWGS, TransactionBox[] tansactions, int epoch, int slot, String uid, long slotTime)
static KeyWriterGlobalStatus
KeyWriterStatusUtility. initKeyWriterGlobalStatus(TransactionBox[] transactions, int epoch, int slot, String uid, long slotTime)
static KeyWriterGlobalStatus
KeyWriterStatusUtility. loadKeyWriterGlobalStatus(int sbEpoch, int sbSlot, String sbUid, long sbSlotTime)
static KeyWriterGlobalStatus
KeyWriterStatusUtility. loadKeyWriterGlobalStatus(TransactionBox[] tb, int epoch, int slot, String databaseUIDD, long slotTime)
Methods in com.h2tcoin.takamakachain.utils.threadSafeUtils with parameters of type KeyWriterGlobalStatus Modifier and Type Method Description static void
TkmKeyWriter. callBetsEvaluationOnModifiedBalances(KeyWriterGlobalStatus kwGS, KeyWriterAcceptedBetByHolderBean modVal)
static void
TkmInclusionDuplication. cleanUpOutdatedDuplicated(KeyWriterGlobalStatus kwGS)
static InternalBlockBean
TkmOperations. generateBlock(KeyWriterGlobalStatus kwGS, TransactionBox[] transactions, InstanceWalletKeystoreInterface nodeWallet, int nodeKey, Date blockDate)
static KeyWriterGlobalStatus
TkmOperations. goToNextStatus(KeyWriterGlobalStatus oldKWGS, TransactionBox[] tansactions, int epoch, int slot, String uid, long slotTime)
static void
KeyWriterStatusUtility. loadIncludedTransactions(KeyWriterGlobalStatus kwGS)
static void
TkmKeyWriter. overwriteStakeLeftToRight(KeyWriterGlobalStatus orig, ConcurrentSkipListMap<String,StakeBean> retriveStake)
static void
TkmOperations. persistGlobalStatus(KeyWriterGlobalStatus kwGS)
static String
TkmTextUtils. prettyPrintKeyWriterGlobalStatus(KeyWriterGlobalStatus kwGS)
static String
TkmTextUtils. prettyPrintTransactionsResults(TransactionBox[] transactions, KeyWriterGlobalStatus kwGS)
static void
TkmOperations. pushTransactions(KeyWriterGlobalStatus kwGS, TransactionBox[] transactions)
Evaluates current transactions and applies them to the current system status if valid.static void
TkmOperations. pushTransactions(KeyWriterGlobalStatus kwGS, TransactionBox[] transactions, ConcurrentSkipListMap<String,TkmRewardBean> blockListPayback)
Evaluates current transactions and applies them to the current system status if valid.It also updates the list of transaction errors and calculates the processing cost incurred by the node.static void
TkmKeyWriter. putBlockInMap(KeyWriterGlobalStatus kwGS, TransactionBox blockHash, TransactionBox previousBlockHash)
static TransactionBox[]
TkmInclusionDuplication. removeIncluded(TransactionBox[] transactions, KeyWriterGlobalStatus kwGS)
static TransactionBox[]
TkmInclusionDuplication. removeIncludedAndOutdated(TransactionBox[] transactions, KeyWriterGlobalStatus kwGS)
static ConcurrentSkipListMap<String,AcceptedBetByHolderBean>
TkmKeyWriter. retriveAcceptedBetByHolder(KeyWriterGlobalStatus kwGS)
this function does not alter accepted bet bean.static ConcurrentSkipListMap<String,String>
TkmKeyWriter. retriveBalancesOverTheLimit(KeyWriterGlobalStatus kwGS)
static ConcurrentSkipListMap<String,BlocksBean>
TkmKeyWriter. retriveBlocksBeans(KeyWriterGlobalStatus kwGS)
this function does not alter blocks beans.static void
KeyWriterStatusUtility. saveIncludedTransactions(KeyWriterGlobalStatus kwGS)
static void
TkmKeyWriter. updateAcceptedBetByHolder(KeyWriterGlobalStatus kwGS)
static void
TkmKeyWriter. updateBlocksBean(KeyWriterGlobalStatus kwGS)
static void
TkmInclusionDuplication. updateIncludedList(KeyWriterGlobalStatus kwGS, TransactionBox[] transactions)
static void
TkmPayBackHelper. updateKeyWriterAcceptedBets(KeyWriterGlobalStatus kwGS, ConcurrentSkipListMap<String,TkmRewardBean> blockListPayback)
static void
TkmNodeManager. updateNodeLinks(KeyWriterGlobalStatus kwGS)
static void
TkmNodeManager. updateNodeLinksDeregister(KeyWriterGlobalStatus kwGS)
static void
TkmKeyWriter. updateOverTheLimit(KeyWriterGlobalStatus kwGS)
-