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 ProofOfWorkProofOfWork.generateProofOfWork(DrasylAddress address, byte difficulty) abstract ProofOfWorkIdentity.getProofOfWork()ProofOfWork.incNonce()Returns a Proof of Work with nonce incremented by 1.static ProofOfWorkProofOfWork.of(int nonce) static ProofOfWorkMethods in org.drasyl.identity with parameters of type ProofOfWorkModifier and TypeMethodDescriptionstatic byteProofOfWork.getDifficulty(ProofOfWork proofOfWork, DrasylAddress publicKey) static IdentityIdentity.of(ProofOfWork proofOfWork, String identityPublicKey, String identitySecretKey) static IdentityIdentity.of(ProofOfWork proofOfWork, IdentityPublicKey identityPublicKey, IdentitySecretKey identitySecretKey) static IdentityIdentity.of(ProofOfWork proofOfWork, IdentitySecretKey identitySecretKey) static IdentityIdentity.of(ProofOfWork proofOfWork, KeyPair<IdentityPublicKey, IdentitySecretKey> identityKeyPair) static IdentityIdentity.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 ProofOfWorkDrasylConfig.getIdentityProofOfWork()static ProofOfWorkDrasylConfig.getProofOfWork(com.typesafe.config.Config config, String path) Gets theProofOfWorkat the given path.Methods in org.drasyl.node with parameters of type ProofOfWorkModifier and TypeMethodDescriptionabstract DrasylConfig.BuilderDrasylConfig.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 GroupJoinMessageGroupJoinMessage.of(Group group, String credentials, ProofOfWork proofOfWork, boolean renew)