Package foundation.omni.rpc.test
Class OmniTestClient
- All Implemented Interfaces:
OmniClientRawTxSupport
,OmniProxyMethods
,OmniTestClientMethods
,AutoCloseable
,ChainTipClient
,ChainTipService
,AsyncSupport
,JsonRpcClient<JavaType>
,JsonRpcTransport<JavaType>
,RxJsonRpcClient
For unit tests that need to send invalid raw Omni transactions.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.consensusj.jsonrpc.DefaultRpcClient
DefaultRpcClient.TransientErrorMapper<T>, DefaultRpcClient.TransportFactory
Nested classes/interfaces inherited from interface org.consensusj.jsonrpc.AsyncSupport
AsyncSupport.ThrowingSupplier<T>, AsyncSupport.TransientErrorFilter
-
Field Summary
Fields inherited from class org.consensusj.bitcoin.jsonrpc.BitcoinExtendedClient
DEFAULT_REGTEST_MINING_ADDRESS, defaultMaxConf, REGTEST_WALLET_NAME, stdRelayTxFee, stdTxFee, stdTxFeeSatoshis
Fields inherited from class org.consensusj.bitcoin.jsonrpc.BitcoinClient
BITCOIN_CORE_VERSION_DESC_DEFAULT, BITCOIN_CORE_VERSION_MIN
Fields inherited from class org.consensusj.jsonrpc.DefaultRpcClient
jsonRpcVersion, mapper
Fields inherited from interface foundation.omni.rpc.OmniProxyMethods
addressParser
Fields inherited from interface foundation.omni.rpc.test.OmniTestClientMethods
omniRawTxBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionOmniTestClient
(org.bitcoinj.base.Network network, URI server, String rpcuser, String rpcpassword) -
Method Summary
Methods inherited from class foundation.omni.rpc.OmniClient
getOmniNetParams, isOmniProxyServer, isOmniServer, omniGetActivations, omniGetActiveCrowdsales, omniGetActiveDExSells, omniGetAllBalancesForAddress, omniGetAllBalancesForAddressAsList, omniGetAllBalancesForId, omniGetAllBalancesForIdAsList, omniGetBalance, omniGetCrowdsale, omniGetFeeCache, omniGetFeeDistribution, omniGetFeeDistributions, omniGetFeeShare, omniGetFeeTrigger, omniGetGrants, omniGetInfo, omniGetOrderbook, omniGetOrderbook, omniGetProperty, omniGetSTO, omniGetTrade, omniGetTradeHistoryForAddress, omniGetTransaction, omniListBlockTransactions, omniListProperties, omniListTransactions, omniListTransactions, omniListTransactions, omniSend, omniSendActivation, omniSendAll, omniSendCancelAllTrades, omniSendCancelTradesByPair, omniSendCancelTradesByPrice, omniSendChangeIssuer, omniSendCloseCrowdsale, omniSendDExAccept, omniSendDExSell, omniSendGrant, omniSendIssuanceCrowdsale, omniSendIssuanceFixed, omniSendIssuanceManaged, omniSendRawTx, omniSendRawTx, omniSendRevoke, omniSendSTO, omniSendToMany, omniSendTrade
Methods inherited from class org.consensusj.bitcoin.rx.jsonrpc.RxBitcoinClient
chainTipPublisher, pollOnNewBlockAsync
Methods inherited from class org.consensusj.bitcoin.jsonrpc.BitcoinExtendedClient
clearMemPool, createRawTransaction, createRawTransaction, createSignedTransaction, createSignedTransaction, generateBlocks, getBitcoinBalance, getBitcoinBalance, getBitcoinBalance, getBlock, getBlockSubsidy, getDefaultMaxConf, getRegTestMiningAddress, getStdRelayTxFee, getStdTxFee, initRegTestWallet, listUnspentJ, listUnspentOutPoints, sendBitcoin, sendBitcoin, withWallet
Methods inherited from class org.consensusj.bitcoin.jsonrpc.BitcoinClient
addNode, close, commandExists, connectToServer, createRawTransaction, createWallet, createWallet, createWallet, dumpPrivKey, generateToAddress, generateToAddress, getAddedNodeInfo, getAddedNodeInfo, getAddressBalance, getAddressBalance, getAddressInfo, getAddressUtxos, getAddressUtxos, getBalance, getBalance, getBalance, getBestBlock, getBlock, getBlockAsync, getBlockChainInfo, getBlockChainInfoAsync, getBlockCount, getBlockHash, getBlockInfo, getChainTips, getChainTipsAsync, getCommands, getDefaultAsyncExecutor, getNetwork, getNetworkInfo, getNewAddress, getNewAddress, getRawTransaction, getRawTransactionInfo, getReceivedByAddress, getReceivedByAddress, getTransaction, getTransaction, getTxOut, getTxOut, getTxOutSetInfo, getZmqNotifications, getZmqNotificationsAsync, help, help, helpAsLines, helpAsMethodEntries, helpAsStream, importPrivKey, invalidateBlock, isAddressIndexEnabled, listAddressGroupings, listReceivedByAddress, listTransactions, listTransactions, listTransactions, listUnspent, listUnspent, listUnspent, listUnspent, listUnspent, listWallets, mapBitcoinTransientErrors, reconsiderBlock, sendFrom, sendMany, sendRawTransaction, sendRawTransaction, sendRawTransaction, sendRawTransaction, sendToAddress, sendToAddress, setTxFee, signRawTransactionWithWallet, stop, unloadWallet, unloadWallet, waitForBlock, waitForBlockchainInfoAsync, waitForConnected, waitForConnected, waitForServer, waitForServer, waitForServerAsync
Methods inherited from class org.consensusj.jsonrpc.DefaultRpcClient
collectionTypeForClasses, collectionTypeForClasses, defaultType, getJsonRpcVersion, getMapper, getServerURI, identityTransientErrorMapper, pollOnce, responseTypeFor, responseTypeFor, sendRequestForResponseAsync, sendRequestForResponseAsync, statusFromErrorResponse, temporarilyUnavailableResponse, typeForClass, waitForServer, waitForServer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.consensusj.jsonrpc.AsyncSupport
getDefaultAsyncExecutor, supplyAsync, supplyAsync
Methods inherited from interface org.consensusj.jsonrpc.JsonRpcClient
buildJsonRequest, buildJsonRequest, close, collectionTypeForClasses, collectionTypeForClasses, defaultType, getJsonRpcVersion, responseTypeFor, responseTypeFor, send, send, send, send, send, send, sendAsync, sendAsync, sendAsync, sendAsync, sendAsync, typeForClass
Methods inherited from interface org.consensusj.jsonrpc.JsonRpcTransport
getServerURI, sendRequestForResponse, sendRequestForResponseAsync, syncGet
Methods inherited from interface foundation.omni.rpc.OmniClientRawTxSupport
omniSendRawTx, omniSendRawTx
Methods inherited from interface foundation.omni.rpc.OmniProxyMethods
omniProxyGetBalance, omniProxyGetBalances, omniProxyGetRichList, omniProxyGetRichListSync, omniProxyListProperties
Methods inherited from interface foundation.omni.rpc.test.OmniTestClientMethods
acceptDexOffer, changeIssuer, closeCrowdsale, createCrowdsale, createDexSellOffer, createManagedProperty, createMetaDexSellOffer, createProperty, createProperty, createProperty, grantTokens, revokeTokens, sendToOwners
Methods inherited from interface org.consensusj.rx.jsonrpc.RxJsonRpcClient
call, callAsync, pollOnce, pollOnceAsPublisher, pollOnceAsPublisher, pollOnceAsync
-
Constructor Details
-
OmniTestClient
-