Package com.h2tcoin.takamakachain.block
Class NodeStateBean
- java.lang.Object
-
- com.h2tcoin.takamakachain.block.NodeStateBean
-
- All Implemented Interfaces:
Serializable
public class NodeStateBean extends Object implements Serializable
- Author:
- Giovanni Antino
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeStateBean(KeyContexts.WalletCypher blockWalletCypher, int nodeKey, boolean reset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected KeyContexts.WalletCypher
getBlockWalletCypher()
protected String
getDefaultPublicKeyHex()
protected org.bouncycastle.crypto.AsymmetricCipherKeyPair
getDefaultWalletKeys()
protected String
getHexSignerHash()
protected int
getNodeKey()
protected InstanceWalletKeystoreInterface
getNodeKeystore()
boolean
isValid()
protected void
setBlockWalletCypher(KeyContexts.WalletCypher blockWalletCypher)
protected void
setHexSignerHash(String hexSignerHash)
protected void
setNodeKey(int nodeKey)
protected void
setValid(boolean valid)
-
-
-
Constructor Detail
-
NodeStateBean
public NodeStateBean(KeyContexts.WalletCypher blockWalletCypher, int nodeKey, boolean reset)
-
-
Method Detail
-
isValid
public boolean isValid()
-
setValid
protected void setValid(boolean valid)
-
getBlockWalletCypher
protected KeyContexts.WalletCypher getBlockWalletCypher()
-
setBlockWalletCypher
protected void setBlockWalletCypher(KeyContexts.WalletCypher blockWalletCypher)
-
getNodeKeystore
protected InstanceWalletKeystoreInterface getNodeKeystore()
-
getHexSignerHash
protected String getHexSignerHash()
-
setHexSignerHash
protected void setHexSignerHash(String hexSignerHash)
-
getNodeKey
protected int getNodeKey()
-
setNodeKey
protected void setNodeKey(int nodeKey)
-
getDefaultWalletKeys
protected org.bouncycastle.crypto.AsymmetricCipherKeyPair getDefaultWalletKeys()
-
getDefaultPublicKeyHex
protected String getDefaultPublicKeyHex()
-
-