Package com.h2tcoin.takamakachain.block
Class TkmValidityBean
- java.lang.Object
-
- com.h2tcoin.takamakachain.block.TkmValidityBean
-
- All Implemented Interfaces:
Serializable
public class TkmValidityBean extends Object implements Serializable
- Author:
- Giovanni Antino
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TkmValidityBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)BigIntegergetCpuFee()BigIntegergetDiskFee()StringgetError()BigIntegergetMemoryFee()StringgetSith()inthashCode()booleanisIncluded()if true the transaction can be included in a blockbooleanisValid()voidsetCpuFee(BigInteger cpuFee)voidsetDiskFee(BigInteger diskFee)voidsetError(String error)voidsetIncluded(boolean included)set to true if the transaction can be included in a blockvoidsetMemoryFee(BigInteger memoryFee)voidsetSith(String sith)voidsetValid(boolean valid)voidupdateValues(String sith, boolean valid, boolean included, String error, FeeBean fb)voidupdateValues(String sith, boolean valid, boolean included, String error, BigInteger cpuFee, BigInteger memFee, BigInteger diskFee)
-
-
-
Method Detail
-
updateValues
public void updateValues(String sith, boolean valid, boolean included, String error, BigInteger cpuFee, BigInteger memFee, BigInteger diskFee)
-
updateValues
public void updateValues(String sith, boolean valid, boolean included, String error, FeeBean fb)
-
isIncluded
public boolean isIncluded()
if true the transaction can be included in a block- Returns:
-
setIncluded
public void setIncluded(boolean included)
set to true if the transaction can be included in a block- Parameters:
included-
-
getCpuFee
public BigInteger getCpuFee()
-
setCpuFee
public void setCpuFee(BigInteger cpuFee)
-
getDiskFee
public BigInteger getDiskFee()
-
setDiskFee
public void setDiskFee(BigInteger diskFee)
-
getMemoryFee
public BigInteger getMemoryFee()
-
setMemoryFee
public void setMemoryFee(BigInteger memoryFee)
-
getSith
public String getSith()
-
isValid
public boolean isValid()
-
getError
public String getError()
-
setSith
public void setSith(String sith)
-
setValid
public void setValid(boolean valid)
-
setError
public void setError(String error)
-
-