public class TxRequestSerializedType extends Object
Value object to provide the following to high level messages:
Signatures are provided on a per-input basis
Constructor and Description |
---|
TxRequestSerializedType(boolean hasSerializedTx,
byte[] serializedTx,
boolean hasSignatureIndex,
int signatureIndex,
boolean hasSignature,
byte[] signature) |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<byte[]> |
getSerializedTx() |
com.google.common.base.Optional<byte[]> |
getSignature() |
com.google.common.base.Optional<Integer> |
getSignatureIndex() |
String |
toString() |
public TxRequestSerializedType(boolean hasSerializedTx, byte[] serializedTx, boolean hasSignatureIndex, int signatureIndex, boolean hasSignature, byte[] signature)
public com.google.common.base.Optional<byte[]> getSerializedTx()
public com.google.common.base.Optional<Integer> getSignatureIndex()
public com.google.common.base.Optional<byte[]> getSignature()
Copyright © 2013–2019 Bitcoin Solutions Ltd. All rights reserved.