A B C D E G H I K L M N P Q R S T V

G

genBytes() - Method in class me.edwards.des.block.Block
Populates Block.headerBytes with this Block's data.
generateBlock() - Method in class me.edwards.des.Node
Attempts to generate a new Block from a limited number of known, validated Ballots.
generateBlockHash(byte[], int) - Static method in class me.edwards.des.util.HashUtil
Generates a Block hash from a byte array representing a Block Header.
generateDatabase(String, int) - Static method in class me.edwards.des.demo.Submitter
Generates a database of key pairs for demonstration purposes.
generateHash(byte[]) - Static method in class me.edwards.des.util.HashUtil
Generates a hash from given data as an array of bytes.
generateLeadingZeros(String) - Static method in class me.edwards.des.util.HashUtil
Formats a hash string with the correct number of leading zeros (64 digits by default).
generateLeadingZeros(String, int) - Static method in class me.edwards.des.util.HashUtil
Formats a hash string with the correct number of leading zeros.
generateMerkleRoot(String, String) - Static method in class me.edwards.des.util.HashUtil
Generates a Merkle Root hash based on two other Merkle Roots.
generateProof(byte[], int) - Static method in class me.edwards.des.util.HashUtil
Generates the Proof of Work for a given Block using the Block Header.
genProof() - Method in class me.edwards.des.block.Block
Generates a Proof of Work for this block and validates the Block's contents.
get(String) - Method in class me.edwards.des.block.BlockChain
Returns the Block in this BlockChain with the specified hash.
getAddress() - Method in class me.edwards.des.net.Connection
Returns the destination address of this connection.
getBallot() - Method in class me.edwards.des.net.packet.PacketBallot
Returns the Ballot transferred by this Packet.
getBallots() - Method in class me.edwards.des.block.Block
Returns a list of the Ballots contained by this Block.
getBinary() - Method in class me.edwards.des.net.packet.Packet
Returns the binary payload of this Packet as a byte array.
getBinary() - Method in class me.edwards.des.net.packet.PacketAddr
 
getBinary() - Method in class me.edwards.des.net.packet.PacketBallot
 
getBinary() - Method in class me.edwards.des.net.packet.PacketBlock
 
getBinary() - Method in class me.edwards.des.net.packet.PacketGetAddr
 
getBinary() - Method in class me.edwards.des.net.packet.PacketGetBlocks
 
getBinary() - Method in class me.edwards.des.net.packet.PacketGetData
 
getBinary() - Method in class me.edwards.des.net.packet.PacketInv
 
getBinary() - Method in class me.edwards.des.net.packet.PacketNotFound
 
getBinary() - Method in class me.edwards.des.net.packet.PacketPing
 
getBinary() - Method in class me.edwards.des.net.packet.PacketPong
 
getBinary() - Method in class me.edwards.des.net.packet.PacketVerack
 
getBinary() - Method in class me.edwards.des.net.packet.PacketVersion
 
getBlock() - Method in class me.edwards.des.block.BlockChain.Node
Returns the Block contained in this node.
getBlock() - Method in class me.edwards.des.net.packet.PacketBlock
Returns the Block transferred by this Packet
getBytes() - Method in class me.edwards.des.block.Ballot
Returns the Ballot in binary format as a byte array.
getBytes() - Method in class me.edwards.des.block.Block
Returns the Block in binary format as a byte array.
getBytes() - Method in class me.edwards.des.block.BlockChain
Returns the BlockChain in binary format as a chunk array.
getBytes() - Method in class me.edwards.des.block.Vote
Returns this vote in binary format as a byte array.
getConnection(String) - Method in class me.edwards.des.Node
Returns the connection with the specified name from the current list of peers of this Node.
getConnectionStatus() - Method in class me.edwards.des.net.Connection
Returns the current connection status.

CONNECTION_NODE_ONLY A connection was initiated by this node CONNECTION_PEER_ONLY A connection was initiated by a peer node CONNECTION_BOTH The connection is agreed upon by both nodes
getCurrentTarget() - Method in class me.edwards.des.block.BlockChain
Returns the current target of the BlockChain.
getDifficulty(int) - Static method in class me.edwards.des.block.Block
Returns the difficulty of the specified target.

The difficulty is calculated by DIFFICULTY = MAXIMUM_TARGET / SPECIFIED_TARGET

This method uses exponent reduction to more accurately calculate the difficulty of a target.
getHash() - Method in class me.edwards.des.block.Block
Returns the hash of the header for this Block.
getHash() - Method in class me.edwards.des.net.packet.PacketGetBlocks
Returns the oldest hash of the Block requested by this packet.
getHash(int) - Method in class me.edwards.des.net.packet.PacketGetData
Returns the hash of the vector at the specified index.
getHash(int) - Method in class me.edwards.des.net.packet.PacketInv
Returns the hash of the vector at the specified index.
getHash() - Method in class me.edwards.des.net.packet.PacketNotFound
Returns the hash of the inventory vector.
getHeight() - Method in class me.edwards.des.block.BlockChain.Node
Returns the height of this node in the BlockChain.
getHostName() - Method in class me.edwards.des.net.Connection
Returns this connection's host name in the format "/ADDRESS:PORT".
getID() - Method in class me.edwards.des.block.Ballot
Returns this Ballot's (user) UUID
getID() - Method in class me.edwards.des.block.Vote
Gets the vote ID of the office or referendum being voted on.
getID() - Method in class me.edwards.des.net.packet.Packet
Returns this Packet's ID.
getID() - Method in enum me.edwards.des.net.packet.Packet.PacketTypes
Returns the Packet Type ID
getKey(String) - Static method in class me.edwards.des.demo.Submitter
Returns the corresponding ECDSA Public Key for the specified UUID.
getMedianTime(String) - Method in class me.edwards.des.block.BlockChain
Returns the Median Time of the last 10 (or available) Blocks.
getMerkleRoot(int, int) - Method in class me.edwards.des.block.Block
Generates the Merkle Root of the list of Ballots contained in this Block.
getName() - Method in class me.edwards.des.net.Connection
Returns this connection's common name (if any).
getNode(String) - Method in class me.edwards.des.block.BlockChain
Returns the node in this BlockChain containing the Block with the specified hash.
getParent() - Method in class me.edwards.des.block.BlockChain.Node
Returns the parent node.
getPeers() - Method in class me.edwards.des.net.packet.PacketAddr
Returns this Packet's peer list
getPeers() - Method in class me.edwards.des.Node
Returns a list of this Node's known peers.
getPing() - Method in class me.edwards.des.net.packet.PacketPing
Returns the Nonce for checking ping.
getPing() - Method in class me.edwards.des.net.packet.PacketPong
Returns the Nonce for checking pong.
getPort() - Method in class me.edwards.des.net.Connection
Returns the destination port of this connection.
getPort() - Method in class me.edwards.des.net.packet.PacketVersion
Return the sender Node's port.
getPrevHash() - Method in class me.edwards.des.block.Block
Returns the hash for this Block's parent.
getRoot() - Method in class me.edwards.des.block.Ballot
Returns the root hash of this ballot.
getSignature() - Method in class me.edwards.des.block.Ballot
Returns this Ballot's signature.
getSignatureRoot() - Method in class me.edwards.des.block.Ballot
Returns the signature root hash of this ballot.
getSize() - Method in class me.edwards.des.block.BlockChain
Returns the number of Blocks in the longest branch in this BlockChain
getSize() - Method in class me.edwards.des.net.packet.PacketGetData
Returns the number of vectors in this Packet.
getSize() - Method in class me.edwards.des.net.packet.PacketInv
Returns the number of vectors in this Packet
getSocket() - Method in class me.edwards.des.net.Connection
Returns the socket used by this connection.
getTarget() - Method in class me.edwards.des.block.Block
Returns the target (in Short-Format) of this Block.
getTarget(int) - Static method in class me.edwards.des.block.Block
Returns the specified target as a BigInteger.
getTarget(BigInteger) - Static method in class me.edwards.des.block.Block
Returns the specified target in Short-Format.
getTime() - Method in class me.edwards.des.block.Block
Returns the time when this Block was mined.
getTop() - Method in class me.edwards.des.block.BlockChain
Returns the Block on the top of the longest branch in this BlockChain.
getType(int) - Method in class me.edwards.des.net.packet.PacketGetData
Returns the type of the vector at the specified index.
getType(int) - Method in class me.edwards.des.net.packet.PacketInv
Returns the type of the vector at the specified index.
getType() - Method in class me.edwards.des.net.packet.PacketNotFound
Returns the type of the inventory vector.
getVersion() - Method in class me.edwards.des.net.packet.PacketVersion
Returns the Version of the sender Node.
getVote() - Method in class me.edwards.des.block.Vote
Returns the vote content.
getVotes() - Method in class me.edwards.des.block.Ballot
Returns the Votes contained in this Ballot as an ArrayList.
GLOBAL - Static variable in class me.edwards.des.Launcher
The Global logger for DES (Used by Launcher and utilities)

A B C D E G H I K L M N P Q R S T V