@ Nullable public TransactionOutput getConnectedOutput ( ) { if ( fromTx != null ) { return fromTx . getOutputs ( ) . get ( ( int ) index ) ; } else if ( connectedOutput != null ) { return connectedOutput ; } return null ; }
An outpoint is a part of a transaction input that points to the output of another transaction . If we have both sides in memory and they have been linked together this returns a pointer to the connected output or null if there is no such connection .