Uses of Class
ch.bitagent.bitcoin.lib.script.Script
-
Packages that use Script Package Description ch.bitagent.bitcoin.lib.script ch.bitagent.bitcoin.lib.tx ch.bitagent.bitcoin.lib.wallet -
-
Uses of Script in ch.bitagent.bitcoin.lib.script
Methods in ch.bitagent.bitcoin.lib.script that return Script Modifier and Type Method Description ScriptScript. add(Script other)add.static ScriptScript. p2pkhScript(byte[] h160)Takes a hash160 and returns the p2pkh ScriptPubKeystatic ScriptScript. p2pkhScriptOp20(byte[] h160)https://learnmeabitcoin.com/technical/script/p2pkh/static ScriptScript. p2shScript(byte[] h160)Takes a hash160 and returns the p2sh ScriptPubKeystatic ScriptScript. p2shScriptOp20(byte[] h160)https://learnmeabitcoin.com/technical/script/p2sh/static ScriptScript. p2wpkhScript(byte[] h160)Takes a hash160 and returns the p2wpkh ScriptPubKeystatic ScriptScript. p2wpkhScriptOp20(byte[] h160)https://learnmeabitcoin.com/technical/script/p2wpkh/static ScriptScript. parse(ByteArrayInputStream stream)parse.Methods in ch.bitagent.bitcoin.lib.script with parameters of type Script Modifier and Type Method Description ScriptScript. add(Script other)add.booleanScript. evaluate(Int z, Script witness)evaluate. -
Uses of Script in ch.bitagent.bitcoin.lib.tx
Methods in ch.bitagent.bitcoin.lib.tx that return Script Modifier and Type Method Description ScriptTxOut. getScriptPubkey()Getter for the fieldscriptPubkey.ScriptTxIn. getScriptSig()Getter for the fieldscriptSig.ScriptTxIn. getWitness()Getter for the fieldwitness.ScriptTxIn. scriptPubkey(Boolean testnet)Get the ScriptPubKey by looking up the tx hash Returns a Script objectMethods in ch.bitagent.bitcoin.lib.tx with parameters of type Script Modifier and Type Method Description voidTxIn. setScriptSig(Script scriptSig)Setter for the fieldscriptSig.voidTxIn. setWitness(Script witness)Setter for the fieldwitness.IntTx. sigHash(int inputIndex, Script redeemScript)Returns the integer representation of the hash that needs to get signed for index input_indexIntTx. sigHashBip143(int inputIndex, Script redeemScript, Script witnessScript)Returns the integer representation of the hash that needs to get signed for index input_indexConstructors in ch.bitagent.bitcoin.lib.tx with parameters of type Script Constructor Description TxIn(Int prevTx, Int prevIndex, Script scriptSig, Int sequence)Constructor for TxIn.TxOut(Int amount, Script scriptPubkey)Constructor for TxOut. -
Uses of Script in ch.bitagent.bitcoin.lib.wallet
Methods in ch.bitagent.bitcoin.lib.wallet that return Script Modifier and Type Method Description ScriptAddress. scriptPubkey()
-