Uses of Class
org.drasyl.identity.ProofOfWork
Packages that use ProofOfWork
Package
Description
Core API that includes the
DrasylNode and DrasylConfig.Contains classes to manage the
Identity of the drasyl node.Contains all message types that drasyl uses to configure the overlay network and transfer
application messages.
-
Uses of ProofOfWork in org.drasyl
Methods in org.drasyl that return ProofOfWorkModifier and TypeMethodDescriptionDrasylConfig.getIdentityProofOfWork()static ProofOfWorkDrasylConfig.getProofOfWork(com.typesafe.config.Config config, String path) Gets theProofOfWorkat the given path.Methods in org.drasyl with parameters of type ProofOfWorkModifier and TypeMethodDescriptionDrasylConfig.Builder.identityProofOfWork(ProofOfWork identityProofOfWork) -
Uses of ProofOfWork in org.drasyl.identity
Methods in org.drasyl.identity that return ProofOfWorkModifier and TypeMethodDescriptionstatic ProofOfWorkProofOfWork.generateProofOfWork(CompressedPublicKey publicKey, short difficulty) Identity.getProofOfWork()IdentityManager.getProofOfWork()static ProofOfWorkProofOfWork.of(int nonce) Methods in org.drasyl.identity with parameters of type ProofOfWorkModifier and TypeMethodDescriptionstatic shortProofOfWork.getDifficulty(ProofOfWork proofOfWork, CompressedPublicKey publicKey) static IdentityIdentity.of(ProofOfWork proofOfWork, String publicKey, String privateKey) static IdentityIdentity.of(ProofOfWork proofOfWork, CompressedKeyPair keyPair) static IdentityIdentity.of(ProofOfWork proofOfWork, CompressedPublicKey publicKey, CompressedPrivateKey privateKey) -
Uses of ProofOfWork in org.drasyl.peer.connection.message
Fields in org.drasyl.peer.connection.message declared as ProofOfWorkModifier and TypeFieldDescriptionprotected final ProofOfWorkAbstractMessage.proofOfWorkprotected final ProofOfWorkAbstractMessage.proofOfWorkprotected final ProofOfWorkAbstractMessage.proofOfWorkprotected final ProofOfWorkAbstractMessage.proofOfWorkprotected final ProofOfWorkAbstractMessage.proofOfWorkprotected final ProofOfWorkAbstractMessage.proofOfWorkprotected final ProofOfWorkAbstractMessage.proofOfWorkprotected final ProofOfWorkAbstractMessage.proofOfWorkprotected final ProofOfWorkAbstractMessage.proofOfWorkprotected final ProofOfWorkAbstractMessage.proofOfWorkprotected final ProofOfWorkAbstractMessage.proofOfWorkMethods in org.drasyl.peer.connection.message that return ProofOfWorkModifier and TypeMethodDescriptionMessage.getProofOfWork()Returns this message sender's proof of work.Constructors in org.drasyl.peer.connection.message with parameters of type ProofOfWorkModifierConstructorDescriptionApplicationMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, byte[] payload) Creates a new message.ApplicationMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, Map<String, String> headers, byte[] payload) Creates a new message.ApplicationMessage(MessageId id, int networkId, String userAgent, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, short hopCount, byte[] payload) ApplicationMessage(MessageId id, int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, short hopCount, byte[] payload) ErrorMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, ErrorMessage.Error error, MessageId correspondingId) Creates a new error message.IdentityMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, PeerInformation peerInformation, MessageId correspondingId) JoinMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, long joinTime) Creates a new join message.PingMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient) PongMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, MessageId correspondingId) QuitMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, QuitMessage.CloseReason reason) SignedMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, Message payload) SuccessMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, MessageId correspondingId) Creates an immutable code object.WelcomeMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, PeerInformation peerInformation, MessageId correspondingId) Creates new welcome message.WhoisMessage(int networkId, CompressedPublicKey sender, ProofOfWork proofOfWork, CompressedPublicKey recipient, PeerInformation peerInformation) -
Uses of ProofOfWork in org.drasyl.plugin.groups.client.message
Methods in org.drasyl.plugin.groups.client.message that return ProofOfWorkConstructors in org.drasyl.plugin.groups.client.message with parameters of type ProofOfWorkModifierConstructorDescriptionGroupJoinMessage(Group group, String credentials, ProofOfWork proofOfWork)