Package org.bitcoinj.core
Class InventoryItem
- java.lang.Object
-
- org.bitcoinj.core.InventoryItem
-
public class InventoryItem extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InventoryItem.Type
-
Field Summary
Fields Modifier and Type Field Description Sha256Hash
hash
InventoryItem.Type
type
-
Constructor Summary
Constructors Constructor Description InventoryItem(Block block)
InventoryItem(InventoryItem.Type type, Sha256Hash hash)
InventoryItem(Transaction tx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
type
public final InventoryItem.Type type
-
hash
public final Sha256Hash hash
-
-
Constructor Detail
-
InventoryItem
public InventoryItem(InventoryItem.Type type, Sha256Hash hash)
-
InventoryItem
public InventoryItem(Block block)
-
InventoryItem
public InventoryItem(Transaction tx)
-
-