Interface BTCTestSupport

All Superinterfaces:
BitcoinClientAccessor

public interface BTCTestSupport extends BitcoinClientAccessor
Test support functions intended to be mixed-in to Spock test specs
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    serverReady(org.bitcoinj.base.Network expectedNetwork)
    Wait for the server to become ready and validate the Bitcoin network it is running on

    Methods inherited from interface org.consensusj.bitcoin.jsonrpc.test.BitcoinClientAccessor

    client, getClient
  • Method Details

    • serverReady

      default void serverReady(org.bitcoinj.base.Network expectedNetwork) throws JsonRpcException
      Wait for the server to become ready and validate the Bitcoin network it is running on
      Parameters:
      expectedNetwork - The network the server is expected to be running on
      Throws:
      JsonRpcException