Package com.h2tcoin.takamakachain.block
Class InternalBlockBean
- java.lang.Object
-
- com.h2tcoin.takamakachain.block.InternalBlockBean
-
- All Implemented Interfaces:
Serializable
public class InternalBlockBean extends Object implements Serializable
- Author:
- giovanni.antino@h2tcoin.com
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InternalBlockBean()
-
Method Summary
-
-
-
Method Detail
-
getCoinbase
public TransactionBean getCoinbase()
- Returns:
- the coinbase
-
getPreviousBlock
public TransactionBean getPreviousBlock()
return the transaction containing the previous block hash- Returns:
- the previousBlock
-
getBlockHash
public TransactionBean getBlockHash()
return the transaction containing the block hash- Returns:
- the blockHash
-
setCoinbase
public void setCoinbase(TransactionBean coinbase)
- Parameters:
coinbase
- the coinbase to set
-
setPreviousBlock
public void setPreviousBlock(TransactionBean previousBlock)
- Parameters:
previousBlock
- the previousBlock to set
-
setBlockHash
public void setBlockHash(TransactionBean blockHash)
- Parameters:
blockHash
- the blockHash to set
-
getTransactions
public ConcurrentSkipListSet<PrivateBlockTxBean> getTransactions()
- Returns:
- the transactions
-
setTransactions
public void setTransactions(ConcurrentSkipListSet<PrivateBlockTxBean> transactions)
- Parameters:
transactions
- the transactions to set
-
getForwardKeyes
public ConcurrentSkipListMap<String,String> getForwardKeyes()
EpochSlot, Public Key- Returns:
-
setForwardKeys
public void setForwardKeys(ConcurrentSkipListMap<String,String> forwardKeys)
-
getRewardList
public ConcurrentSkipListMap<String,TkmRewardBean> getRewardList()
sorting string,reward bean- Returns:
-
setRewardList
public void setRewardList(ConcurrentSkipListMap<String,TkmRewardBean> rewardList)
sorting string,reward bean- Parameters:
rewardList
-
-
getTransactionType
public KeyContexts.TransactionType getTransactionType()
-
getTransactionHash
public String getTransactionHash() throws NoSuchAlgorithmException
Deprecated.return block hash retriving it from message of block transaction- Returns:
- Throws:
NoSuchAlgorithmException
-
getNotBefore
public Date getNotBefore() throws NoSuchAlgorithmException
Deprecated.Returns the slot time corresponding to the current block- Returns:
- Throws:
NoSuchAlgorithmException
-
-