Package org.bitcoinj.utils
package org.bitcoinj.utils
Formatting monetary amounts, representing exchange rates, a program for loading Bitcoin Core saved block files,
a class to control how bitcoinj uses threads and misc other utility classes that don't fit anywhere else.
-
ClassDescriptionFind/create App Data Directory in correct platform-specific location.Deprecated.Applications should use another mechanism to persist application state dataThis class reads block files stored in the Bitcoin Core format.A Java logging formatter that writes more compact output than the default.This class, a concrete extension of
BtcFormat
, is distinguished by its accommodation of multiple denominational units as follows:Enum for specifying the style of currency indicators that are used when formatting, either codes or symbols.This class, a concrete extension ofBtcFormat
, is distinguished in that each instance formats and by-default parses all Bitcoin monetary values in units of a single denomination that is specified at the time that instance is constructed.Instances of this class format and parse locale-specific numerical representations of Bitcoin monetary values.This class constructs new instances ofBtcFormat
, allowing for the configuration of those instances before they are constructed.AThreadFactory
that propagates aContext
from the creating thread into the new thread.Thread factory whose threads are marked as daemon and won't prevent process exit.Tracks successes and failures and calculates a time to retry the operation.Parameters to configure a particular kind of exponential backoff.ACompletableFuture
that is also aListenableFuture
for migration from GuavaListenableFuture
toCompletableFuture
.ACompletionStage
with aListenableFuture
-compatible interface to smooth migration from GuavaListenableFuture
toCompletableFuture
/CompletionStage
.A simple wrapper around a listener and an executor, with some utility methods.Deprecated.Applications should use another mechanism to persist application state dataVarious threading related utilities.Caching counter for the block versions within a moving window.