public class InstructionV1 extends Instruction
delete, invoke, signatures, spawn| Constructor and Description |
|---|
InstructionV1(ByzCoinProto.Instruction proto)
Create an instruction from the previous version
|
InstructionV1(Instruction instr)
Create an instruction from the previous version
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
hash()
This method computes the sha256 hash of the instruction.
|
action, deriveId, getDelete, getInstanceId, getInvoke, getSignatures, getSignerCounters, getSignerIdentities, getSpawn, hash, setSignatures, setSignerCounters, setSignerIdentities, signWith, toProto, toStringpublic InstructionV1(Instruction instr)
instr - The instruction to upgradepublic InstructionV1(ByzCoinProto.Instruction proto)
proto - The protobuf-encoded instruction to upgradepublic byte[] hash()
Instructionhash in class InstructionCopyright © 2019. All rights reserved.