Package org.consensusj.bitcoin.rx
Interface RxBlockchainService
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
RxBitcoinZmqService
,RxPeerGroup
Reactive Streams interface for subscribing to reactive blockchain data.
There are at least 3 possible implementations
1. A bitcoinj
PeerGroup
2. The ZeroMQ (and JSON-RPC) service of a trusted Bitcoin Core node
3. A Bitcoin web service using WebSocket
Note: Implementation instances may throw UnsupportedOperationException
if they don't support a particular
published data type.-
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher
<org.bitcoinj.base.Sha256Hash> org.reactivestreams.Publisher
<Integer> org.reactivestreams.Publisher
<org.bitcoinj.core.Block> org.reactivestreams.Publisher
<ChainTip> org.reactivestreams.Publisher
<org.bitcoinj.base.Sha256Hash> org.reactivestreams.Publisher
<org.bitcoinj.core.Transaction>
-
Method Details
-
transactionPublisher
org.reactivestreams.Publisher<org.bitcoinj.core.Transaction> transactionPublisher() -
transactionHashPublisher
org.reactivestreams.Publisher<org.bitcoinj.base.Sha256Hash> transactionHashPublisher() -
blockPublisher
org.reactivestreams.Publisher<org.bitcoinj.core.Block> blockPublisher() -
blockHashPublisher
org.reactivestreams.Publisher<org.bitcoinj.base.Sha256Hash> blockHashPublisher() -
blockHeightPublisher
org.reactivestreams.Publisher<Integer> blockHeightPublisher() -
chainTipPublisher
org.reactivestreams.Publisher<ChainTip> chainTipPublisher()
-