mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-14 11:15:51 +00:00
Script.ScriptType: Document enum values.
This commit is contained in:
parent
fb54451c0b
commit
f5becfbfb0
@ -58,11 +58,11 @@ public class Script {
|
||||
public enum ScriptType {
|
||||
// Do NOT change the ordering of the following definitions because their ordinals are stored in databases.
|
||||
NO_TYPE,
|
||||
P2PKH,
|
||||
PUB_KEY,
|
||||
P2SH,
|
||||
P2WPKH,
|
||||
P2WSH
|
||||
P2PKH, // pay to pubkey hash (aka pay to address)
|
||||
PUB_KEY, // pay to pubkey
|
||||
P2SH, // pay to script hash
|
||||
P2WPKH, // pay to witness pubkey hash
|
||||
P2WSH, // pay to witness script hash
|
||||
}
|
||||
|
||||
/** Flags to pass to {@link Script#correctlySpends(Transaction, long, Script, Set)}.
|
||||
|
Loading…
x
Reference in New Issue
Block a user