public class Transaction.Input extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
outputIndex
used output's index in the previous transaction
|
byte[] |
prevTxHash
hash of the Transaction whose output is being used
|
byte[] |
signature
the signature produced to check validity
|
| Constructor and Description |
|---|
Input(byte[] prevHash,
int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSignature(byte[] sig) |