PP2LockBuilder class

The PP2 Lock builder is positioned as the third output of the token transaction. It's primary purpose is to bridge the connection between the Sha256 output in fourth position, and the Inductive Proof in PP1 (second token output). PP2 will assert that all the witness outpoints spend from this transaction. In order to do so it will perform an in-script rebuild of it's Sighash PreImage.

Constructor Parameters :

fundingOutpoint - The outpoint that will fund the Witness Transaction witnessChangePKH - The Pubkey Hash to which the Witness output will be locked changeAmount - The satoshi amount locked by the Witness' output

Constructors

PP2LockBuilder(List<int> _fundingOutpoint, List<int> _witnessChangePKH, int _changeAmount)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
script ↔ SVScript?
getter/setter pairinherited
template String
getter/setter pair

Methods

getScriptPubkey() → SVScript
This method must be implemented by all subclasses. It must return a valid locking script a.k.a scriptPubkey
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(SVScript script) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited