Constant Field Values
Contents
org.bitcoinj.*
-
org.bitcoinj.base.BitcoinNetwork Modifier and Type Constant Field Value public static final java.lang.String
BITCOIN_SCHEME
"bitcoin"
-
org.bitcoinj.base.Coin Modifier and Type Constant Field Value public static final int
BYTES
8
public static final int
SMALLEST_UNIT_EXPONENT
8
-
org.bitcoinj.base.LegacyAddress Modifier and Type Constant Field Value public static final int
LENGTH
20
-
org.bitcoinj.base.SegwitAddress Modifier and Type Constant Field Value public static final int
WITNESS_PROGRAM_LENGTH_PKH
20
public static final int
WITNESS_PROGRAM_LENGTH_SH
32
public static final int
WITNESS_PROGRAM_LENGTH_TR
32
public static final int
WITNESS_PROGRAM_MAX_LENGTH
40
public static final int
WITNESS_PROGRAM_MIN_LENGTH
2
-
org.bitcoinj.base.Sha256Hash Modifier and Type Constant Field Value public static final int
LENGTH
32
-
org.bitcoinj.base.utils.Fiat Modifier and Type Constant Field Value public static final int
SMALLEST_UNIT_EXPONENT
4
-
org.bitcoinj.base.utils.MonetaryFormat Modifier and Type Constant Field Value public static final java.lang.String
CODE_BTC
"BTC"
public static final java.lang.String
CODE_MBTC
"mBTC"
public static final java.lang.String
CODE_SAT
"sat"
public static final java.lang.String
CODE_UBTC
"\u00b5BTC"
public static final int
MAX_DECIMALS
8
public static final java.lang.String
SYMBOL_BTC
"\u20bf"
public static final java.lang.String
SYMBOL_MBTC
"m\u20bf"
public static final java.lang.String
SYMBOL_SAT
"\u0219"
public static final java.lang.String
SYMBOL_UBTC
"\u00b5\u20bf"
-
org.bitcoinj.core.AbstractBlockChain Modifier and Type Constant Field Value public static final double
FP_ESTIMATOR_ALPHA
1.0E-4
public static final double
FP_ESTIMATOR_BETA
0.01
-
org.bitcoinj.core.AddressMessage Modifier and Type Constant Field Value protected static final long
MAX_ADDRESSES
1000L
-
org.bitcoinj.core.BitcoinSerializer.BitcoinPacketHeader Modifier and Type Constant Field Value public static final int
HEADER_LENGTH
20
-
org.bitcoinj.core.Block Modifier and Type Constant Field Value public static final int
BLOCK_HEIGHT_GENESIS
0
public static final int
BLOCK_HEIGHT_UNKNOWN
-1
public static final long
BLOCK_VERSION_BIP34
2L
public static final long
BLOCK_VERSION_BIP65
4L
public static final long
BLOCK_VERSION_BIP66
3L
public static final long
BLOCK_VERSION_GENESIS
1L
public static final long
EASIEST_DIFFICULTY_TARGET
545259519L
public static final int
HEADER_SIZE
80
public static final int
MAX_BLOCK_SIGOPS
20000
public static final int
MAX_BLOCK_SIZE
1000000
public static final long
STANDARD_MAX_DIFFICULTY_TARGET
486604799L
-
org.bitcoinj.core.Context Modifier and Type Constant Field Value public static final int
DEFAULT_EVENT_HORIZON
100
-
org.bitcoinj.core.HeadersMessage Modifier and Type Constant Field Value public static final int
MAX_HEADERS
2000
-
org.bitcoinj.core.InventoryMessage Modifier and Type Constant Field Value public static final int
MAX_INV_SIZE
50000
-
org.bitcoinj.core.ListMessage Modifier and Type Constant Field Value public static final int
MAX_INVENTORY_ITEMS
50000
-
org.bitcoinj.core.LockTime Modifier and Type Constant Field Value public static final long
THRESHOLD
500000000L
-
org.bitcoinj.core.Message Modifier and Type Constant Field Value public static final int
MAX_SIZE
33554432
-
org.bitcoinj.core.NetworkParameters Modifier and Type Constant Field Value public static final int
BIP16_ENFORCE_TIME
1333238400
public static final int
INTERVAL
2016
public static final java.lang.String
PAYMENT_PROTOCOL_ID_MAINNET
"main"
public static final java.lang.String
PAYMENT_PROTOCOL_ID_REGTEST
"regtest"
public static final java.lang.String
PAYMENT_PROTOCOL_ID_SIGNET
"signet"
public static final java.lang.String
PAYMENT_PROTOCOL_ID_TESTNET
"test"
public static final java.lang.String
PAYMENT_PROTOCOL_ID_UNIT_TESTS
"unittest"
public static final int
TARGET_SPACING
600
public static final int
TARGET_TIMESPAN
1209600
-
org.bitcoinj.core.PeerGroup Modifier and Type Constant Field Value public static final double
DEFAULT_BLOOM_FILTER_FP_RATE
1.0E-5
public static final int
DEFAULT_CONNECTIONS
12
public static final long
DEFAULT_PING_INTERVAL_MSEC
2000L
public static final int
MAX_ADDRESSES_PER_ADDR_MESSAGE
16
public static final double
MAX_FP_RATE_INCREASE
10.0
-
org.bitcoinj.core.Services Modifier and Type Constant Field Value public static final int
BYTES
8
public static final int
NODE_BITCOIN_CASH
32
public static final int
NODE_BLOOM
4
public static final int
NODE_COMPACT_FILTERS
64
public static final int
NODE_NETWORK
1
public static final int
NODE_NETWORK_LIMITED
1024
public static final int
NODE_P2P_V2
2048
public static final int
NODE_WITNESS
8
-
org.bitcoinj.core.StoredBlock Modifier and Type Constant Field Value public static final int
COMPACT_SERIALIZED_SIZE
96
public static final int
COMPACT_SERIALIZED_SIZE_V2
116
-
org.bitcoinj.core.Transaction Modifier and Type Constant Field Value public static final int
LOCKTIME_THRESHOLD
500000000
public static final int
MAX_STANDARD_TX_SIZE
100000
public static final int
SERIALIZE_TRANSACTION_NO_WITNESS
1073741824
public static final byte
SIGHASH_ANYONECANPAY_VALUE
-128
-
org.bitcoinj.core.TransactionInput Modifier and Type Constant Field Value public static final long
NO_SEQUENCE
4294967295L
public static final long
SEQUENCE_LOCKTIME_DISABLE_FLAG
2147483648L
public static final long
SEQUENCE_LOCKTIME_MASK
65535L
public static final long
SEQUENCE_LOCKTIME_TYPE_FLAG
4194304L
-
org.bitcoinj.core.TransactionOutPoint Modifier and Type Constant Field Value public static final int
BYTES
36
-
org.bitcoinj.core.TxConfidenceTable Modifier and Type Constant Field Value public static final int
MAX_SIZE
1000
-
org.bitcoinj.core.Utils Modifier and Type Constant Field Value public static final int
MAX_INITIAL_ARRAY_LENGTH
20
-
org.bitcoinj.core.VersionMessage Modifier and Type Constant Field Value public static final java.lang.String
BITCOINJ_VERSION
"0.17-alpha5"
public static final java.lang.String
LIBRARY_SUBVER
"/bitcoinj:0.17-alpha5/"
public static final int
NODE_BITCOIN_CASH
32
public static final int
NODE_BLOOM
4
public static final int
NODE_NETWORK
1
public static final int
NODE_NETWORK_LIMITED
1024
public static final int
NODE_WITNESS
8
-
org.bitcoinj.crypto.ChildNumber Modifier and Type Constant Field Value public static final int
HARDENED_BIT
-2147483648
-
org.bitcoinj.crypto.HDKeyDerivation Modifier and Type Constant Field Value public static final int
MAX_CHILD_DERIVATION_ATTEMPTS
100
-
org.bitcoinj.crypto.KeyCrypterScrypt Modifier and Type Constant Field Value public static final int
BLOCK_LENGTH
16
public static final int
KEY_LENGTH
32
public static final int
SALT_LENGTH
8
-
org.bitcoinj.crypto.TrustStoreLoader Modifier and Type Constant Field Value public static final java.lang.String
DEFAULT_KEYSTORE_PASSWORD
"changeit"
-
org.bitcoinj.crypto.utils.MessageVerifyUtils Modifier and Type Constant Field Value public static final java.lang.String
SIGNATURE_FAILED_ERROR_MESSAGE
"Signature did not match for message"
-
org.bitcoinj.params.BitcoinNetworkParams Modifier and Type Constant Field Value public static final java.lang.String
BITCOIN_SCHEME
"bitcoin"
public static final int
REWARD_HALVING_INTERVAL
210000
-
org.bitcoinj.params.MainNetParams Modifier and Type Constant Field Value public static final int
MAINNET_MAJORITY_ENFORCE_BLOCK_UPGRADE
750
public static final int
MAINNET_MAJORITY_REJECT_BLOCK_OUTDATED
950
public static final int
MAINNET_MAJORITY_WINDOW
1000
-
org.bitcoinj.params.SigNetParams Modifier and Type Constant Field Value public static final int
TESTNET_MAJORITY_ENFORCE_BLOCK_UPGRADE
51
public static final int
TESTNET_MAJORITY_REJECT_BLOCK_OUTDATED
75
public static final int
TESTNET_MAJORITY_WINDOW
100
-
org.bitcoinj.params.TestNet3Params Modifier and Type Constant Field Value public static final int
TESTNET_MAJORITY_ENFORCE_BLOCK_UPGRADE
51
public static final int
TESTNET_MAJORITY_REJECT_BLOCK_OUTDATED
75
public static final int
TESTNET_MAJORITY_WINDOW
100
-
org.bitcoinj.params.UnitTestParams Modifier and Type Constant Field Value public static final int
TESTNET_MAJORITY_ENFORCE_BLOCK_UPGRADE
4
public static final int
TESTNET_MAJORITY_REJECT_BLOCK_OUTDATED
6
public static final int
UNITNET_MAJORITY_WINDOW
8
-
org.bitcoinj.protocols.payments.PaymentProtocol Modifier and Type Constant Field Value public static final java.lang.String
MIMETYPE_PAYMENT
"application/bitcoin-payment"
public static final java.lang.String
MIMETYPE_PAYMENTACK
"application/bitcoin-paymentack"
public static final java.lang.String
MIMETYPE_PAYMENTREQUEST
"application/bitcoin-paymentrequest"
public static final java.lang.String
PAYMENT_PROTOCOL_ID_MAINNET
"main"
public static final java.lang.String
PAYMENT_PROTOCOL_ID_REGTEST
"regtest"
public static final java.lang.String
PAYMENT_PROTOCOL_ID_SIGNET
"signet"
public static final java.lang.String
PAYMENT_PROTOCOL_ID_TESTNET
"test"
public static final java.lang.String
PAYMENT_PROTOCOL_ID_UNIT_TESTS
"unittest"
-
org.bitcoinj.script.Script Modifier and Type Constant Field Value public static final int
MAX_P2SH_SIGOPS
15
public static final int
MAX_SCRIPT_ELEMENT_SIZE
520
public static final int
SIG_SIZE
75
-
org.bitcoinj.script.ScriptOpCodes Modifier and Type Constant Field Value public static final int
OP_0
0
public static final int
OP_0NOTEQUAL
146
public static final int
OP_1
81
public static final int
OP_10
90
public static final int
OP_11
91
public static final int
OP_12
92
public static final int
OP_13
93
public static final int
OP_14
94
public static final int
OP_15
95
public static final int
OP_16
96
public static final int
OP_1ADD
139
public static final int
OP_1NEGATE
79
public static final int
OP_1SUB
140
public static final int
OP_2
82
public static final int
OP_2DIV
142
public static final int
OP_2DROP
109
public static final int
OP_2DUP
110
public static final int
OP_2MUL
141
public static final int
OP_2OVER
112
public static final int
OP_2ROT
113
public static final int
OP_2SWAP
114
public static final int
OP_3
83
public static final int
OP_3DUP
111
public static final int
OP_4
84
public static final int
OP_5
85
public static final int
OP_6
86
public static final int
OP_7
87
public static final int
OP_8
88
public static final int
OP_9
89
public static final int
OP_ABS
144
public static final int
OP_ADD
147
public static final int
OP_AND
132
public static final int
OP_BOOLAND
154
public static final int
OP_BOOLOR
155
public static final int
OP_CAT
126
public static final int
OP_CHECKLOCKTIMEVERIFY
177
public static final int
OP_CHECKMULTISIG
174
public static final int
OP_CHECKMULTISIGVERIFY
175
public static final int
OP_CHECKSEQUENCEVERIFY
178
public static final int
OP_CHECKSIG
172
public static final int
OP_CHECKSIGVERIFY
173
public static final int
OP_CODESEPARATOR
171
public static final int
OP_DEPTH
116
public static final int
OP_DIV
150
public static final int
OP_DROP
117
public static final int
OP_DUP
118
public static final int
OP_ELSE
103
public static final int
OP_ENDIF
104
public static final int
OP_EQUAL
135
public static final int
OP_EQUALVERIFY
136
public static final int
OP_FALSE
0
public static final int
OP_FROMALTSTACK
108
public static final int
OP_GREATERTHAN
160
public static final int
OP_GREATERTHANOREQUAL
162
public static final int
OP_HASH160
169
public static final int
OP_HASH256
170
public static final int
OP_IF
99
public static final int
OP_IFDUP
115
public static final int
OP_INVALIDOPCODE
255
public static final int
OP_INVERT
131
public static final int
OP_LEFT
128
public static final int
OP_LESSTHAN
159
public static final int
OP_LESSTHANOREQUAL
161
public static final int
OP_LSHIFT
152
public static final int
OP_MAX
164
public static final int
OP_MIN
163
public static final int
OP_MOD
151
public static final int
OP_MUL
149
public static final int
OP_NEGATE
143
public static final int
OP_NIP
119
public static final int
OP_NOP
97
public static final int
OP_NOP1
176
public static final int
OP_NOP10
185
public static final int
OP_NOP2
177
public static final int
OP_NOP3
178
public static final int
OP_NOP4
179
public static final int
OP_NOP5
180
public static final int
OP_NOP6
181
public static final int
OP_NOP7
182
public static final int
OP_NOP8
183
public static final int
OP_NOP9
184
public static final int
OP_NOT
145
public static final int
OP_NOTIF
100
public static final int
OP_NUMEQUAL
156
public static final int
OP_NUMEQUALVERIFY
157
public static final int
OP_NUMNOTEQUAL
158
public static final int
OP_OR
133
public static final int
OP_OVER
120
public static final int
OP_PICK
121
public static final int
OP_PUSHDATA1
76
public static final int
OP_PUSHDATA2
77
public static final int
OP_PUSHDATA4
78
public static final int
OP_RESERVED
80
public static final int
OP_RESERVED1
137
public static final int
OP_RESERVED2
138
public static final int
OP_RETURN
106
public static final int
OP_RIGHT
129
public static final int
OP_RIPEMD160
166
public static final int
OP_ROLL
122
public static final int
OP_ROT
123
public static final int
OP_RSHIFT
153
public static final int
OP_SHA1
167
public static final int
OP_SHA256
168
public static final int
OP_SIZE
130
public static final int
OP_SUB
148
public static final int
OP_SUBSTR
127
public static final int
OP_SWAP
124
public static final int
OP_TOALTSTACK
107
public static final int
OP_TRUE
81
public static final int
OP_TUCK
125
public static final int
OP_VER
98
public static final int
OP_VERIF
101
public static final int
OP_VERIFY
105
public static final int
OP_VERNOTIF
102
public static final int
OP_WITHIN
165
public static final int
OP_XOR
134
-
org.bitcoinj.store.SPVBlockStore Modifier and Type Constant Field Value public static final int
DEFAULT_CAPACITY
10000
protected static final int
FILE_PROLOGUE_BYTES
1024
public static final java.lang.String
HEADER_MAGIC
"SPVB"
-
org.bitcoinj.testing.MockAltNetworkParams Modifier and Type Constant Field Value public static final java.lang.String
MOCKNET_GOOD_ADDRESS
"LLxSnHLN2CYyzB5eWTR9K9rS9uWtbTQFb6"
-
org.bitcoinj.uri.BitcoinURI Modifier and Type Constant Field Value public static final java.lang.String
BITCOIN_SCHEME
"bitcoin"
public static final java.lang.String
FIELD_ADDRESS
"address"
public static final java.lang.String
FIELD_AMOUNT
"amount"
public static final java.lang.String
FIELD_LABEL
"label"
public static final java.lang.String
FIELD_MESSAGE
"message"
public static final java.lang.String
FIELD_PAYMENT_REQUEST_URL
"r"
-
org.bitcoinj.utils.BtcFormat Modifier and Type Constant Field Value public static final int
COIN_SCALE
0
protected static final java.lang.String
COIN_SYMBOL_ALT
"\u0243"
public static final int
MICROCOIN_SCALE
6
public static final int
MILLICOIN_SCALE
3
-
org.bitcoinj.utils.ExponentialBackoff Modifier and Type Constant Field Value public static final float
DEFAULT_MULTIPLIER
1.100000023841858f
-
org.bitcoinj.wallet.DeterministicKeyChain Modifier and Type Constant Field Value public static final java.lang.String
DEFAULT_PASSPHRASE_FOR_MNEMONIC
""
-
org.bitcoinj.wallet.DeterministicSeed Modifier and Type Constant Field Value public static final int
DEFAULT_SEED_ENTROPY_BITS
128
public static final int
MAX_SEED_ENTROPY_BITS
512
-
org.bitcoinj.wallet.KeyTimeCoinSelector Modifier and Type Constant Field Value public static final int
MAX_SIMULTANEOUS_INPUTS
600