The list of confirm signatures for this transaction.
The transaction itself.
Returns the hash of the transaction used to generate the
transaction's confirmSignatures
. According to the specification,
confirmSignatures
are generated by taking the `sha256 hash of
the concatenation of:
sha256
hash of the RLP-encoded transaction.merkleRoot
of the block that includes this transaction.This method will throw an error if the wrapped transaction does not have
a blockNum
set. A transaction without a blockNum
set has not been
included in a block, and so cannot be confirmed.
The merkleRoot
of the block that includes this transaction.
Sets this ConfirmedTransaction
's confirmation signatures by
signing the result of confirmHash
with the provided privateKey
.
Note that this method sets the confirmSignatures
on the class itself
and does not return them.
This method will throw an error if the wrapped transaction does not have
a blockNum
set. A transaction without a blockNum
set has not been
included in a block, and so cannot be confirmed.
The private key to create the confirmSignatures
with.
The merkleRoot
of the block that includes this transaction.
Generated using TypeDoc
Wrapper class for a Plasma transaction and its associated
confirmSignatures
. For transactions that haven't been confirmed yet, each element of theconfirmSignatures
array will be a zero-filledBuffer
of length 65.