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.TransportFactoryNested 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, stdTxFeeSatoshisFields inherited from class org.consensusj.bitcoin.jsonrpc.BitcoinClient
BITCOIN_CORE_VERSION_DESC_DEFAULT, BITCOIN_CORE_VERSION_MINFields inherited from class org.consensusj.jsonrpc.DefaultRpcClient
jsonRpcVersion, mapperFields inherited from interface foundation.omni.rpc.OmniProxyMethods
addressParserFields 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, omniSendTradeMethods inherited from class org.consensusj.bitcoin.rx.jsonrpc.RxBitcoinClient
chainTipPublisher, pollOnNewBlockAsyncMethods 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, withWalletMethods 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, waitForServerAsyncMethods inherited from class org.consensusj.jsonrpc.DefaultRpcClient
collectionTypeForClasses, collectionTypeForClasses, defaultType, getJsonRpcVersion, getMapper, getServerURI, identityTransientErrorMapper, pollOnce, responseTypeFor, responseTypeFor, sendRequestForResponseAsync, sendRequestForResponseAsync, statusFromErrorResponse, temporarilyUnavailableResponse, typeForClass, waitForServer, waitForServerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.consensusj.jsonrpc.AsyncSupport
getDefaultAsyncExecutor, supplyAsync, supplyAsyncMethods 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, typeForClassMethods inherited from interface org.consensusj.jsonrpc.JsonRpcTransport
getServerURI, sendRequestForResponse, sendRequestForResponseAsync, syncGetMethods inherited from interface foundation.omni.rpc.OmniClientRawTxSupport
omniSendRawTx, omniSendRawTxMethods inherited from interface foundation.omni.rpc.OmniProxyMethods
omniProxyGetBalance, omniProxyGetBalances, omniProxyGetRichList, omniProxyGetRichListSync, omniProxyListPropertiesMethods inherited from interface foundation.omni.rpc.test.OmniTestClientMethods
acceptDexOffer, changeIssuer, closeCrowdsale, createCrowdsale, createDexSellOffer, createManagedProperty, createMetaDexSellOffer, createProperty, createProperty, createProperty, grantTokens, revokeTokens, sendToOwnersMethods inherited from interface org.consensusj.rx.jsonrpc.RxJsonRpcClient
call, callAsync, pollOnce, pollOnceAsPublisher, pollOnceAsPublisher, pollOnceAsync
-
Constructor Details
-
OmniTestClient
-