Package com.h2tcoin.takamakachain.block
Class TkmNode
- java.lang.Object
-
- com.h2tcoin.takamakachain.block.TkmNode
-
public class TkmNode extends Object
- Author:
- Giovanni Antino
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TkmNode.NM
-
Method Summary
-
-
-
Method Detail
-
i
public static TkmNode i()
-
getWalletCypher
public KeyContexts.WalletCypher getWalletCypher()
-
getNodeID
public String getNodeID()
-
getNodePublicKeyURL64
public String getNodePublicKeyURL64()
-
getTemporaryKeyByName
public InstanceWalletKeystoreInterface getTemporaryKeyByName(String keyName, String uid) throws WalletBurnedException, WalletEmptySeedException
-
getNodeKeyNumber
public int getNodeKeyNumber()
-
getMainNodeKeystore
public InstanceWalletKeystoreInterface getMainNodeKeystore()
-
getOverflowNodePersistentUrl64Key
public String getOverflowNodePersistentUrl64Key()
-
createKeyProposalForSlot
public TkmProposedKey createKeyProposalForSlot(int epoch, int slot)
-
createKeyProposalForSlotExternalMiner
public TkmProposedKey createKeyProposalForSlotExternalMiner(int epoch, int slot, String externalMinerMainPublicKey, String externalMinerProposedBlockPublicKey)
-
createFirstProposedKey
public TkmProposedKey createFirstProposedKey(String uid)
-
getNextProposedKeys
public ArrayList<TkmProposedKey> getNextProposedKeys(ESBean esb, int currentEpoch, ConcurrentSkipListSet<Integer> currentEpochNodeDistribution, ConcurrentSkipListSet<Integer> nextEpochNodeDistribution)
-
isBurned
public boolean isBurned(TkmProposedKey tpk)
-
burnKey
public static void burnKey(TkmProposedKey tpk)
-
-