package transaction

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class BaseTransaction(version: Int32, inputs: Vector[TransactionInput], outputs: Vector[TransactionOutput], lockTime: UInt32) extends NonWitnessTransaction with Product with Serializable
  2. sealed abstract class CoinbaseInput extends TransactionInput

    This represents a coinbase input - these always have a EmptyTransactionOutPoint and arbitrary data inside the script signature

  3. case class EmptyWitness(witnesses: Vector[EmptyScriptWitness.type]) extends TransactionWitness with Product with Serializable

    Each input (even if it does not spend a segwit output) needs to have a witness associated with it in a WitnessTransaction.

    Each input (even if it does not spend a segwit output) needs to have a witness associated with it in a WitnessTransaction. This helper case class is used to "fill in" EmptyScriptWitness for the inputs that do not spend a WitnessScriptPubKeyV0

    See also

    https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki#specification

  4. sealed abstract class NonWitnessTransaction extends Transaction
  5. case class OutputReference(outPoint: TransactionOutPoint, output: TransactionOutput) extends NetworkElement with Product with Serializable

    Represents a generic on-chain output

  6. case class OutputWithIndex(output: TransactionOutput, index: Int) extends Product with Serializable
  7. sealed abstract class Transaction extends NetworkElement

    Created by chris on 7/14/15.

  8. trait TransactionConstants extends AnyRef

    Created by chris on 2/12/16.

  9. sealed trait TransactionFactoryHelper extends AnyRef

    Created by chris on 2/21/16.

  10. sealed abstract class TransactionInput extends NetworkElement

    Created by chris on 12/26/15.

    Created by chris on 12/26/15. Algebraic data type that represents a transaction input

  11. case class TransactionOutPoint(txId: DoubleSha256Digest, vout: UInt32) extends NetworkElement with Product with Serializable

    txId

    The transaction id for the crediting transaction for this input

    vout

    The output index in the parent transaction for the output we are spending

  12. case class TransactionOutput(value: CurrencyUnit, scriptPubKey: ScriptPubKey) extends NetworkElement with Product with Serializable
  13. sealed abstract class TransactionWitness extends SeqWrapper[ScriptWitness] with NetworkElement

    Created by chris on 11/21/16.

  14. case class UpdateTransactionInputs(inputs: Seq[TransactionInput]) extends TransactionFactoryHelper with Product with Serializable
  15. case class UpdateTransactionOutputs(outputs: Seq[TransactionOutput]) extends TransactionFactoryHelper with Product with Serializable
  16. case class WitnessTransaction(version: Int32, inputs: Vector[TransactionInput], outputs: Vector[TransactionOutput], lockTime: UInt32, witness: TransactionWitness) extends Transaction with Product with Serializable

Value Members

  1. object BaseTransaction extends Factory[BaseTransaction] with Serializable
  2. object CoinbaseInput
  3. object EmptyOutputReference extends OutputReference
  4. case object EmptyTransaction extends NonWitnessTransaction with Product with Serializable
  5. case object EmptyTransactionInput extends TransactionInput with Product with Serializable
  6. object EmptyTransactionOutPoint extends TransactionOutPoint

    UInt32s cannot hold negative numbers, but sometimes the Bitcoin Protocol requires the vout to be -1, which is serialized as 0xFFFFFFFF.

    UInt32s cannot hold negative numbers, but sometimes the Bitcoin Protocol requires the vout to be -1, which is serialized as 0xFFFFFFFF.

    See also

    transaction.h

    http://stackoverflow.com/questions/2711522/what-happens-if-i-assign-a-negative-value-to-an-unsigned-variable

  7. object EmptyTransactionOutput extends TransactionOutput
  8. object EmptyWitness extends Serializable
  9. object InputUtil
  10. object OutputReference extends Factory[OutputReference] with Serializable
  11. object Transaction extends Factory[Transaction]
  12. object TransactionConstants extends TransactionConstants
  13. object TransactionInput extends Factory[TransactionInput]
  14. object TransactionOutPoint extends Factory[TransactionOutPoint] with StringFactory[TransactionOutPoint] with Serializable
  15. object TransactionOutput extends Factory[TransactionOutput] with Serializable
  16. object TransactionWitness
  17. object TxUtil
  18. object WitnessTransaction extends Factory[WitnessTransaction] with Serializable

Ungrouped