@Deprecated
public interface Account
Modifier and Type | Method and Description |
---|---|
void |
bindState(AccountState state)
Deprecated.
Bind state to an account.
|
AccountAddress |
getAddress()
Deprecated.
Get address of an account.
|
AergoKey |
getKey()
Deprecated.
Get
AergoKey if holds. |
long |
getRecentlyUsedNonce()
Deprecated.
Get nonce for account.
|
long |
incrementAndGetNonce()
Deprecated.
Increment an nonce and get it.
|
void |
setNonce(long nonce)
Deprecated.
Set nonce for account.
|
AccountAddress getAddress()
void bindState(AccountState state)
AccountState.address
is not binded. Only nonce is binded.state
- state to bindvoid setNonce(long nonce)
nonce
is less than 0, set as 0.nonce
- nonce to setlong getRecentlyUsedNonce()
long incrementAndGetNonce()
AergoKey getKey()
AergoKey
if holds. Otherwise return null.AergoKey
if holds. Otherwise null.