test_class.declarator: UNITTEST = UnitTestParams.get()
test_class.modifier: private static final
test_class.original_string: private static final NetworkParameters UNITTEST = UnitTestParams.get();
test_class.type: NetworkParameters
test_class.var_name: UNITTEST
test_class.declarator: ADDRESS = LegacyAddress.fromKey(UNITTEST, new ECKey())
test_class.modifier: private static final
test_class.original_string: private static final Address ADDRESS = LegacyAddress.fromKey(UNITTEST, new ECKey());
test_class.type: Address
test_class.var_name: ADDRESS
test_class.declarator: tx
test_class.modifier: private
test_class.original_string: private Transaction tx;
test_class.type: Transaction
test_class.var_name: tx
test_class.file: core/src/test/java/org/ulordj/core/TransactionTest.java
test_class.identifier: TransactionTest
test_case.body: @Test
      public void testCoinbaseHeightCheckWithDamagedScript() throws VerificationException {
          // Coinbase transaction from block 224,430
          final byte[] transactionBytes = HEX.decode(
              "01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff3b03ae6c0300044bd7031a0400000000522cfabe6d6d00000000000000b7b8bf0100000068692066726f6d20706f6f6c7365727665726aac1eeeed88ffffffff01e0587597000000001976a91421c0d001728b3feaf115515b7c135e779e9f442f88ac00000000");
          final int height = 224430;
          final Transaction transaction = UNITTEST.getDefaultSerializer().makeTransaction(transactionBytes);
          transaction.checkCoinBaseHeight(height);
      }
test_case.class_method_signature: TransactionTest.testCoinbaseHeightCheckWithDamagedScript()
test_case.full_signature: @Test public void testCoinbaseHeightCheckWithDamagedScript()
test_case.identifier: testCoinbaseHeightCheckWithDamagedScript
test_case.invocations: decode makeTransaction getDefaultSerializer checkCoinBaseHeight
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCoinbaseHeightCheckWithDamagedScript()
focal_class.declarator: SORT_TX_BY_UPDATE_TIME = new Comparator<Transaction>() {
          @Override
          public int compare(final Transaction tx1, final Transaction tx2) {
              final long time1 = tx1.getUpdateTime().getTime();
              final long time2 = tx2.getUpdateTime().getTime();
              final int updateTimeComparison = -(Longs.compare(time1, time2));
              //If time1==time2, compare by tx hash to make comparator consistent with equals
              return updateTimeComparison != 0 ? updateTimeComparison : tx1.getHash().compareTo(tx2.getHash());
          }
      }
focal_class.modifier: public static final
focal_class.original_string: public static final Comparator<Transaction> SORT_TX_BY_UPDATE_TIME = new Comparator<Transaction>() {
          @Override
          public int compare(final Transaction tx1, final Transaction tx2) {
              final long time1 = tx1.getUpdateTime().getTime();
              final long time2 = tx2.getUpdateTime().getTime();
              final int updateTimeComparison = -(Longs.compare(time1, time2));
              //If time1==time2, compare by tx hash to make comparator consistent with equals
              return updateTimeComparison != 0 ? updateTimeComparison : tx1.getHash().compareTo(tx2.getHash());
          }
      };
focal_class.type: Comparator<Transaction>
focal_class.var_name: SORT_TX_BY_UPDATE_TIME
focal_class.declarator: SORT_TX_BY_HEIGHT = new Comparator<Transaction>() {
          @Override
          public int compare(final Transaction tx1, final Transaction tx2) {
              final TransactionConfidence confidence1 = tx1.getConfidence();
              final int height1 = confidence1.getConfidenceType() == ConfidenceType.BUILDING
                      ? confidence1.getAppearedAtChainHeight() : Block.BLOCK_HEIGHT_UNKNOWN;
              final TransactionConfidence confidence2 = tx2.getConfidence();
              final int height2 = confidence2.getConfidenceType() == ConfidenceType.BUILDING
                      ? confidence2.getAppearedAtChainHeight() : Block.BLOCK_HEIGHT_UNKNOWN;
              final int heightComparison = -(Ints.compare(height1, height2));
              //If height1==height2, compare by tx hash to make comparator consistent with equals
              return heightComparison != 0 ? heightComparison : tx1.getHash().compareTo(tx2.getHash());
          }
      }
focal_class.modifier: public static final
focal_class.original_string: public static final Comparator<Transaction> SORT_TX_BY_HEIGHT = new Comparator<Transaction>() {
          @Override
          public int compare(final Transaction tx1, final Transaction tx2) {
              final TransactionConfidence confidence1 = tx1.getConfidence();
              final int height1 = confidence1.getConfidenceType() == ConfidenceType.BUILDING
                      ? confidence1.getAppearedAtChainHeight() : Block.BLOCK_HEIGHT_UNKNOWN;
              final TransactionConfidence confidence2 = tx2.getConfidence();
              final int height2 = confidence2.getConfidenceType() == ConfidenceType.BUILDING
                      ? confidence2.getAppearedAtChainHeight() : Block.BLOCK_HEIGHT_UNKNOWN;
              final int heightComparison = -(Ints.compare(height1, height2));
              //If height1==height2, compare by tx hash to make comparator consistent with equals
              return heightComparison != 0 ? heightComparison : tx1.getHash().compareTo(tx2.getHash());
          }
      };
focal_class.type: Comparator<Transaction>
focal_class.var_name: SORT_TX_BY_HEIGHT
focal_class.declarator: log = LoggerFactory.getLogger(Transaction.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(Transaction.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: LOCKTIME_THRESHOLD = 500000000
focal_class.modifier: public static final
focal_class.original_string: public static final int LOCKTIME_THRESHOLD = 500000000;
focal_class.type: int
focal_class.var_name: LOCKTIME_THRESHOLD
focal_class.declarator: LOCKTIME_THRESHOLD_BIG = BigInteger.valueOf(LOCKTIME_THRESHOLD)
focal_class.modifier: public static final
focal_class.original_string: public static final BigInteger LOCKTIME_THRESHOLD_BIG = BigInteger.valueOf(LOCKTIME_THRESHOLD);
focal_class.type: BigInteger
focal_class.var_name: LOCKTIME_THRESHOLD_BIG
focal_class.declarator: MAX_STANDARD_TX_SIZE = 100000
focal_class.modifier: public static final
focal_class.original_string: public static final int MAX_STANDARD_TX_SIZE = 100000;
focal_class.type: int
focal_class.var_name: MAX_STANDARD_TX_SIZE
focal_class.declarator: REFERENCE_DEFAULT_MIN_TX_FEE = Coin.valueOf(5000)
focal_class.modifier: public static final
focal_class.original_string: public static final Coin REFERENCE_DEFAULT_MIN_TX_FEE = Coin.valueOf(5000);
focal_class.type: Coin
focal_class.var_name: REFERENCE_DEFAULT_MIN_TX_FEE
focal_class.declarator: DEFAULT_TX_FEE = Coin.valueOf(50000)
focal_class.modifier: public static final
focal_class.original_string: public static final Coin DEFAULT_TX_FEE = Coin.valueOf(50000);
focal_class.type: Coin
focal_class.var_name: DEFAULT_TX_FEE
focal_class.declarator: MIN_NONDUST_OUTPUT = Coin.valueOf(2730)
focal_class.modifier: public static final
focal_class.original_string: public static final Coin MIN_NONDUST_OUTPUT = Coin.valueOf(2730);
focal_class.type: Coin
focal_class.var_name: MIN_NONDUST_OUTPUT
focal_class.declarator: MAX_INITIAL_INPUTS_OUTPUTS_SIZE = 20
focal_class.modifier: public static final
focal_class.original_string: public static final int MAX_INITIAL_INPUTS_OUTPUTS_SIZE = 20;
focal_class.type: int
focal_class.var_name: MAX_INITIAL_INPUTS_OUTPUTS_SIZE
focal_class.declarator: version
focal_class.modifier: private
focal_class.original_string: private long version;
focal_class.type: long
focal_class.var_name: version
focal_class.declarator: inputs
focal_class.modifier: private
focal_class.original_string: private ArrayList<TransactionInput> inputs;
focal_class.type: ArrayList<TransactionInput>
focal_class.var_name: inputs
focal_class.declarator: outputs
focal_class.modifier: private
focal_class.original_string: private ArrayList<TransactionOutput> outputs;
focal_class.type: ArrayList<TransactionOutput>
focal_class.var_name: outputs
focal_class.declarator: lockTime
focal_class.modifier: private
focal_class.original_string: private long lockTime;
focal_class.type: long
focal_class.var_name: lockTime
focal_class.declarator: updatedAt
focal_class.modifier: private
focal_class.original_string: private Date updatedAt;
focal_class.type: Date
focal_class.var_name: updatedAt
focal_class.declarator: hash
focal_class.modifier: private
focal_class.original_string: private Sha256Hash hash;
focal_class.type: Sha256Hash
focal_class.var_name: hash
focal_class.declarator: confidence
focal_class.modifier: @Nullable private
focal_class.original_string: @Nullable private TransactionConfidence confidence;
focal_class.type: TransactionConfidence
focal_class.var_name: confidence
focal_class.declarator: appearsInHashes
focal_class.modifier: private
focal_class.original_string: private Map<Sha256Hash, Integer> appearsInHashes;
focal_class.type: Map<Sha256Hash, Integer>
focal_class.var_name: appearsInHashes
focal_class.declarator: optimalEncodingMessageSize
focal_class.modifier: private
focal_class.original_string: private int optimalEncodingMessageSize;
focal_class.type: int
focal_class.var_name: optimalEncodingMessageSize
focal_class.declarator: purpose = Purpose.UNKNOWN
focal_class.modifier: private
focal_class.original_string: private Purpose purpose = Purpose.UNKNOWN;
focal_class.type: Purpose
focal_class.var_name: purpose
focal_class.declarator: exchangeRate
focal_class.modifier: @Nullable
      private
focal_class.original_string: @Nullable
      private ExchangeRate exchangeRate;
focal_class.type: ExchangeRate
focal_class.var_name: exchangeRate
focal_class.declarator: memo
focal_class.modifier: @Nullable
      private
focal_class.original_string: @Nullable
      private String memo;
focal_class.type: String
focal_class.var_name: memo
focal_class.declarator: cachedValue
focal_class.modifier: @Nullable private
focal_class.original_string: @Nullable private Coin cachedValue;
focal_class.type: Coin
focal_class.var_name: cachedValue
focal_class.declarator: cachedForBag
focal_class.modifier: @Nullable private
focal_class.original_string: @Nullable private TransactionBag cachedForBag;
focal_class.type: TransactionBag
focal_class.var_name: cachedForBag
focal_class.declarator: SIGHASH_ANYONECANPAY_VALUE = (byte) 0x80
focal_class.modifier: public static final
focal_class.original_string: public static final byte SIGHASH_ANYONECANPAY_VALUE = (byte) 0x80;
focal_class.type: byte
focal_class.var_name: SIGHASH_ANYONECANPAY_VALUE
focal_class.file: core/src/main/java/org/ulordj/core/Transaction.java
focal_class.identifier: Transaction
focal_class.class_method_signature: Transaction.Transaction(NetworkParameters params)
focal_class.full_signature: public  Transaction(NetworkParameters params)
focal_class.identifier: Transaction
focal_class.modifiers: public
focal_class.parameters: (NetworkParameters params)
focal_class.signature:  Transaction(NetworkParameters params)
focal_class.class_method_signature: Transaction.Transaction(NetworkParameters params, byte[] payloadBytes)
focal_class.full_signature: public  Transaction(NetworkParameters params, byte[] payloadBytes)
focal_class.identifier: Transaction
focal_class.modifiers: public
focal_class.parameters: (NetworkParameters params, byte[] payloadBytes)
focal_class.signature:  Transaction(NetworkParameters params, byte[] payloadBytes)
focal_class.class_method_signature: Transaction.Transaction(NetworkParameters params, byte[] payload, int offset)
focal_class.full_signature: public  Transaction(NetworkParameters params, byte[] payload, int offset)
focal_class.identifier: Transaction
focal_class.modifiers: public
focal_class.parameters: (NetworkParameters params, byte[] payload, int offset)
focal_class.signature:  Transaction(NetworkParameters params, byte[] payload, int offset)
focal_class.class_method_signature: Transaction.Transaction(NetworkParameters params, byte[] payload, int offset, @Nullable Message parent, MessageSerializer setSerializer, int length)
focal_class.full_signature: public  Transaction(NetworkParameters params, byte[] payload, int offset, @Nullable Message parent, MessageSerializer setSerializer, int length)
focal_class.identifier: Transaction
focal_class.modifiers: public
focal_class.parameters: (NetworkParameters params, byte[] payload, int offset, @Nullable Message parent, MessageSerializer setSerializer, int length)
focal_class.signature:  Transaction(NetworkParameters params, byte[] payload, int offset, @Nullable Message parent, MessageSerializer setSerializer, int length)
focal_class.class_method_signature: Transaction.Transaction(NetworkParameters params, byte[] payload, @Nullable Message parent, MessageSerializer setSerializer, int length)
focal_class.full_signature: public  Transaction(NetworkParameters params, byte[] payload, @Nullable Message parent, MessageSerializer setSerializer, int length)
focal_class.identifier: Transaction
focal_class.modifiers: public
focal_class.parameters: (NetworkParameters params, byte[] payload, @Nullable Message parent, MessageSerializer setSerializer, int length)
focal_class.signature:  Transaction(NetworkParameters params, byte[] payload, @Nullable Message parent, MessageSerializer setSerializer, int length)
focal_class.class_method_signature: Transaction.getHash()
focal_class.full_signature: @Override public Sha256Hash getHash()
focal_class.identifier: getHash
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Sha256Hash
focal_class.signature: Sha256Hash getHash()
focal_class.class_method_signature: Transaction.setHash(Sha256Hash hash)
focal_class.full_signature:  void setHash(Sha256Hash hash)
focal_class.identifier: setHash
focal_class.parameters: (Sha256Hash hash)
focal_class.return: void
focal_class.signature: void setHash(Sha256Hash hash)
focal_class.class_method_signature: Transaction.getHashAsString()
focal_class.full_signature: public String getHashAsString()
focal_class.identifier: getHashAsString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getHashAsString()
focal_class.class_method_signature: Transaction.getInputSum()
focal_class.full_signature: public Coin getInputSum()
focal_class.identifier: getInputSum
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Coin
focal_class.signature: Coin getInputSum()
focal_class.class_method_signature: Transaction.getValueSentToMe(TransactionBag transactionBag)
focal_class.full_signature: public Coin getValueSentToMe(TransactionBag transactionBag)
focal_class.identifier: getValueSentToMe
focal_class.modifiers: public
focal_class.parameters: (TransactionBag transactionBag)
focal_class.return: Coin
focal_class.signature: Coin getValueSentToMe(TransactionBag transactionBag)
focal_class.class_method_signature: Transaction.getAppearsInHashes()
focal_class.full_signature: @Nullable public Map<Sha256Hash, Integer> getAppearsInHashes()
focal_class.identifier: getAppearsInHashes
focal_class.modifiers: @Nullable public
focal_class.parameters: ()
focal_class.return: Map<Sha256Hash, Integer>
focal_class.signature: Map<Sha256Hash, Integer> getAppearsInHashes()
focal_class.class_method_signature: Transaction.isPending()
focal_class.full_signature: public boolean isPending()
focal_class.identifier: isPending
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isPending()
focal_class.class_method_signature: Transaction.setBlockAppearance(StoredBlock block, boolean bestChain, int relativityOffset)
focal_class.full_signature: public void setBlockAppearance(StoredBlock block, boolean bestChain, int relativityOffset)
focal_class.identifier: setBlockAppearance
focal_class.modifiers: public
focal_class.parameters: (StoredBlock block, boolean bestChain, int relativityOffset)
focal_class.return: void
focal_class.signature: void setBlockAppearance(StoredBlock block, boolean bestChain, int relativityOffset)
focal_class.class_method_signature: Transaction.addBlockAppearance(final Sha256Hash blockHash, int relativityOffset)
focal_class.full_signature: public void addBlockAppearance(final Sha256Hash blockHash, int relativityOffset)
focal_class.identifier: addBlockAppearance
focal_class.modifiers: public
focal_class.parameters: (final Sha256Hash blockHash, int relativityOffset)
focal_class.return: void
focal_class.signature: void addBlockAppearance(final Sha256Hash blockHash, int relativityOffset)
focal_class.class_method_signature: Transaction.getValueSentFromMe(TransactionBag wallet)
focal_class.full_signature: public Coin getValueSentFromMe(TransactionBag wallet)
focal_class.identifier: getValueSentFromMe
focal_class.modifiers: public
focal_class.parameters: (TransactionBag wallet)
focal_class.return: Coin
focal_class.signature: Coin getValueSentFromMe(TransactionBag wallet)
focal_class.class_method_signature: Transaction.getOutputSum()
focal_class.full_signature: public Coin getOutputSum()
focal_class.identifier: getOutputSum
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Coin
focal_class.signature: Coin getOutputSum()
focal_class.class_method_signature: Transaction.getValue(TransactionBag wallet)
focal_class.full_signature: public Coin getValue(TransactionBag wallet)
focal_class.identifier: getValue
focal_class.modifiers: public
focal_class.parameters: (TransactionBag wallet)
focal_class.return: Coin
focal_class.signature: Coin getValue(TransactionBag wallet)
focal_class.class_method_signature: Transaction.getFee()
focal_class.full_signature: public Coin getFee()
focal_class.identifier: getFee
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Coin
focal_class.signature: Coin getFee()
focal_class.class_method_signature: Transaction.isAnyOutputSpent()
focal_class.full_signature: public boolean isAnyOutputSpent()
focal_class.identifier: isAnyOutputSpent
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isAnyOutputSpent()
focal_class.class_method_signature: Transaction.isEveryOwnedOutputSpent(TransactionBag transactionBag)
focal_class.full_signature: public boolean isEveryOwnedOutputSpent(TransactionBag transactionBag)
focal_class.identifier: isEveryOwnedOutputSpent
focal_class.modifiers: public
focal_class.parameters: (TransactionBag transactionBag)
focal_class.return: boolean
focal_class.signature: boolean isEveryOwnedOutputSpent(TransactionBag transactionBag)
focal_class.class_method_signature: Transaction.getUpdateTime()
focal_class.full_signature: public Date getUpdateTime()
focal_class.identifier: getUpdateTime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date getUpdateTime()
focal_class.class_method_signature: Transaction.setUpdateTime(Date updatedAt)
focal_class.full_signature: public void setUpdateTime(Date updatedAt)
focal_class.identifier: setUpdateTime
focal_class.modifiers: public
focal_class.parameters: (Date updatedAt)
focal_class.return: void
focal_class.signature: void setUpdateTime(Date updatedAt)
focal_class.class_method_signature: Transaction.unCache()
focal_class.full_signature: @Override protected void unCache()
focal_class.identifier: unCache
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void unCache()
focal_class.class_method_signature: Transaction.calcLength(byte[] buf, int offset)
focal_class.full_signature: protected static int calcLength(byte[] buf, int offset)
focal_class.identifier: calcLength
focal_class.modifiers: protected static
focal_class.parameters: (byte[] buf, int offset)
focal_class.return: int
focal_class.signature: int calcLength(byte[] buf, int offset)
focal_class.class_method_signature: Transaction.parse()
focal_class.full_signature: @Override protected void parse()
focal_class.identifier: parse
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void parse()
focal_class.class_method_signature: Transaction.parseInputs()
focal_class.full_signature: private void parseInputs()
focal_class.identifier: parseInputs
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void parseInputs()
focal_class.class_method_signature: Transaction.parseOutputs()
focal_class.full_signature: private void parseOutputs()
focal_class.identifier: parseOutputs
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void parseOutputs()
focal_class.class_method_signature: Transaction.parseWitnesses()
focal_class.full_signature: private void parseWitnesses()
focal_class.identifier: parseWitnesses
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void parseWitnesses()
focal_class.class_method_signature: Transaction.hasWitnesses()
focal_class.full_signature: public boolean hasWitnesses()
focal_class.identifier: hasWitnesses
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasWitnesses()
focal_class.class_method_signature: Transaction.getOptimalEncodingMessageSize()
focal_class.full_signature: public int getOptimalEncodingMessageSize()
focal_class.identifier: getOptimalEncodingMessageSize
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getOptimalEncodingMessageSize()
focal_class.class_method_signature: Transaction.getMessageSizeForPriorityCalc()
focal_class.full_signature: public int getMessageSizeForPriorityCalc()
focal_class.identifier: getMessageSizeForPriorityCalc
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMessageSizeForPriorityCalc()
focal_class.class_method_signature: Transaction.isCoinBase()
focal_class.full_signature: public boolean isCoinBase()
focal_class.identifier: isCoinBase
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isCoinBase()
focal_class.class_method_signature: Transaction.isMature()
focal_class.full_signature: public boolean isMature()
focal_class.identifier: isMature
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isMature()
focal_class.class_method_signature: Transaction.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: Transaction.toString(@Nullable AbstractBlockChain chain)
focal_class.full_signature: public String toString(@Nullable AbstractBlockChain chain)
focal_class.identifier: toString
focal_class.modifiers: public
focal_class.parameters: (@Nullable AbstractBlockChain chain)
focal_class.return: String
focal_class.signature: String toString(@Nullable AbstractBlockChain chain)
focal_class.class_method_signature: Transaction.clearInputs()
focal_class.full_signature: public void clearInputs()
focal_class.identifier: clearInputs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clearInputs()
focal_class.class_method_signature: Transaction.addInput(TransactionOutput from)
focal_class.full_signature: public TransactionInput addInput(TransactionOutput from)
focal_class.identifier: addInput
focal_class.modifiers: public
focal_class.parameters: (TransactionOutput from)
focal_class.return: TransactionInput
focal_class.signature: TransactionInput addInput(TransactionOutput from)
focal_class.class_method_signature: Transaction.addInput(TransactionInput input)
focal_class.full_signature: public TransactionInput addInput(TransactionInput input)
focal_class.identifier: addInput
focal_class.modifiers: public
focal_class.parameters: (TransactionInput input)
focal_class.return: TransactionInput
focal_class.signature: TransactionInput addInput(TransactionInput input)
focal_class.class_method_signature: Transaction.addInput(Sha256Hash spendTxHash, long outputIndex, Script script)
focal_class.full_signature: public TransactionInput addInput(Sha256Hash spendTxHash, long outputIndex, Script script)
focal_class.identifier: addInput
focal_class.modifiers: public
focal_class.parameters: (Sha256Hash spendTxHash, long outputIndex, Script script)
focal_class.return: TransactionInput
focal_class.signature: TransactionInput addInput(Sha256Hash spendTxHash, long outputIndex, Script script)
focal_class.class_method_signature: Transaction.addSignedInput(TransactionOutPoint prevOut, Script scriptPubKey, ECKey sigKey,
                                             SigHash sigHash, boolean anyoneCanPay)
focal_class.full_signature: public TransactionInput addSignedInput(TransactionOutPoint prevOut, Script scriptPubKey, ECKey sigKey,
                                             SigHash sigHash, boolean anyoneCanPay)
focal_class.identifier: addSignedInput
focal_class.modifiers: public
focal_class.parameters: (TransactionOutPoint prevOut, Script scriptPubKey, ECKey sigKey,
                                             SigHash sigHash, boolean anyoneCanPay)
focal_class.return: TransactionInput
focal_class.signature: TransactionInput addSignedInput(TransactionOutPoint prevOut, Script scriptPubKey, ECKey sigKey,
                                             SigHash sigHash, boolean anyoneCanPay)
focal_class.class_method_signature: Transaction.addSignedInput(TransactionOutPoint prevOut, Script scriptPubKey, ECKey sigKey)
focal_class.full_signature: public TransactionInput addSignedInput(TransactionOutPoint prevOut, Script scriptPubKey, ECKey sigKey)
focal_class.identifier: addSignedInput
focal_class.modifiers: public
focal_class.parameters: (TransactionOutPoint prevOut, Script scriptPubKey, ECKey sigKey)
focal_class.return: TransactionInput
focal_class.signature: TransactionInput addSignedInput(TransactionOutPoint prevOut, Script scriptPubKey, ECKey sigKey)
focal_class.class_method_signature: Transaction.addSignedInput(TransactionOutput output, ECKey signingKey)
focal_class.full_signature: public TransactionInput addSignedInput(TransactionOutput output, ECKey signingKey)
focal_class.identifier: addSignedInput
focal_class.modifiers: public
focal_class.parameters: (TransactionOutput output, ECKey signingKey)
focal_class.return: TransactionInput
focal_class.signature: TransactionInput addSignedInput(TransactionOutput output, ECKey signingKey)
focal_class.class_method_signature: Transaction.addSignedInput(TransactionOutput output, ECKey signingKey, SigHash sigHash, boolean anyoneCanPay)
focal_class.full_signature: public TransactionInput addSignedInput(TransactionOutput output, ECKey signingKey, SigHash sigHash, boolean anyoneCanPay)
focal_class.identifier: addSignedInput
focal_class.modifiers: public
focal_class.parameters: (TransactionOutput output, ECKey signingKey, SigHash sigHash, boolean anyoneCanPay)
focal_class.return: TransactionInput
focal_class.signature: TransactionInput addSignedInput(TransactionOutput output, ECKey signingKey, SigHash sigHash, boolean anyoneCanPay)
focal_class.class_method_signature: Transaction.clearOutputs()
focal_class.full_signature: public void clearOutputs()
focal_class.identifier: clearOutputs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clearOutputs()
focal_class.class_method_signature: Transaction.addOutput(TransactionOutput to)
focal_class.full_signature: public TransactionOutput addOutput(TransactionOutput to)
focal_class.identifier: addOutput
focal_class.modifiers: public
focal_class.parameters: (TransactionOutput to)
focal_class.return: TransactionOutput
focal_class.signature: TransactionOutput addOutput(TransactionOutput to)
focal_class.class_method_signature: Transaction.addOutput(Coin value, Address address)
focal_class.full_signature: public TransactionOutput addOutput(Coin value, Address address)
focal_class.identifier: addOutput
focal_class.modifiers: public
focal_class.parameters: (Coin value, Address address)
focal_class.return: TransactionOutput
focal_class.signature: TransactionOutput addOutput(Coin value, Address address)
focal_class.class_method_signature: Transaction.addOutput(Coin value, ECKey pubkey)
focal_class.full_signature: public TransactionOutput addOutput(Coin value, ECKey pubkey)
focal_class.identifier: addOutput
focal_class.modifiers: public
focal_class.parameters: (Coin value, ECKey pubkey)
focal_class.return: TransactionOutput
focal_class.signature: TransactionOutput addOutput(Coin value, ECKey pubkey)
focal_class.class_method_signature: Transaction.addOutput(Coin value, Script script)
focal_class.full_signature: public TransactionOutput addOutput(Coin value, Script script)
focal_class.identifier: addOutput
focal_class.modifiers: public
focal_class.parameters: (Coin value, Script script)
focal_class.return: TransactionOutput
focal_class.signature: TransactionOutput addOutput(Coin value, Script script)
focal_class.class_method_signature: Transaction.calculateSignature(int inputIndex, ECKey key,
                                                                  byte[] redeemScript,
                                                                  SigHash hashType, boolean anyoneCanPay)
focal_class.full_signature: public TransactionSignature calculateSignature(int inputIndex, ECKey key,
                                                                  byte[] redeemScript,
                                                                  SigHash hashType, boolean anyoneCanPay)
focal_class.identifier: calculateSignature
focal_class.modifiers: public
focal_class.parameters: (int inputIndex, ECKey key,
                                                                  byte[] redeemScript,
                                                                  SigHash hashType, boolean anyoneCanPay)
focal_class.return: TransactionSignature
focal_class.signature: TransactionSignature calculateSignature(int inputIndex, ECKey key,
                                                                  byte[] redeemScript,
                                                                  SigHash hashType, boolean anyoneCanPay)
focal_class.class_method_signature: Transaction.calculateSignature(int inputIndex, ECKey key,
                                                                   Script redeemScript,
                                                                   SigHash hashType, boolean anyoneCanPay)
focal_class.full_signature: public TransactionSignature calculateSignature(int inputIndex, ECKey key,
                                                                   Script redeemScript,
                                                                   SigHash hashType, boolean anyoneCanPay)
focal_class.identifier: calculateSignature
focal_class.modifiers: public
focal_class.parameters: (int inputIndex, ECKey key,
                                                                   Script redeemScript,
                                                                   SigHash hashType, boolean anyoneCanPay)
focal_class.return: TransactionSignature
focal_class.signature: TransactionSignature calculateSignature(int inputIndex, ECKey key,
                                                                   Script redeemScript,
                                                                   SigHash hashType, boolean anyoneCanPay)
focal_class.class_method_signature: Transaction.calculateSignature(int inputIndex, ECKey key,
                                                     @Nullable KeyParameter aesKey,
                                                     byte[] redeemScript,
                                                     SigHash hashType, boolean anyoneCanPay)
focal_class.full_signature: public TransactionSignature calculateSignature(int inputIndex, ECKey key,
                                                     @Nullable KeyParameter aesKey,
                                                     byte[] redeemScript,
                                                     SigHash hashType, boolean anyoneCanPay)
focal_class.identifier: calculateSignature
focal_class.modifiers: public
focal_class.parameters: (int inputIndex, ECKey key,
                                                     @Nullable KeyParameter aesKey,
                                                     byte[] redeemScript,
                                                     SigHash hashType, boolean anyoneCanPay)
focal_class.return: TransactionSignature
focal_class.signature: TransactionSignature calculateSignature(int inputIndex, ECKey key,
                                                     @Nullable KeyParameter aesKey,
                                                     byte[] redeemScript,
                                                     SigHash hashType, boolean anyoneCanPay)
focal_class.class_method_signature: Transaction.calculateSignature(int inputIndex, ECKey key,
                                                     @Nullable KeyParameter aesKey,
                                                     Script redeemScript,
                                                     SigHash hashType, boolean anyoneCanPay)
focal_class.full_signature: public TransactionSignature calculateSignature(int inputIndex, ECKey key,
                                                     @Nullable KeyParameter aesKey,
                                                     Script redeemScript,
                                                     SigHash hashType, boolean anyoneCanPay)
focal_class.identifier: calculateSignature
focal_class.modifiers: public
focal_class.parameters: (int inputIndex, ECKey key,
                                                     @Nullable KeyParameter aesKey,
                                                     Script redeemScript,
                                                     SigHash hashType, boolean anyoneCanPay)
focal_class.return: TransactionSignature
focal_class.signature: TransactionSignature calculateSignature(int inputIndex, ECKey key,
                                                     @Nullable KeyParameter aesKey,
                                                     Script redeemScript,
                                                     SigHash hashType, boolean anyoneCanPay)
focal_class.class_method_signature: Transaction.hashForSignature(int inputIndex, byte[] redeemScript,
                                                      SigHash type, boolean anyoneCanPay)
focal_class.full_signature: public Sha256Hash hashForSignature(int inputIndex, byte[] redeemScript,
                                                      SigHash type, boolean anyoneCanPay)
focal_class.identifier: hashForSignature
focal_class.modifiers: public
focal_class.parameters: (int inputIndex, byte[] redeemScript,
                                                      SigHash type, boolean anyoneCanPay)
focal_class.return: Sha256Hash
focal_class.signature: Sha256Hash hashForSignature(int inputIndex, byte[] redeemScript,
                                                      SigHash type, boolean anyoneCanPay)
focal_class.class_method_signature: Transaction.hashForSignature(int inputIndex, Script redeemScript,
                                                      SigHash type, boolean anyoneCanPay)
focal_class.full_signature: public Sha256Hash hashForSignature(int inputIndex, Script redeemScript,
                                                      SigHash type, boolean anyoneCanPay)
focal_class.identifier: hashForSignature
focal_class.modifiers: public
focal_class.parameters: (int inputIndex, Script redeemScript,
                                                      SigHash type, boolean anyoneCanPay)
focal_class.return: Sha256Hash
focal_class.signature: Sha256Hash hashForSignature(int inputIndex, Script redeemScript,
                                                      SigHash type, boolean anyoneCanPay)
focal_class.class_method_signature: Transaction.hashForSignature(int inputIndex, byte[] connectedScript, byte sigHashType)
focal_class.full_signature: public Sha256Hash hashForSignature(int inputIndex, byte[] connectedScript, byte sigHashType)
focal_class.identifier: hashForSignature
focal_class.modifiers: public
focal_class.parameters: (int inputIndex, byte[] connectedScript, byte sigHashType)
focal_class.return: Sha256Hash
focal_class.signature: Sha256Hash hashForSignature(int inputIndex, byte[] connectedScript, byte sigHashType)
focal_class.class_method_signature: Transaction.bitcoinSerializeToStream(OutputStream stream)
focal_class.full_signature: @Override protected void bitcoinSerializeToStream(OutputStream stream)
focal_class.identifier: bitcoinSerializeToStream
focal_class.modifiers: @Override protected
focal_class.parameters: (OutputStream stream)
focal_class.return: void
focal_class.signature: void bitcoinSerializeToStream(OutputStream stream)
focal_class.class_method_signature: Transaction.bitcoinSerializeToStream(OutputStream stream, boolean useSegwit)
focal_class.full_signature: protected void bitcoinSerializeToStream(OutputStream stream, boolean useSegwit)
focal_class.identifier: bitcoinSerializeToStream
focal_class.modifiers: protected
focal_class.parameters: (OutputStream stream, boolean useSegwit)
focal_class.return: void
focal_class.signature: void bitcoinSerializeToStream(OutputStream stream, boolean useSegwit)
focal_class.class_method_signature: Transaction.getLockTime()
focal_class.full_signature: public long getLockTime()
focal_class.identifier: getLockTime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getLockTime()
focal_class.class_method_signature: Transaction.setLockTime(long lockTime)
focal_class.full_signature: public void setLockTime(long lockTime)
focal_class.identifier: setLockTime
focal_class.modifiers: public
focal_class.parameters: (long lockTime)
focal_class.return: void
focal_class.signature: void setLockTime(long lockTime)
focal_class.class_method_signature: Transaction.getVersion()
focal_class.full_signature: public long getVersion()
focal_class.identifier: getVersion
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getVersion()
focal_class.class_method_signature: Transaction.setVersion(int version)
focal_class.full_signature: public void setVersion(int version)
focal_class.identifier: setVersion
focal_class.modifiers: public
focal_class.parameters: (int version)
focal_class.return: void
focal_class.signature: void setVersion(int version)
focal_class.class_method_signature: Transaction.getInputs()
focal_class.full_signature: public List<TransactionInput> getInputs()
focal_class.identifier: getInputs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<TransactionInput>
focal_class.signature: List<TransactionInput> getInputs()
focal_class.class_method_signature: Transaction.getOutputs()
focal_class.full_signature: public List<TransactionOutput> getOutputs()
focal_class.identifier: getOutputs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<TransactionOutput>
focal_class.signature: List<TransactionOutput> getOutputs()
focal_class.class_method_signature: Transaction.getWalletOutputs(TransactionBag transactionBag)
focal_class.full_signature: public List<TransactionOutput> getWalletOutputs(TransactionBag transactionBag)
focal_class.identifier: getWalletOutputs
focal_class.modifiers: public
focal_class.parameters: (TransactionBag transactionBag)
focal_class.return: List<TransactionOutput>
focal_class.signature: List<TransactionOutput> getWalletOutputs(TransactionBag transactionBag)
focal_class.class_method_signature: Transaction.shuffleOutputs()
focal_class.full_signature: public void shuffleOutputs()
focal_class.identifier: shuffleOutputs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void shuffleOutputs()
focal_class.class_method_signature: Transaction.getInput(long index)
focal_class.full_signature: public TransactionInput getInput(long index)
focal_class.identifier: getInput
focal_class.modifiers: public
focal_class.parameters: (long index)
focal_class.return: TransactionInput
focal_class.signature: TransactionInput getInput(long index)
focal_class.class_method_signature: Transaction.getOutput(long index)
focal_class.full_signature: public TransactionOutput getOutput(long index)
focal_class.identifier: getOutput
focal_class.modifiers: public
focal_class.parameters: (long index)
focal_class.return: TransactionOutput
focal_class.signature: TransactionOutput getOutput(long index)
focal_class.class_method_signature: Transaction.getConfidence()
focal_class.full_signature: public TransactionConfidence getConfidence()
focal_class.identifier: getConfidence
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: TransactionConfidence
focal_class.signature: TransactionConfidence getConfidence()
focal_class.class_method_signature: Transaction.getConfidence(Context context)
focal_class.full_signature: public TransactionConfidence getConfidence(Context context)
focal_class.identifier: getConfidence
focal_class.modifiers: public
focal_class.parameters: (Context context)
focal_class.return: TransactionConfidence
focal_class.signature: TransactionConfidence getConfidence(Context context)
focal_class.class_method_signature: Transaction.getConfidence(TxConfidenceTable table)
focal_class.full_signature: public TransactionConfidence getConfidence(TxConfidenceTable table)
focal_class.identifier: getConfidence
focal_class.modifiers: public
focal_class.parameters: (TxConfidenceTable table)
focal_class.return: TransactionConfidence
focal_class.signature: TransactionConfidence getConfidence(TxConfidenceTable table)
focal_class.class_method_signature: Transaction.hasConfidence()
focal_class.full_signature: public boolean hasConfidence()
focal_class.identifier: hasConfidence
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasConfidence()
focal_class.class_method_signature: Transaction.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.class_method_signature: Transaction.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: Transaction.getSigOpCount()
focal_class.full_signature: public int getSigOpCount()
focal_class.identifier: getSigOpCount
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getSigOpCount()
focal_class.class_method_signature: Transaction.checkCoinBaseHeight(final int height)
focal_class.full_signature: public void checkCoinBaseHeight(final int height)
focal_class.identifier: checkCoinBaseHeight
focal_class.modifiers: public
focal_class.parameters: (final int height)
focal_class.return: void
focal_class.signature: void checkCoinBaseHeight(final int height)
focal_class.class_method_signature: Transaction.verify()
focal_class.full_signature: public void verify()
focal_class.identifier: verify
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void verify()
focal_class.class_method_signature: Transaction.isTimeLocked()
focal_class.full_signature: public boolean isTimeLocked()
focal_class.identifier: isTimeLocked
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isTimeLocked()
focal_class.class_method_signature: Transaction.hasRelativeLockTime()
focal_class.full_signature: public boolean hasRelativeLockTime()
focal_class.identifier: hasRelativeLockTime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasRelativeLockTime()
focal_class.class_method_signature: Transaction.isOptInFullRBF()
focal_class.full_signature: public boolean isOptInFullRBF()
focal_class.identifier: isOptInFullRBF
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isOptInFullRBF()
focal_class.class_method_signature: Transaction.isFinal(int height, long blockTimeSeconds)
focal_class.full_signature: public boolean isFinal(int height, long blockTimeSeconds)
focal_class.identifier: isFinal
focal_class.modifiers: public
focal_class.parameters: (int height, long blockTimeSeconds)
focal_class.return: boolean
focal_class.signature: boolean isFinal(int height, long blockTimeSeconds)
focal_class.class_method_signature: Transaction.estimateLockTime(AbstractBlockChain chain)
focal_class.full_signature: public Date estimateLockTime(AbstractBlockChain chain)
focal_class.identifier: estimateLockTime
focal_class.modifiers: public
focal_class.parameters: (AbstractBlockChain chain)
focal_class.return: Date
focal_class.signature: Date estimateLockTime(AbstractBlockChain chain)
focal_class.class_method_signature: Transaction.getPurpose()
focal_class.full_signature: public Purpose getPurpose()
focal_class.identifier: getPurpose
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Purpose
focal_class.signature: Purpose getPurpose()
focal_class.class_method_signature: Transaction.setPurpose(Purpose purpose)
focal_class.full_signature: public void setPurpose(Purpose purpose)
focal_class.identifier: setPurpose
focal_class.modifiers: public
focal_class.parameters: (Purpose purpose)
focal_class.return: void
focal_class.signature: void setPurpose(Purpose purpose)
focal_class.class_method_signature: Transaction.getExchangeRate()
focal_class.full_signature: @Nullable public ExchangeRate getExchangeRate()
focal_class.identifier: getExchangeRate
focal_class.modifiers: @Nullable public
focal_class.parameters: ()
focal_class.return: ExchangeRate
focal_class.signature: ExchangeRate getExchangeRate()
focal_class.class_method_signature: Transaction.setExchangeRate(ExchangeRate exchangeRate)
focal_class.full_signature: public void setExchangeRate(ExchangeRate exchangeRate)
focal_class.identifier: setExchangeRate
focal_class.modifiers: public
focal_class.parameters: (ExchangeRate exchangeRate)
focal_class.return: void
focal_class.signature: void setExchangeRate(ExchangeRate exchangeRate)
focal_class.class_method_signature: Transaction.getMemo()
focal_class.full_signature: public String getMemo()
focal_class.identifier: getMemo
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getMemo()
focal_class.class_method_signature: Transaction.setMemo(String memo)
focal_class.full_signature: public void setMemo(String memo)
focal_class.identifier: setMemo
focal_class.modifiers: public
focal_class.parameters: (String memo)
focal_class.return: void
focal_class.signature: void setMemo(String memo)
focal_class.superclass: extends ChildMessage
focal_method.body: public void checkCoinBaseHeight(final int height)
              throws VerificationException {
          checkArgument(height >= Block.BLOCK_HEIGHT_GENESIS);
          checkState(isCoinBase());
  
          // Check block height is in coinbase input script
          final TransactionInput in = this.getInputs().get(0);
          final ScriptBuilder builder = new ScriptBuilder();
          builder.number(height);
          final byte[] expected = builder.build().getProgram();
          final byte[] actual = in.getScriptBytes();
          if (actual.length < expected.length) {
              throw new VerificationException.CoinbaseHeightMismatch("Block height mismatch in coinbase.");
          }
          for (int scriptIdx = 0; scriptIdx < expected.length; scriptIdx++) {
              if (actual[scriptIdx] != expected[scriptIdx]) {
                  throw new VerificationException.CoinbaseHeightMismatch("Block height mismatch in coinbase.");
              }
          }
      }
focal_method.class_method_signature: Transaction.checkCoinBaseHeight(final int height)
focal_method.full_signature: public void checkCoinBaseHeight(final int height)
focal_method.identifier: checkCoinBaseHeight
focal_method.invocations: checkArgument checkState isCoinBase get getInputs number getProgram build getScriptBytes
focal_method.modifiers: public
focal_method.parameters: (final int height)
focal_method.return: void
focal_method.signature: void checkCoinBaseHeight(final int height)