Uses of Class
com.h2tcoin.takamakachain.wallet.TransactionBox
-
-
Uses of TransactionBox in com.h2tcoin.takamakachain.block
Methods in com.h2tcoin.takamakachain.block that return TransactionBox Modifier and Type Method Description TransactionBoxBlockBox. getBlockHash()TransactionBoxBlockBox. getCoinbase()TransactionBoxBlockBox. getPreviousBlock()Methods in com.h2tcoin.takamakachain.block with parameters of type TransactionBox Modifier and Type Method Description protected voidBlockBox. setBlockHash(TransactionBox blockHash)protected voidBlockBox. setCoinbase(TransactionBox coinbase)protected voidBlockBox. setPreviousBlock(TransactionBox previousBlock) -
Uses of TransactionBox in com.h2tcoin.takamakachain.db.embedded
Methods in com.h2tcoin.takamakachain.db.embedded that return types with arguments of type TransactionBox Modifier and Type Method Description protected static List<AbstractMap.SimpleEntry<String,TransactionBox>>TransactionExpirationTable. getExpirationInterferenceListCandidateMembers(Connection conn, String table, int listIndex, KeyContexts.TransactionType transactionType)return the transaction bean Candidate in the list or empty listMethods in com.h2tcoin.takamakachain.db.embedded with parameters of type TransactionBox Modifier and Type Method Description voidTkmTES. add(TransactionBox tbox, Long slotReferenceTime, String table, boolean toCacheFolder)Deprecated.voidTkmTITS. add(TransactionBox tbox, Long slotReferenceTime, Connection conn, String table, boolean toCacheFolder)protected static voidTransactionInterferenceTable. insert(Connection conn, String table, TransactionBox tbox)protected static voidTransactionExpirationTable. insertExpirationInterferenceCandidateEntryDefaultHS(Connection conn, TransactionBox transactionBox)protected static voidTransactionExpirationTable. insertExpirationInterferenceCandidateEntryHS(Connection conn, String table, TransactionBox transactionBox)protected static voidTransactionExpirationTable. insertExpirationInterferenceEntryHS(Connection conn, String table, TransactionBox transactionBox, KeyContexts.ExpirationTransactionState candidateState, int epoch, int slot) -
Uses of TransactionBox in com.h2tcoin.takamakachain.main
Methods in com.h2tcoin.takamakachain.main that return TransactionBox Modifier and Type Method Description static TransactionBox[]TestTkmBlob. setupTests()static TransactionBox[]TestTkmStake. setupTests()static TransactionBox[]TestTkmBlob. setupTests2()static TransactionBox[]TestTkmStake. setupTests2()Method parameters in com.h2tcoin.takamakachain.main with type arguments of type TransactionBox Modifier and Type Method Description static Map<String,Long>TkmTITSDemo. addressFound(List<Set<TransactionBox>> sets)static List<String>TkmTITSDemo. getAddressList(List<Set<TransactionBox>> sets)static List<String>TkmTITSDemo. getCompareList(Set<TransactionBox> set)static List<String>TkmTITSDemo. interenceFail(List<Set<TransactionBox>> sets)static List<String>TkmTITSDemo. testInterference(List<Set<TransactionBox>> sets, List<String> addList) -
Uses of TransactionBox in com.h2tcoin.takamakachain.support
Methods in com.h2tcoin.takamakachain.support that return TransactionBox Modifier and Type Method Description static TransactionBox[]ChainManagerHelper. getTransactions(BlockBox bb)static TransactionBox[]ChainInitiator. initBlock0()static TransactionBox[]ChainInitiator. initBlock0Test(Date bootstrapDate, int epoch, int slot)static TransactionBox[]ChainInitiator. initBlock0TestED(Date bootstrapDate, int epoch, int slot)static TransactionBox[]ChainInitiator. initBlock0TestQTR2(Date bootstrapDate, int epoch, int slot)static TransactionBox[]ChainInitiator. initDefaultConfiguration()static TransactionBox[]ChainInitiator. initDefaultConfigurationWithNode()static TransactionBox[]ChainInitiator. testPay(InstanceWalletKeystoreInterface[] from, InstanceWalletKeystoreInterface[] to, int green, int red)Methods in com.h2tcoin.takamakachain.support with parameters of type TransactionBox Modifier and Type Method Description static StringChainManager. createFirstBlockInternal(KeyWriterGlobalStatus previousKWGS, TransactionBox[] currentTransactionsToPush)static StringChainManager. createFirstBlockInternalTest(KeyWriterGlobalStatus previousKWGS, TransactionBox[] currentTransactionsToPush, Date bootstrapDate)static voidChainManager. gotToNextAndPersist(KeyWriterGlobalStatus previousKWGS, TransactionBox[] currentTransactionsToPush)Deprecated.this function does not create the block, test only function for local fast simulationsstatic BlockValidityBeanChainManager. gotToNextAndPersistWithBlock(KeyWriterGlobalStatus previousKWGS, TransactionBox[] currentTransactionsToPush)static BlockValidityBeanChainManager. gotToNextAndPersistWithBlockTest(KeyWriterGlobalStatus none, TransactionBox[] currentTransactionsToPush, Date simCurrentTime)static KeyWriterGlobalStatusChainManager. initEmptyChain(TransactionBox[] transactions) -
Uses of TransactionBox in com.h2tcoin.takamakachain.test
Methods in com.h2tcoin.takamakachain.test that return TransactionBox Modifier and Type Method Description static TransactionBox[]TransactionGenerator. fromJsonToTbox(String[] transactionArray)static TransactionBox[]TransactionGenerator. mergeTboxArrays(TransactionBox[]... args)Methods in com.h2tcoin.takamakachain.test with parameters of type TransactionBox Modifier and Type Method Description static TransactionBox[]TransactionGenerator. mergeTboxArrays(TransactionBox[]... args) -
Uses of TransactionBox in com.h2tcoin.takamakachain.transactions
Methods in com.h2tcoin.takamakachain.transactions that return types with arguments of type TransactionBox Modifier and Type Method Description static ConcurrentSkipListMap<KeyContexts.TransactionType,ConcurrentSkipListSet<TransactionBox>>TransactionUtils. splitByType(TransactionBox[] transactions)split transaction by type in efficent way, type bucket can be empty but not nullMethods in com.h2tcoin.takamakachain.transactions with parameters of type TransactionBox Modifier and Type Method Description voidStakeBean. addStake(TransactionBox tbox)protected static StakeBeanInternalTkmStakeBeanHelper. createStakeBeanInternal(TransactionBox tbox)static ConcurrentSkipListMap<KeyContexts.TransactionType,ConcurrentSkipListSet<TransactionBox>>TransactionUtils. splitByType(TransactionBox[] transactions)split transaction by type in efficent way, type bucket can be empty but not nullConstructors in com.h2tcoin.takamakachain.transactions with parameters of type TransactionBox Constructor Description StakeBeanInternal(TransactionBox tbox) -
Uses of TransactionBox in com.h2tcoin.takamakachain.transactions.fee
Methods in com.h2tcoin.takamakachain.transactions.fee with parameters of type TransactionBox Modifier and Type Method Description static booleanTransactionFeeCalculator. canPayFee(TransactionBox tbox, BalanceBean payer)For transactions that do not move money but have a cost that is assessed based on the structure alone.static FeeBeanTransactionFeeCalculator. getFeeBean(TransactionBox tbox)static RewardBeanTransactionFeeCalculator. getPayBeanAndApplyToBalanceThePay(TransactionBox tbox, BalanceBean payer)This function alters the payer's balance sheet. -
Uses of TransactionBox in com.h2tcoin.takamakachain.utils.chainInfo
Constructors in com.h2tcoin.takamakachain.utils.chainInfo with parameters of type TransactionBox Constructor Description BlocksBean(TransactionBox blockHashTbox)create the entry for a real blockBlocksBean(TransactionBox blockHashTbox, String idString)Create a fill entry for the missing slots that precede the current real block. -
Uses of TransactionBox in com.h2tcoin.takamakachain.utils.networking
Methods in com.h2tcoin.takamakachain.utils.networking with parameters of type TransactionBox Modifier and Type Method Description static voidPostSender. createPublishAndRetrive(String endpoint, String apiURL, TransactionBox tbox, AsyncActionInterface asyncComp)static ResponseBookmarkBeanPostSenderHelper. getResponseBookmarkBean(TransactionBox tbox, RequestBookmarkBean requestBookmarkBean)static voidPostSender. sendAsyncTransactionAsPost(TransactionBox tbox, JComponent compToEnable, ShowAddress sa)static voidPostSender. sendAsyncTransactionAsPost(String endpoint, TransactionBox tbox, JComponent compToEnable, ShowAddress sa)static voidPostSender. sendAsyncTransactionAsPost(String endpoint, String apiURL, TransactionBox tbox, JComponent compToEnable, ShowAddress sa)static RunnablePostSender. submitTransaction(String endpoint, TransactionBox tbox, AsyncActionInterface asyncComp) -
Uses of TransactionBox in com.h2tcoin.takamakachain.utils.simpleWallet.panels.support
Methods in com.h2tcoin.takamakachain.utils.simpleWallet.panels.support that return TransactionBox Modifier and Type Method Description TransactionBoxTransactionHistoryBean. getTbox()Methods in com.h2tcoin.takamakachain.utils.simpleWallet.panels.support with parameters of type TransactionBox Modifier and Type Method Description voidSWTransactionHistoryQueue. add(TransactionBox tbox, ComboItemSettingsBookmarkUrl endpoint)voidTransactionHistoryBean. setTbox(TransactionBox tbox)Constructors in com.h2tcoin.takamakachain.utils.simpleWallet.panels.support with parameters of type TransactionBox Constructor Description TransactionHistoryBean(TransactionBox tbox, String endpoint, String networkDescription) -
Uses of TransactionBox in com.h2tcoin.takamakachain.utils.simpleWallet.panels.support.transactionWizard
Methods in com.h2tcoin.takamakachain.utils.simpleWallet.panels.support.transactionWizard that return TransactionBox Modifier and Type Method Description TransactionBoxGuiTransactionBean. getTbox()Methods in com.h2tcoin.takamakachain.utils.simpleWallet.panels.support.transactionWizard with parameters of type TransactionBox Modifier and Type Method Description voidGuiTransactionBean. setTbox(TransactionBox tbox) -
Uses of TransactionBox in com.h2tcoin.takamakachain.utils.threadSafeUtils
Methods in com.h2tcoin.takamakachain.utils.threadSafeUtils that return TransactionBox Modifier and Type Method Description static TransactionBox[]TkmInclusionDuplication. deduplicate(TransactionBox[] transactions)static TransactionBoxTkmTransactionFilter. filter(TransactionBox tbox, List fl)static TransactionBox[]KeyWriterStatusUtility. filterNodeTransactions(TransactionBox[] transactions)TransactionBoxTkmTboxQueue. getBySith(String sith)TransactionBox[]TkmTboxQueue. getTboxQueue()static TransactionBox[]TkmInclusionDuplication. limitSize(TransactionBox[] transactions, int mbLimit, int transactionPerBlockLimit)static TransactionBox[]TkmInclusionDuplication. removeIncluded(TransactionBox[] transactions, KeyWriterGlobalStatus kwGS)static TransactionBox[]TkmInclusionDuplication. removeIncludedAndOutdated(TransactionBox[] transactions, KeyWriterGlobalStatus kwGS)static TransactionBoxTkmTransactionFilter. TESBootstap(TransactionBox tbox)permitted transaction for block zero and bootstrapstatic TransactionBoxTkmTransactionFilter. TESNormalOperation(TransactionBox tbox)Permitted transaction for block other than the ZEROMethods in com.h2tcoin.takamakachain.utils.threadSafeUtils that return types with arguments of type TransactionBox Modifier and Type Method Description Map<Integer,ConcurrentSkipListSet<TransactionBox>>TkmInterferenceGraph. convertToNonInterfernceList(List<Set<TransactionBox>> intListGr)convert interference list to sorted non interfenece list.static ConcurrentSkipListMap<String,TransactionBox>TkmInclusionDuplication. deduplicateSL(TransactionBox[] transactions)List<Set<TransactionBox>>TkmInterferenceGraph. getIntListGr()returns the list of transactions grouped in interference setsMap<Integer,ConcurrentSkipListSet<TransactionBox>>TkmInterferenceGraph. getSortedNonInterferenceList()Methods in com.h2tcoin.takamakachain.utils.threadSafeUtils with parameters of type TransactionBox Modifier and Type Method Description voidTkmInterferenceGraph.GraphBean. addReference(String addr, TransactionBox tbox)static TransactionBox[]TkmInclusionDuplication. deduplicate(TransactionBox[] transactions)static ConcurrentSkipListMap<String,TransactionBox>TkmInclusionDuplication. deduplicateSL(TransactionBox[] transactions)ConcurrentSkipListMap<String,BalanceBean>TkmHexKeyWriter. extractBalances(TransactionBox[] transactions, int epoch, int slot, String uid, Map<String,Path> archivePathMap)Deprecated.static TransactionBoxTkmTransactionFilter. filter(TransactionBox tbox, List fl)static TransactionBox[]KeyWriterStatusUtility. filterNodeTransactions(TransactionBox[] transactions)static InternalBlockBeanTkmOperations. generateBlock(KeyWriterGlobalStatus kwGS, TransactionBox[] transactions, InstanceWalletKeystoreInterface nodeWallet, int nodeKey, Date blockDate)static KeyWriterAcceptedBetByHolderBeanTkmKeyWriter. getKeyWriterAcceptedBetByHolderQueryBean(TransactionBox[] transactions)static KeyWriterBalancesBeanTkmKeyWriter. getKeyWriterBalanceQueryBean(TransactionBox[] transactions)starting from an array of transactions the method generates a container with all the addresses involved to efficiently perform the bulk recovery of the financial statements and their subsequent updating.static KeyWriterBalancesOverTheLimitBeanTkmKeyWriter. getKeyWriterBalancesOverTheLimitBeanQueryBean(TransactionBox[] transactions)static KeyWriterNodeManagerBeanTkmNodeManager. getKeyWriterNodeManagerQueryBean(TransactionBox[] transactions)starting from an array of transactions the method generates a container with all the addresses involved to efficiently perform the bulk recovery of the financial statements and their subsequent updating.static KeyWriterStakeBeanTkmKeyWriter. getKeyWriterStakeQueryBean(TransactionBox[] transactions, boolean stakeAndStakeUndoOnly)static KeyWriterStakeUndoBeanTkmKeyWriter. getKeyWriterStakeUndoQueryBean(TransactionBox[] transactions, boolean stakeAndStakeUndoOnly)static KeyWriterGlobalStatusTkmOperations. goToNextStatus(KeyWriterGlobalStatus oldKWGS, TransactionBox[] tansactions, int epoch, int slot, String uid, long slotTime)static KeyWriterGlobalStatusKeyWriterStatusUtility. initKeyWriterGlobalStatus(TransactionBox[] transactions, int epoch, int slot, String uid, long slotTime)voidTkmInterferenceGraph. insert(TransactionBox tbox)add a TransactionBox to the singletonvoidTkmInterferenceGraph. insert(TransactionBox[] tboxArray)add a TransactionBox Array to the singletonvoidTkmTboxQueue. insert(TransactionBox tbox)static TransactionBox[]TkmInclusionDuplication. limitSize(TransactionBox[] transactions, int mbLimit, int transactionPerBlockLimit)static KeyWriterGlobalStatusKeyWriterStatusUtility. loadKeyWriterGlobalStatus(TransactionBox[] tb, int epoch, int slot, String databaseUIDD, long slotTime)static StringTkmTextUtils. prettyPrintTransactions(TransactionBox[] transactions)static StringTkmTextUtils. prettyPrintTransactionsResults(TransactionBox[] transactions, KeyWriterGlobalStatus kwGS)static voidTkmOperations. pushTransactions(KeyWriterGlobalStatus kwGS, TransactionBox[] transactions)Evaluates current transactions and applies them to the current system status if valid.static voidTkmOperations. 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 voidTkmKeyWriter. putBlockInMap(KeyWriterGlobalStatus kwGS, TransactionBox blockHash, TransactionBox previousBlockHash)static TransactionBox[]TkmInclusionDuplication. removeIncluded(TransactionBox[] transactions, KeyWriterGlobalStatus kwGS)static TransactionBox[]TkmInclusionDuplication. removeIncludedAndOutdated(TransactionBox[] transactions, KeyWriterGlobalStatus kwGS)voidTkmInterferenceGraph.GraphBean. removeReference(String addr, TransactionBox tbox)static TransactionBoxTkmTransactionFilter. TESBootstap(TransactionBox tbox)permitted transaction for block zero and bootstrapstatic TransactionBoxTkmTransactionFilter. TESNormalOperation(TransactionBox tbox)Permitted transaction for block other than the ZEROstatic StringTkmTextUtils. toJson(TransactionBox tbox)static voidTkmInclusionDuplication. updateIncludedList(KeyWriterGlobalStatus kwGS, TransactionBox[] transactions)Method parameters in com.h2tcoin.takamakachain.utils.threadSafeUtils with type arguments of type TransactionBox Modifier and Type Method Description Map<Integer,ConcurrentSkipListSet<TransactionBox>>TkmInterferenceGraph. convertToNonInterfernceList(List<Set<TransactionBox>> intListGr)convert interference list to sorted non interfenece list.Constructors in com.h2tcoin.takamakachain.utils.threadSafeUtils with parameters of type TransactionBox Constructor Description GraphBean(String referral, TransactionBox transactionBox) -
Uses of TransactionBox in com.h2tcoin.takamakachain.wallet
Methods in com.h2tcoin.takamakachain.wallet that return TransactionBox Modifier and Type Method Description TransactionBoxWalletInterface. verify(String gsonTransactionBean)static TransactionBoxTkmWallet. verifyTransactionIntegrity(TransactionBean tb)It creates a transaction box containing both Transaction bean and itb message Only when the verifySign method sets a valid transactionstatic TransactionBoxTkmWallet. verifyTransactionIntegrity(TransactionBean tb, String transactionJson)It creates a transaction box containing both Transaction bean and itb message Only when the verifySign method sets a valid transactionstatic TransactionBoxTkmWallet. verifyTransactionIntegrity(String transactionJson)Methods in com.h2tcoin.takamakachain.wallet with parameters of type TransactionBox Modifier and Type Method Description intTransactionBox. compareTo(TransactionBox t)
-