Protos$Transaction.getPool
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using org.bitcoinj.wallet.Protos$Transaction.getPool (Showing top 11 results out of 315)

  • Common ways to obtain Protos$Transaction
private void myMethod () {
Protos$Transaction p =
  • InvalidProtocolBufferException invalidProtocolBufferException;(org.bitcoinj.wallet.Protos.Transaction) invalidProtocolBufferException.getUnfinishedMessage()
  • Protos.Transaction$Builder protosTransaction$Builder;new org.bitcoinj.wallet.Protos.Transaction(protosTransaction$Builder)
  • Protos.Transaction$Builder protosTransaction$Builder;protosTransaction$Builder.build()
  • Smart code suggestions by Codota
}
origin: com.google/bitcoinj

setPool(other.getPool());
origin: fr.acinq/bitcoinj-core

setPool(other.getPool());
origin: greenaddress/GreenBits

setPool(other.getPool());
origin: greenaddress/GreenBits

assertEquals(0, t1p.getBlockHashCount());
assertArrayEquals(t1.getHash().getBytes(), t1p.getHash().toByteArray());
assertEquals(Protos.Transaction.Pool.PENDING, t1p.getPool());
assertFalse(t1p.hasLockTime());
assertFalse(t1p.getTransactionInput(0).hasSequence());
origin: com.google/bitcoinj

private WalletTransaction connectTransactionOutputs(org.bitcoinj.wallet.Protos.Transaction txProto) throws UnreadableWalletException {
  Transaction tx = txMap.get(txProto.getHash());
  final WalletTransaction.Pool pool;
  switch (txProto.getPool()) {
    case DEAD: pool = WalletTransaction.Pool.DEAD; break;
    case PENDING: pool = WalletTransaction.Pool.PENDING; break;
      break;
    default:
      throw new UnreadableWalletException("Unknown transaction pool: " + txProto.getPool());
origin: fr.acinq/bitcoinj-core

Transaction tx = txMap.get(txProto.getHash());
final WalletTransaction.Pool pool;
switch (txProto.getPool()) {
  case DEAD: pool = WalletTransaction.Pool.DEAD; break;
  case PENDING: pool = WalletTransaction.Pool.PENDING; break;
    break;
  default:
    throw new UnreadableWalletException("Unknown transaction pool: " + txProto.getPool());
origin: cash.bitcoinj/bitcoinj-core

Transaction tx = txMap.get(txProto.getHash());
final WalletTransaction.Pool pool;
switch (txProto.getPool()) {
  case DEAD: pool = WalletTransaction.Pool.DEAD; break;
  case PENDING: pool = WalletTransaction.Pool.PENDING; break;
    break;
  default:
    throw new UnreadableWalletException("Unknown transaction pool: " + txProto.getPool());
origin: HashEngineering/dashj

Transaction tx = txMap.get(txProto.getHash());
final WalletTransaction.Pool pool;
switch (txProto.getPool()) {
  case DEAD: pool = WalletTransaction.Pool.DEAD; break;
  case PENDING: pool = WalletTransaction.Pool.PENDING; break;
    break;
  default:
    throw new UnreadableWalletException("Unknown transaction pool: " + txProto.getPool());
origin: HashEngineering/dashj

setPool(other.getPool());
origin: cash.bitcoinj/bitcoinj-core

setPool(other.getPool());
origin: greenaddress/GreenBits

Transaction tx = txMap.get(txProto.getHash());
final WalletTransaction.Pool pool;
switch (txProto.getPool()) {
  case DEAD: pool = WalletTransaction.Pool.DEAD; break;
  case PENDING: pool = WalletTransaction.Pool.PENDING; break;
    break;
  default:
    throw new UnreadableWalletException("Unknown transaction pool: " + txProto.getPool());
org.bitcoinj.walletProtos$TransactiongetPool

Javadoc

optional .wallet.Transaction.Pool pool = 3;
 
If pool is not present, that means either: 
- This Transaction is either not in a wallet at all (the proto is re-used elsewhere) 
- Or it is stored but for other purposes, for example, because it is the overriding transaction of a double spend. 
- Or the Pool enum got a new value which your software is too old to parse. 

Popular methods of Protos$Transaction

  • getBlockHashCount
    repeated bytes block_hash = 8; A list of blocks in which the transaction has been observed (on any
  • getHash
    required bytes hash = 2;
  • getTransactionInput
    repeated .wallet.TransactionInput transaction_input = 6;
  • getTransactionOutput
    repeated .wallet.TransactionOutput transaction_output = 7;
  • hasLockTime
    optional uint32 lock_time = 4; The nLockTime field is useful for contracts.
  • <init>
  • getBlockHash
    repeated bytes block_hash = 8; A list of blocks in which the transaction has been observed (on any
  • getBlockHashList
    repeated bytes block_hash = 8; A list of blocks in which the transaction has been observed (on any
  • getBlockRelativityOffsets
    repeated int32 block_relativity_offsets = 11;
  • getBlockRelativityOffsetsCount
    repeated int32 block_relativity_offsets = 11;
  • getBlockRelativityOffsetsList
    repeated int32 block_relativity_offsets = 11;
  • getConfidence
    optional .wallet.TransactionConfidence confidence = 9; Data describing where the transaction is in
  • getBlockRelativityOffsetsList,
  • getConfidence,
  • getDefaultInstance,
  • getDescriptor,
  • getLockTime,
  • getPurpose,
  • getSerializedSize,
  • getTransactionInputCount,
  • getTransactionInputList

Popular in Java

  • Parsing JSON documents to java classes using gson
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • notifyDataSetChanged (ArrayAdapter)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Path (java.nio.file)
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)