Package | Description |
---|---|
org.bitcoinj.core |
The core package contains classes for network messages like
Block and
Transaction , peer connectivity via PeerGroup ,
and block chain management. |
Modifier and Type | Method and Description |
---|---|
Transaction.Purpose |
Transaction.getPurpose()
Returns the purpose for which this transaction was created.
|
static Transaction.Purpose |
Transaction.Purpose.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.Purpose[] |
Transaction.Purpose.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Transaction.setPurpose(Transaction.Purpose purpose)
Marks the transaction as being created for the given purpose.
|
Copyright © 2016. All rights reserved.