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.WalletCyphergetBlockWalletCypher()protected StringgetDefaultPublicKeyHex()protected org.bouncycastle.crypto.AsymmetricCipherKeyPairgetDefaultWalletKeys()protected StringgetHexSignerHash()protected intgetNodeKey()protected InstanceWalletKeystoreInterfacegetNodeKeystore()booleanisValid()protected voidsetBlockWalletCypher(KeyContexts.WalletCypher blockWalletCypher)protected voidsetHexSignerHash(String hexSignerHash)protected voidsetNodeKey(int nodeKey)protected voidsetValid(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()
-
-