Package org.bitcoinj.core
Class BlockLocator
java.lang.Object
org.bitcoinj.core.BlockLocator
Represents Block Locator in GetBlocks and GetHeaders messages
- 
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.BlockLocator(List<Sha256Hash> hashes) Creates a Block locator with defined list of hashes. - 
Method Summary
 
- 
Constructor Details
- 
BlockLocator
Deprecated. - 
BlockLocator
Creates a Block locator with defined list of hashes. 
 - 
 - 
Method Details
- 
add
Deprecated.Add aSha256Hashto a newly created block locator. - 
size
public int size()Returns the number of hashes in this block locator. - 
getHashes
Returns List of Block locator hashes. - 
get
Get hash by index from this block locator. - 
toString
 - 
hashCode
public int hashCode() - 
equals
 
 - 
 
BlockLocator(List)