Package org.bitcoinj.wallet
Class RedeemData
java.lang.Object
org.bitcoinj.wallet.RedeemData
This class aggregates data required to spend transaction output.
For P2PKH and P2PK transactions it will have only a single key and CHECKSIG program as redeemScript.
For multisignature transactions there will be multiple keys one of which will be a full key and the rest are watch only,
redeem script will be a CHECKMULTISIG program. Keys will be sorted in the same order they appear in
a program (lexicographical order).
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the first key that has private bytesstatic RedeemData
static RedeemData
Creates RedeemData for P2PKH, P2WPKH or P2PK input.toString()