Uses of Class
com.h2tcoin.takamakachain.utils.acceptedBet.AcceptedBetByHolderBean
-
-
Uses of AcceptedBetByHolderBean in com.h2tcoin.takamakachain.db.embedded.node
Method parameters in com.h2tcoin.takamakachain.db.embedded.node with type arguments of type AcceptedBetByHolderBean Modifier and Type Method Description static ConcurrentSkipListMap<String,AcceptedBetByTargetBean>
StakeManagement. consolidateMainStakesByHolder(ConcurrentSkipListSet<AcceptedBetByHolderBean> acceptedBets, KeyWriterStatusBean kwSB)
Get all the stakes consolidated on the MAIN addresses by holder Bets made on OVERFLOW nodes are transferred onto their MAINsstatic ConcurrentSkipListMap<String,BigInteger>
StakeManagement. consolidateStakesOnMain(ConcurrentSkipListSet<AcceptedBetByHolderBean> acceptedBets, KeyWriterStatusBean kwSB)
Step II: Get all stakes and consolidate them onto the MAIN addresses do not consider orphan nodes, whether MAIN or OVERFLOWstatic ConcurrentSkipListMap<String,AcceptedBetByTargetBean>
StakeManagement. getConsolidatedAcceptedBetsByMain(ConcurrentSkipListMap<String,NodeManagerBean> nodeLinks, ConcurrentSkipListMap<String,BigInteger> nodeStakes, ConcurrentSkipListSet<AcceptedBetByHolderBean> acceptedBets)
Returns the main stakes by holderstatic ConcurrentSkipListMap<String,HolderStakesByTargetBean>
StakeManagement. getHolderStakesByTarget(ConcurrentSkipListSet<AcceptedBetByHolderBean> acceptedBets, KeyWriterStatusBean kwSB, ConcurrentSkipListMap<String,AcceptedBetByTargetBean> mainStakesByHolder)
Same as AcceptedBetByHolder but this list contains only bets on MAIN addresses enabled to minestatic ConcurrentSkipListMap<String,NodeManagerBean>
StakeManagement. getNodeLinks(ConcurrentSkipListSet<AcceptedBetByHolderBean> acceptedBets, KeyWriterStatusBean kwSB)
returns the list of linked nodes MAIN/OVERFLOW that have stakes bet on themstatic ConcurrentSkipListMap<String,BigInteger>
StakeManagement. getStakeDistribution(ConcurrentSkipListSet<AcceptedBetByHolderBean> acceptedBets, KeyWriterStatusBean kwSB, ConcurrentSkipListMap<String,BigInteger> mainStakes, ConcurrentSkipListMap<String,NodeManagerBean> nodeLinks, BigInteger minStake)
STEP VI: redistribute stakes among mining nodes(OVERFLOWS)static BigInteger
StakeManagement. getTotalAtStake(ConcurrentSkipListSet<AcceptedBetByHolderBean> acceptedBets, KeyWriterStatusBean kwSB)
STEP IV: returns the total amount of green tokens at stakestatic BigInteger
StakeManagement. minimunStakeAllowed(ConcurrentSkipListSet<AcceptedBetByHolderBean> acceptedBets, KeyWriterStatusBean kwSB)
STEP V: returns the minimum amount of stake required for a node to be activated as a miner -
Uses of AcceptedBetByHolderBean in com.h2tcoin.takamakachain.transactions
Methods in com.h2tcoin.takamakachain.transactions that return AcceptedBetByHolderBean Modifier and Type Method Description static AcceptedBetByHolderBean
TkmStakeBeanHelper. getNewAcceptedBetByHolderBean(String fromUrl64)
return a new empty initialized accepted bet by holder beanMethods in com.h2tcoin.takamakachain.transactions that return types with arguments of type AcceptedBetByHolderBean Modifier and Type Method Description static ConcurrentSkipListMap<String,AcceptedBetByHolderBean>
TkmStakeBeanHelper. cleanBucketAcceptedBet(ConcurrentSkipListMap<String,AcceptedBetByHolderBean> bucket)
static ConcurrentSkipListSet<AcceptedBetByHolderBean>
TkmStakeBeanHelper. getAcceptedBetByHolderAtPointInTime(int epoch, int slot, String uid)
static ConcurrentSkipListSet<AcceptedBetByHolderBean>
TkmStakeBeanHelper. getAcceptedBetByHolderAtPointInTime(int epoch, int slot, String uid, ConcurrentSkipListSet<String> hexKeys)
This function reads the status from the persistent archive.Method parameters in com.h2tcoin.takamakachain.transactions with type arguments of type AcceptedBetByHolderBean Modifier and Type Method Description static ConcurrentSkipListMap<String,AcceptedBetByHolderBean>
TkmStakeBeanHelper. cleanBucketAcceptedBet(ConcurrentSkipListMap<String,AcceptedBetByHolderBean> bucket)
static ConcurrentSkipListMap<String,AcceptedBetByTargetBean>
TkmStakeBeanHelper. convertAcceptedBetByHolderToAcceptedBetByTarget(ConcurrentSkipListSet<AcceptedBetByHolderBean> acceptedBetByHolderSet)
-
Uses of AcceptedBetByHolderBean in com.h2tcoin.takamakachain.utils.acceptedBet
Methods in com.h2tcoin.takamakachain.utils.acceptedBet with parameters of type AcceptedBetByHolderBean Modifier and Type Method Description int
AcceptedBetByHolderBean. compareTo(AcceptedBetByHolderBean t)
this method implements the comparable interface using the holderUrl64 transformed by the functionTkmTextUtils.getSortingString (value)
-
Uses of AcceptedBetByHolderBean in com.h2tcoin.takamakachain.utils.threadSafeUtils
Methods in com.h2tcoin.takamakachain.utils.threadSafeUtils that return AcceptedBetByHolderBean Modifier and Type Method Description AcceptedBetByHolderBean
KeyWriterAcceptedBetByHolderBean. getAcceptedBetByHolderByHex(String hexAddr)
AcceptedBetByHolderBean
KeyWriterAcceptedBetByHolderBean. getAcceptedBetByHolderByURL64(String urlAddr)
Methods in com.h2tcoin.takamakachain.utils.threadSafeUtils that return types with arguments of type AcceptedBetByHolderBean Modifier and Type Method Description ConcurrentSkipListMap<String,AcceptedBetByHolderBean>
KeyWriterAcceptedBetByHolderBean. getHexToAcceptedBetByHolderList()
static ConcurrentSkipListMap<String,AcceptedBetByHolderBean>
TkmTextUtils. getListMapAcceptedBetByHolderFromJson(String jsonString)
static ConcurrentSkipListSet<AcceptedBetByHolderBean>
TkmTextUtils. getListSetAcceptedBetByHolderFromJson(String jsonString)
static ConcurrentSkipListMap<String,AcceptedBetByHolderBean>
KeyWriterStatusUtility. getRequiredValuesAcceptedBets(ConcurrentSkipListMap<String,Path> recoveryPathByBuckets, ConcurrentSkipListMap<String,String> hexToUrl64)
static ConcurrentSkipListMap<String,AcceptedBetByHolderBean>
TkmKeyWriter. retriveAcceptedBetByHolder(KeyWriterGlobalStatus kwGS)
this function does not alter accepted bet bean.Methods in com.h2tcoin.takamakachain.utils.threadSafeUtils with parameters of type AcceptedBetByHolderBean Modifier and Type Method Description protected void
KeyWriterAcceptedBetByHolderBean. addTransactionToSet(String urlAddr, AcceptedBetByHolderBean abbhb)
static String
TkmTextUtils. prettyPrintAcceptedBetInternal(AcceptedBetByHolderBean abh, String header)
boolean
KeyWriterAcceptedBetByHolderBean. writeHexAcceptedBetByHolder(String hexAddr, AcceptedBetByHolderBean abbhb)
add if BB is not present overwrite if present FAIL if address is not part of this setvoid
KeyWriterAcceptedBetByHolderBean. writeTransactionToSet(String urlAddr, AcceptedBetByHolderBean abbhb)
boolean
KeyWriterAcceptedBetByHolderBean. writeURL64AcceptedBetByHolder(String url64Addr, AcceptedBetByHolderBean abbhb)
add if BB is not present overwrite if present FAIL if address is not part of this setMethod parameters in com.h2tcoin.takamakachain.utils.threadSafeUtils with type arguments of type AcceptedBetByHolderBean Modifier and Type Method Description static void
TkmKeyWriter. mergeAcceptedBetBHRightToLeft(KeyWriterAcceptedBetByHolderBean left, ConcurrentSkipListMap<String,AcceptedBetByHolderBean> right)
Copy the values from right to left.static String
TkmTextUtils. prettyPrintAcceptedBetSet(ConcurrentSkipListSet<AcceptedBetByHolderBean> acceptedBetByHOlderAtPointInTime)
protected void
KeyWriterAcceptedBetByHolderBean. setHexToAcceptedHolderBean(ConcurrentSkipListMap<String,AcceptedBetByHolderBean> hexToAcceptedHolderBeanSet)
static String
TkmTextUtils. toJsonAcceptedBetByHolderList(ConcurrentSkipListSet<AcceptedBetByHolderBean> listSetAcceptedBetByHolder)
static String
TkmTextUtils. toJsonAcceptedBetByHolderMap(ConcurrentSkipListMap<String,AcceptedBetByHolderBean> listMapAcceptedBetByHolder)
-