Index

C D E G H I M N P R S T 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

C

Challenge - Interface in io.mokamint.nonce.api
The challenge to build a deadline.
ChallengeMatchException - Exception Class in io.mokamint.nonce.api
An exception thrown when two challenges do not match.
ChallengeMatchException(String) - Constructor for exception class io.mokamint.nonce.api.ChallengeMatchException
Creates the exception.
compareByValue(Deadline) - Method in interface io.mokamint.nonce.api.Deadline
Compares the value of this deadline with that of another deadline.

D

Deadline - Interface in io.mokamint.nonce.api
A deadline derived from a nonce.
dumpInto(FileChannel, int, long, long) - Method in interface io.mokamint.nonce.api.Nonce
Dumps this nonce into the give file, as the offsetth nonce inside the file.

E

equals(Object) - Method in interface io.mokamint.nonce.api.Deadline
 
equals(Object) - Method in interface io.mokamint.nonce.api.Prolog
 

G

getChainId() - Method in interface io.mokamint.nonce.api.Prolog
Yields the chain identifier of the blockchain where the deadline is legal.
getChallenge() - Method in interface io.mokamint.nonce.api.Deadline
Yields the challenge this deadline responds to.
getExtra() - Method in interface io.mokamint.nonce.api.Prolog
Application-specific extra data in the prolog.
getGenerationSignature() - Method in interface io.mokamint.nonce.api.Challenge
Yields the generation signature used to compute the deadline.
getHashingForDeadlines() - Method in interface io.mokamint.nonce.api.Challenge
The hashing algorithm used for generating the deadline.
getHashingForGenerations() - Method in interface io.mokamint.nonce.api.Challenge
The hashing algorithm used for the generation signatures.
getMillisecondsToWait(BigInteger) - Method in interface io.mokamint.nonce.api.Deadline
Yields the milliseconds to wait for this deadline, assuming the given acceleration.
getPower() - Method in interface io.mokamint.nonce.api.Deadline
Yields the power of this deadline.
getProgressive() - Method in interface io.mokamint.nonce.api.Deadline
Yields the progressive number of the nonce of the deadline.
getProlog() - Method in interface io.mokamint.nonce.api.Deadline
Yields the prolog that was used to create the nonce from which this deadline has been generated.
getPublicKeyForSigningBlocks() - Method in interface io.mokamint.nonce.api.Prolog
Yields the public key that must be used to sign the blocks having a deadline with this prolog.
getPublicKeyForSigningBlocksBase58() - Method in interface io.mokamint.nonce.api.Prolog
Yields the public key that must be used to sign the blocks having a deadline with this prolog, in Base58 format.
getPublicKeyForSigningDeadlines() - Method in interface io.mokamint.nonce.api.Prolog
Yields the public key that miners must use to sign deadlines having this prolog.
getPublicKeyForSigningDeadlinesBase58() - Method in interface io.mokamint.nonce.api.Prolog
Yields the public key that miners must use to sign deadlines having this prolog, in Base58 format.
getScoopNumber() - Method in interface io.mokamint.nonce.api.Challenge
Yields the number of the scoop considered to compute the deadline.
getSignature() - Method in interface io.mokamint.nonce.api.Deadline
The signature of the deadline.
getSignatureForBlocks() - Method in interface io.mokamint.nonce.api.Prolog
Yields the signature algorithm that nodes must use to sign blocks having a deadline with this prolog, with the key getPublicKeyForSigningBlocks().
getSignatureForDeadlines() - Method in interface io.mokamint.nonce.api.Prolog
Yields the signature algorithm that miners must use to sign deadlines having this prolog, with the key getPublicKeyForSigningDeadlines().
getValue() - Method in interface io.mokamint.nonce.api.Deadline
Yields the value of the deadline.
getValueFor(Challenge) - Method in interface io.mokamint.nonce.api.Nonce
Yields the value of this nonce, for the given challenge.

H

hashCode() - Method in interface io.mokamint.nonce.api.Deadline
 
hashCode() - Method in interface io.mokamint.nonce.api.Prolog
 

I

intoWithoutConfigurationData(MarshallingContext) - Method in interface io.mokamint.nonce.api.Challenge
Marshals this object into a given stream.
intoWithoutConfigurationData(MarshallingContext) - Method in interface io.mokamint.nonce.api.Deadline
Marshals this object into a given stream.
intoWithoutConfigurationData(MarshallingContext) - Method in interface io.mokamint.nonce.api.Prolog
Marshals this object into a given stream.
io.mokamint.nonce.api - module io.mokamint.nonce.api
This module defines the API of the deadlines and the nonces.
io.mokamint.nonce.api - package io.mokamint.nonce.api
 
isValid() - Method in interface io.mokamint.nonce.api.Deadline
Determines if this deadline is valid, that is, it is the deadline derived from the corresponding nonce.

M

MAX_PROLOG_SIZE - Static variable in interface io.mokamint.nonce.api.Prolog
The maximal length of the prolog, in bytes (inclusive).

N

Nonce - Interface in io.mokamint.nonce.api
A nonce.

P

Prolog - Interface in io.mokamint.nonce.api
The prolog of a deadline.

R

requireMatches(Challenge) - Method in interface io.mokamint.nonce.api.Challenge
Checks if this challenge matches the given one.

S

SCOOPS_PER_NONCE - Static variable in interface io.mokamint.nonce.api.Challenge
The number of scoops in a nonce.
signatureIsValid() - Method in interface io.mokamint.nonce.api.Deadline
Determines if the signature of this deadline is valid, that is, it is a correct signature of this deadline with the key in the prolog.

T

toString() - Method in interface io.mokamint.nonce.api.Challenge
Yields a string representation of this challenge.
toString() - Method in interface io.mokamint.nonce.api.Deadline
Yields a string representation of this deadline.
toString() - Method in interface io.mokamint.nonce.api.Prolog
 
C D E G H I M N P R S T 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form