Uses of Class
org.drasyl.identity.ProofOfWork
Packages that use ProofOfWork
Package
Description
Contains classes to manage the
Identity
of the drasyl node.Contains
DrasylNode
.Messages that are used to communicate with other nodes using the groups plugin.
-
Uses of ProofOfWork in org.drasyl.identity
Methods in org.drasyl.identity that return ProofOfWorkModifier and TypeMethodDescriptionstatic ProofOfWork
ProofOfWork.generateProofOfWork
(DrasylAddress address, byte difficulty) abstract ProofOfWork
Identity.getProofOfWork()
ProofOfWork.incNonce()
Returns a Proof of Work with nonce incremented by 1.static ProofOfWork
ProofOfWork.of
(int nonce) static ProofOfWork
Methods in org.drasyl.identity with parameters of type ProofOfWorkModifier and TypeMethodDescriptionstatic byte
ProofOfWork.getDifficulty
(ProofOfWork proofOfWork, DrasylAddress publicKey) static Identity
Identity.of
(ProofOfWork proofOfWork, String identityPublicKey, String identitySecretKey) static Identity
Identity.of
(ProofOfWork proofOfWork, IdentityPublicKey identityPublicKey, IdentitySecretKey identitySecretKey) static Identity
Identity.of
(ProofOfWork proofOfWork, IdentitySecretKey identitySecretKey) static Identity
Identity.of
(ProofOfWork proofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey> identityKeyPair) static Identity
Identity.of
(ProofOfWork proofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey> identityKeyPair, KeyPair<KeyAgreementPublicKey, KeyAgreementSecretKey> keyAgreementKeyPair) -
Uses of ProofOfWork in org.drasyl.node
Methods in org.drasyl.node that return ProofOfWorkModifier and TypeMethodDescriptionabstract ProofOfWork
DrasylConfig.getIdentityProofOfWork()
static ProofOfWork
DrasylConfig.getProofOfWork
(com.typesafe.config.Config config, String path) Gets theProofOfWork
at the given path.Methods in org.drasyl.node with parameters of type ProofOfWorkModifier and TypeMethodDescriptionabstract DrasylConfig.Builder
DrasylConfig.Builder.identityProofOfWork
(ProofOfWork identityProofOfWork) -
Uses of ProofOfWork in org.drasyl.node.plugin.groups.client.message
Methods in org.drasyl.node.plugin.groups.client.message that return ProofOfWorkMethods in org.drasyl.node.plugin.groups.client.message with parameters of type ProofOfWorkModifier and TypeMethodDescriptionstatic GroupJoinMessage
GroupJoinMessage.of
(Group group, String credentials, ProofOfWork proofOfWork, boolean renew)