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 boolean
equals(Object obj)
BigInteger
getCpuFee()
BigInteger
getDiskFee()
String
getError()
BigInteger
getMemoryFee()
String
getSith()
int
hashCode()
boolean
isIncluded()
if true the transaction can be included in a blockboolean
isValid()
void
setCpuFee(BigInteger cpuFee)
void
setDiskFee(BigInteger diskFee)
void
setError(String error)
void
setIncluded(boolean included)
set to true if the transaction can be included in a blockvoid
setMemoryFee(BigInteger memoryFee)
void
setSith(String sith)
void
setValid(boolean valid)
void
updateValues(String sith, boolean valid, boolean included, String error, FeeBean fb)
void
updateValues(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)
-
-