Interface Protos.TransactionConfidenceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Protos.TransactionConfidence, Protos.TransactionConfidence.Builder
Enclosing class:
Protos

public static interface Protos.TransactionConfidenceOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    If type == BUILDING then this is the chain height at which the transaction was included.
    getBroadcastBy(int index)
    repeated .wallet.PeerAddress broadcast_by = 6;
    int
    repeated .wallet.PeerAddress broadcast_by = 6;
    repeated .wallet.PeerAddress broadcast_by = 6;
    int
    If type == BUILDING then this is the depth of the transaction in the blockchain.
    long
    Millis since epoch the transaction was last announced to us.
    com.google.protobuf.ByteString
    If set, hash of the transaction that double spent this one into oblivion.
    optional .wallet.TransactionConfidence.Source source = 7;
    This is optional in case we add confidence types to prevent parse errors - backwards compatible.
    boolean
    If type == BUILDING then this is the chain height at which the transaction was included.
    boolean
    If type == BUILDING then this is the depth of the transaction in the blockchain.
    boolean
    Millis since epoch the transaction was last announced to us.
    boolean
    If set, hash of the transaction that double spent this one into oblivion.
    boolean
    optional .wallet.TransactionConfidence.Source source = 7;
    boolean
    This is optional in case we add confidence types to prevent parse errors - backwards compatible.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasType

      boolean hasType()
       This is optional in case we add confidence types to prevent parse errors - backwards compatible.
       
      optional .wallet.TransactionConfidence.Type type = 1;
      Returns:
      Whether the type field is set.
    • getType

       This is optional in case we add confidence types to prevent parse errors - backwards compatible.
       
      optional .wallet.TransactionConfidence.Type type = 1;
      Returns:
      The type.
    • hasAppearedAtHeight

      boolean hasAppearedAtHeight()
       If type == BUILDING then this is the chain height at which the transaction was included.
       
      optional int32 appeared_at_height = 2;
      Returns:
      Whether the appearedAtHeight field is set.
    • getAppearedAtHeight

      int getAppearedAtHeight()
       If type == BUILDING then this is the chain height at which the transaction was included.
       
      optional int32 appeared_at_height = 2;
      Returns:
      The appearedAtHeight.
    • hasOverridingTransaction

      boolean hasOverridingTransaction()
       If set, hash of the transaction that double spent this one into oblivion. A transaction can be double spent by
       multiple transactions in the case of several inputs being re-spent by several transactions but we don't
       bother to track them all, just the first. This only makes sense if type = DEAD.
       
      optional bytes overriding_transaction = 3;
      Returns:
      Whether the overridingTransaction field is set.
    • getOverridingTransaction

      com.google.protobuf.ByteString getOverridingTransaction()
       If set, hash of the transaction that double spent this one into oblivion. A transaction can be double spent by
       multiple transactions in the case of several inputs being re-spent by several transactions but we don't
       bother to track them all, just the first. This only makes sense if type = DEAD.
       
      optional bytes overriding_transaction = 3;
      Returns:
      The overridingTransaction.
    • hasDepth

      boolean hasDepth()
       If type == BUILDING then this is the depth of the transaction in the blockchain.
       Zero confirmations: depth = 0, one confirmation: depth = 1 etc.
       
      optional int32 depth = 4;
      Returns:
      Whether the depth field is set.
    • getDepth

      int getDepth()
       If type == BUILDING then this is the depth of the transaction in the blockchain.
       Zero confirmations: depth = 0, one confirmation: depth = 1 etc.
       
      optional int32 depth = 4;
      Returns:
      The depth.
    • getBroadcastByList

      List<Protos.PeerAddress> getBroadcastByList()
      repeated .wallet.PeerAddress broadcast_by = 6;
    • getBroadcastBy

      Protos.PeerAddress getBroadcastBy(int index)
      repeated .wallet.PeerAddress broadcast_by = 6;
    • getBroadcastByCount

      int getBroadcastByCount()
      repeated .wallet.PeerAddress broadcast_by = 6;
    • hasLastBroadcastedAt

      boolean hasLastBroadcastedAt()
       Millis since epoch the transaction was last announced to us.
       
      optional int64 last_broadcasted_at = 8;
      Returns:
      Whether the lastBroadcastedAt field is set.
    • getLastBroadcastedAt

      long getLastBroadcastedAt()
       Millis since epoch the transaction was last announced to us.
       
      optional int64 last_broadcasted_at = 8;
      Returns:
      The lastBroadcastedAt.
    • hasSource

      boolean hasSource()
      optional .wallet.TransactionConfidence.Source source = 7;
      Returns:
      Whether the source field is set.
    • getSource

      optional .wallet.TransactionConfidence.Source source = 7;
      Returns:
      The source.