public class TransactionConfig
extends java.lang.Object
| Constructor and Description |
|---|
TransactionConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBlocksBehind()
Gets blocks behind.
|
int |
getExpiresSeconds()
Gets the expiration time for the transaction.
|
void |
setBlocksBehind(int blocksBehind)
Sets blocks behind.
|
void |
setExpiresSeconds(int expiresSeconds)
Sets the expiration time for the transaction.
|
public int getExpiresSeconds()
GetInfoResponse.getHeadBlockTime() in seconds. Assign it to
Transaction.setExpiration(String).public void setExpiresSeconds(int expiresSeconds)
GetInfoResponse.getHeadBlockTime() in second then assign it to
Transaction.setExpiration(String)expiresSeconds - when the transaction expires (in seconds)public int getBlocksBehind()
IRPCProvider.getBlock(GetBlockRequest)public void setBlocksBehind(int blocksBehind)
IRPCProvider.getBlock(GetBlockRequest)blocksBehind - the blocks behind