Uses of Class
com.google.bitcoin.core.ScriptException

Packages that use ScriptException
com.google.bitcoin.core   
 

Uses of ScriptException in com.google.bitcoin.core
 

Methods in com.google.bitcoin.core that throw ScriptException
 boolean BlockChain.add(Block block)
          Processes a received block and tries to add it to the chain.
 Address TransactionInput.getFromAddress()
          Convenience method that returns the from address of this input by parsing the scriptSig.
 Address Script.getFromAddress()
          Convenience wrapper around getPubKey.
 byte[] Script.getPubKey()
          If a program has two data buffers (constants) and nothing else, the second one is returned.
 byte[] Script.getPubKeyHash()
          If a program matches the standard template DUP HASH160 EQUALVERIFY CHECKSIG then this function retrieves the third element, otherwise it throws a ScriptException.
 Script TransactionOutput.getScriptPubKey()
           
 Script TransactionInput.getScriptSig()
          Returns the input script.
 Address Script.getToAddress()
          Gets the destination address from this script, if it's in the required form (see getPubKey).
 BigInteger Transaction.getValueSentFromMe(Wallet wallet)
          Calculates the sum of the inputs that are spending coins with keys in the wallet.
static Script Script.join(Script a, Script b)
          Concatenates two scripts to form a new one.
 boolean Script.run(Transaction context)
          Runs the script with the given Transaction as the "context".
 void Transaction.signInputs(Transaction.SigHash hashType, Wallet wallet)
          Once a transaction has some inputs and outputs added, the signatures in the inputs can be calculated.
 boolean Transaction.verifyInput(int inputIndex, Transaction connectedTx)
          Given a named input and the transaction output it connects to, runs the script formed from the concatenation of the input and output scripts, returning true if the link is valid.
 

Constructors in com.google.bitcoin.core that throw ScriptException
Script(NetworkParameters params, byte[] programBytes, int offset, int length)
          Construct a Script using the given network parameters and a range of the programBytes array.
 



Copyright © 2011. All Rights Reserved.