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 TransactionBox
BlockBox. getBlockHash()
TransactionBox
BlockBox. getCoinbase()
TransactionBox
BlockBox. getPreviousBlock()
Methods in com.h2tcoin.takamakachain.block with parameters of type TransactionBox Modifier and Type Method Description protected void
BlockBox. setBlockHash(TransactionBox blockHash)
protected void
BlockBox. setCoinbase(TransactionBox coinbase)
protected void
BlockBox. 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 void
TkmTES. add(TransactionBox tbox, Long slotReferenceTime, String table, boolean toCacheFolder)
Deprecated.void
TkmTITS. add(TransactionBox tbox, Long slotReferenceTime, Connection conn, String table, boolean toCacheFolder)
protected static void
TransactionInterferenceTable. insert(Connection conn, String table, TransactionBox tbox)
protected static void
TransactionExpirationTable. insertExpirationInterferenceCandidateEntryDefaultHS(Connection conn, TransactionBox transactionBox)
protected static void
TransactionExpirationTable. insertExpirationInterferenceCandidateEntryHS(Connection conn, String table, TransactionBox transactionBox)
protected static void
TransactionExpirationTable. 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 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)
static KeyWriterGlobalStatus
ChainManager. 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 void
StakeBean. addStake(TransactionBox tbox)
protected static StakeBeanInternal
TkmStakeBeanHelper. 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 boolean
TransactionFeeCalculator. 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 FeeBean
TransactionFeeCalculator. getFeeBean(TransactionBox tbox)
static RewardBean
TransactionFeeCalculator. 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 void
PostSender. createPublishAndRetrive(String endpoint, String apiURL, TransactionBox tbox, AsyncActionInterface asyncComp)
static ResponseBookmarkBean
PostSenderHelper. getResponseBookmarkBean(TransactionBox tbox, RequestBookmarkBean requestBookmarkBean)
static void
PostSender. sendAsyncTransactionAsPost(TransactionBox tbox, JComponent compToEnable, ShowAddress sa)
static void
PostSender. sendAsyncTransactionAsPost(String endpoint, TransactionBox tbox, JComponent compToEnable, ShowAddress sa)
static void
PostSender. sendAsyncTransactionAsPost(String endpoint, String apiURL, TransactionBox tbox, JComponent compToEnable, ShowAddress sa)
static Runnable
PostSender. 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 TransactionBox
TransactionHistoryBean. getTbox()
Methods in com.h2tcoin.takamakachain.utils.simpleWallet.panels.support with parameters of type TransactionBox Modifier and Type Method Description void
SWTransactionHistoryQueue. add(TransactionBox tbox, ComboItemSettingsBookmarkUrl endpoint)
void
TransactionHistoryBean. 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 TransactionBox
GuiTransactionBean. getTbox()
Methods in com.h2tcoin.takamakachain.utils.simpleWallet.panels.support.transactionWizard with parameters of type TransactionBox Modifier and Type Method Description void
GuiTransactionBean. 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 TransactionBox
TkmTransactionFilter. filter(TransactionBox tbox, List fl)
static TransactionBox[]
KeyWriterStatusUtility. filterNodeTransactions(TransactionBox[] transactions)
TransactionBox
TkmTboxQueue. 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 TransactionBox
TkmTransactionFilter. TESBootstap(TransactionBox tbox)
permitted transaction for block zero and bootstrapstatic TransactionBox
TkmTransactionFilter. 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 void
TkmInterferenceGraph.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 TransactionBox
TkmTransactionFilter. filter(TransactionBox tbox, List fl)
static TransactionBox[]
KeyWriterStatusUtility. filterNodeTransactions(TransactionBox[] transactions)
static InternalBlockBean
TkmOperations. generateBlock(KeyWriterGlobalStatus kwGS, TransactionBox[] transactions, InstanceWalletKeystoreInterface nodeWallet, int nodeKey, Date blockDate)
static KeyWriterAcceptedBetByHolderBean
TkmKeyWriter. getKeyWriterAcceptedBetByHolderQueryBean(TransactionBox[] transactions)
static KeyWriterBalancesBean
TkmKeyWriter. 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 KeyWriterBalancesOverTheLimitBean
TkmKeyWriter. getKeyWriterBalancesOverTheLimitBeanQueryBean(TransactionBox[] transactions)
static KeyWriterNodeManagerBean
TkmNodeManager. 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 KeyWriterStakeBean
TkmKeyWriter. getKeyWriterStakeQueryBean(TransactionBox[] transactions, boolean stakeAndStakeUndoOnly)
static KeyWriterStakeUndoBean
TkmKeyWriter. getKeyWriterStakeUndoQueryBean(TransactionBox[] transactions, boolean stakeAndStakeUndoOnly)
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)
void
TkmInterferenceGraph. insert(TransactionBox tbox)
add a TransactionBox to the singletonvoid
TkmInterferenceGraph. insert(TransactionBox[] tboxArray)
add a TransactionBox Array to the singletonvoid
TkmTboxQueue. insert(TransactionBox tbox)
static TransactionBox[]
TkmInclusionDuplication. limitSize(TransactionBox[] transactions, int mbLimit, int transactionPerBlockLimit)
static KeyWriterGlobalStatus
KeyWriterStatusUtility. loadKeyWriterGlobalStatus(TransactionBox[] tb, int epoch, int slot, String databaseUIDD, long slotTime)
static String
TkmTextUtils. prettyPrintTransactions(TransactionBox[] transactions)
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)
void
TkmInterferenceGraph.GraphBean. removeReference(String addr, TransactionBox tbox)
static TransactionBox
TkmTransactionFilter. TESBootstap(TransactionBox tbox)
permitted transaction for block zero and bootstrapstatic TransactionBox
TkmTransactionFilter. TESNormalOperation(TransactionBox tbox)
Permitted transaction for block other than the ZEROstatic String
TkmTextUtils. toJson(TransactionBox tbox)
static void
TkmInclusionDuplication. 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 TransactionBox
WalletInterface. verify(String gsonTransactionBean)
static TransactionBox
TkmWallet. verifyTransactionIntegrity(TransactionBean tb)
It creates a transaction box containing both Transaction bean and itb message Only when the verifySign method sets a valid transactionstatic TransactionBox
TkmWallet. 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 TransactionBox
TkmWallet. verifyTransactionIntegrity(String transactionJson)
Methods in com.h2tcoin.takamakachain.wallet with parameters of type TransactionBox Modifier and Type Method Description int
TransactionBox. compareTo(TransactionBox t)
-