public class OmnilockSigner extends java.lang.Object implements ScriptSigner
| Modifier and Type | Class and Description |
|---|---|
static class |
OmnilockSigner.Configuration |
| Constructor and Description |
|---|
OmnilockSigner() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
signTransaction(Transaction transaction,
ScriptGroup scriptGroup,
Context context)
Sign the transaction for the script.
|
public boolean signTransaction(Transaction transaction, ScriptGroup scriptGroup, Context context)
ScriptSignerTransactionSigner
for each context and each matched script group.signTransaction in interface ScriptSignertransaction - The transaction to be signed.scriptGroup - TransactionSigner selects the corresponding ScriptSigner for each script group.
This selection is based on the registered ScriptSigner's provided script type and hash.context - This is passed from TransactionSigner.signTransactiontrue when the script handler has modified the transaction.