public class ClientTransaction extends Object
| Constructor and Description |
|---|
ClientTransaction(ByzCoinProto.ClientTransaction proto) |
ClientTransaction(List<Instruction> instructions)
Constructor for the client transaction.
|
| Modifier and Type | Method and Description |
|---|---|
ClientTransactionId |
getId() |
List<Instruction> |
getInstructions()
Getter for the instructions.
|
void |
signWith(List<Signer> signers)
This function signs all the instructions in the transaction using the same set of
signers.
|
ByzCoinProto.ClientTransaction |
toProto()
Converts this object to the protobuf representation.
|
public ClientTransaction(List<Instruction> instructions)
instructions - The list of instruction that should be executed atomically.public ClientTransaction(ByzCoinProto.ClientTransaction proto)
public List<Instruction> getInstructions()
public ByzCoinProto.ClientTransaction toProto()
public void signWith(List<Signer> signers) throws CothorityCryptoException
signers - is the list of signers who signs all instructionsCothorityCryptoExceptionpublic ClientTransactionId getId()
Copyright © 2019. All rights reserved.