Package ch.bitagent.bitcoin.lib.network
Class GetHeadersMessage
- java.lang.Object
-
- ch.bitagent.bitcoin.lib.network.GetHeadersMessage
-
-
Constructor Summary
Constructors Constructor Description GetHeadersMessage(Int version, Int numHashes, byte[] startBlock, byte[] endBlock)Constructor for GetHeadersMessage.
-
-
-
Field Detail
-
COMMAND
public static final String COMMAND
ConstantCOMMAND="getheaders"- See Also:
- Constant Field Values
-
-
Method Detail
-
getCommand
public byte[] getCommand()
getCommand.
- Specified by:
getCommandin interfaceMessage- Returns:
- an array of
byteobjects
-
-