Packages

package rpc

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. trait BitcoindFixtures extends FixtureAsyncFlatSpec with BitcoinSFixture with EmbeddedPg

    A trait that is useful if you need bitcoind fixtures for your test suite

  2. trait BitcoindFixturesCached extends FixtureAsyncFlatSpec with BitcoindFixtures

    Bitcoind fixtures with a cached a bitcoind instance

  3. trait BitcoindFixturesCachedPair[T <: BitcoindRpcClient] extends FixtureAsyncFlatSpec with BitcoindFixturesCached with CachedBitcoindPair[T]

    Bitcoind fixtures with two cached bitcoind that are connected via p2p

  4. trait BitcoindFixturesCachedPairNewest extends FixtureAsyncFlatSpec with BitcoinSAsyncFixtureTest with BitcoindFixturesCachedPair[BitcoindRpcClient]
  5. trait BitcoindFixturesCachedPairV21 extends FixtureAsyncFlatSpec with BitcoinSAsyncFixtureTest with BitcoindFixturesCachedPair[BitcoindV21RpcClient]
  6. trait BitcoindFixturesCachedPairV22 extends FixtureAsyncFlatSpec with BitcoinSAsyncFixtureTest with BitcoindFixturesCachedPair[BitcoindV22RpcClient]

    Bitcoind fixtures with two cached bitcoind rpc clients that are BitcoindVersion.newest that are connected via p2p

  7. trait BitcoindFixturesCachedTriple[T <: BitcoindRpcClient] extends FixtureAsyncFlatSpec with BitcoinSAsyncFixtureTest with BitcoindFixturesCached with CachedBitcoindTriple[T]

    Bitcoind fixtures with three cached bitcoind that are connected via p2p

  8. trait BitcoindFixturesFundedCached extends FixtureAsyncFlatSpec with BitcoindFixtures

    Bitcoind fixtures with a cached a bitcoind instance that is funded

  9. trait BitcoindFixturesFundedCachedNewest extends FixtureAsyncFlatSpec with BitcoinSAsyncFixtureTest with BitcoindFixturesFundedCached with CachedBitcoindNewest
  10. trait BitcoindFixturesFundedCachedV21 extends FixtureAsyncFlatSpec with BitcoinSAsyncFixtureTest with BitcoindFixturesFundedCached with CachedBitcoindV21

    Test trait that caches a BitcoindV21RpcClient that is funded and available to use with fixtures

  11. trait BitcoindFixturesFundedCachedV22 extends FixtureAsyncFlatSpec with BitcoinSAsyncFixtureTest with BitcoindFixturesFundedCached with CachedBitcoindV22

    Test trait that caches a BitcoindV22RpcClient that is funded and available to use with fixtures

  12. trait BitcoindFixturesFundedCachedV23 extends FixtureAsyncFlatSpec with BitcoinSAsyncFixtureTest with BitcoindFixturesFundedCached with CachedBitcoindV23

    Test trait that caches a BitcoindV23RpcClient that is funded and available to use with fixtures

  13. trait BitcoindFixturesFundedCachedV24 extends FixtureAsyncFlatSpec with BitcoinSAsyncFixtureTest with BitcoindFixturesFundedCached with CachedBitcoindV24
  14. trait BitcoindRpcTestUtil extends Logging
  15. trait CachedBitcoind[T <: BitcoindRpcClient] extends AnyRef

    A trait that holds a cached instance of a org.bitcoins.rpc.client.common.BitcoindRpcClient This is useful for using with fixtures to avoid creating a new bitcoind everytime a new test is run.

    A trait that holds a cached instance of a org.bitcoins.rpc.client.common.BitcoindRpcClient This is useful for using with fixtures to avoid creating a new bitcoind everytime a new test is run.

    The idea is our wallet/chain/node can just use the cached bitcoind rather than a fresh one. This does mean that test cases have to be written in such a way where assertions are not dependent on specific bitcoind state.

  16. trait CachedBitcoindBlockFilterRpcNewest extends CachedBitcoindFunded[BitcoindRpcClient with V19BlockFilterRpc]
  17. trait CachedBitcoindCollection[T <: BitcoindRpcClient] extends CachedBitcoind[T]
  18. trait CachedBitcoindFunded[T <: BitcoindRpcClient] extends CachedBitcoind[T]
  19. trait CachedBitcoindNewest extends CachedBitcoindFunded[BitcoindRpcClient]
  20. trait CachedBitcoindNewestNoP2pBlockFilters extends CachedBitcoindNewest
  21. trait CachedBitcoindNoFunds[T <: BitcoindRpcClient] extends CachedBitcoind[T]

    A cached bitcoind that has zero blocks in its chainstate.

    A cached bitcoind that has zero blocks in its chainstate. This is useful for testing at certain times when we need to make sure bitcoind is ONLY initialized, no chain state.

  22. trait CachedBitcoindNoFundsNewest extends CachedBitcoindNoFunds[BitcoindRpcClient]
  23. trait CachedBitcoindPair[T <: BitcoindRpcClient] extends CachedBitcoindCollection[T]
  24. trait CachedBitcoindPairNewest extends CachedBitcoindCollection[BitcoindRpcClient]
  25. trait CachedBitcoindPairV21 extends CachedBitcoindCollection[BitcoindV21RpcClient]
  26. trait CachedBitcoindPairV22 extends CachedBitcoindCollection[BitcoindV22RpcClient]
  27. trait CachedBitcoindTriple[T <: BitcoindRpcClient] extends CachedBitcoindCollection[T]
  28. trait CachedBitcoindV21 extends CachedBitcoindFunded[BitcoindV21RpcClient]
  29. trait CachedBitcoindV22 extends CachedBitcoindFunded[BitcoindV22RpcClient]
  30. trait CachedBitcoindV23 extends CachedBitcoindFunded[BitcoindV23RpcClient]
  31. trait CachedBitcoindV24 extends CachedBitcoindFunded[BitcoindV24RpcClient]

Value Members

  1. object BitcoindRpcTestUtil extends BitcoindRpcTestUtil

Ungrouped