public class SignedBlockHeader extends BlockHeader implements ByteTransformable
| Modifier and Type | Field and Description |
|---|---|
protected String |
supernodeSignature |
extensions, previous, supernode, timestamp, transactionMerkleRoot| Constructor and Description |
|---|
SignedBlockHeader() |
| Modifier and Type | Method and Description |
|---|---|
eu.bittrade.crypto.core.ECKey.ECDSASignature |
getSupernodeSignature() |
void |
setSupernodeSignature(String supernodeSignature) |
byte[] |
toByteArray()
Covert the operation into a byte array.
|
String |
toString() |
getExtensions, getPrevious, getSupernode, getTimestamp, getTransactionMerkleRoot, setExtensions, setPrevious, setSupernode, setTimestamp, setTransactionMerkleRootprotected String supernodeSignature
public eu.bittrade.crypto.core.ECKey.ECDSASignature getSupernodeSignature()
public void setSupernodeSignature(String supernodeSignature)
supernodeSignature - the supernodeSignature to setpublic byte[] toByteArray()
throws BeowulfInvalidTransactionException
ByteTransformabletoByteArray in interface ByteTransformabletoByteArray in class BlockHeaderBeowulfInvalidTransactionException - If there was a problem while transforming the transaction
into a byte array.public String toString()
toString in class BlockHeaderCopyright © 2019. All rights reserved.