Package org.consensusj.bitcoin.jsonrpc.test
package org.consensusj.bitcoin.jsonrpc.test
Bitcoin JSON-RPC functional test support classes
-
ClassDescriptionInterface for tests that use a BitcoinExtendedClientAbstraction(s) to help reuse tests between RegTest mode and TestNet or MainNet RegTest mode implementation will generate blocks when waitForBlocks() is called.Wait for synchronization with a reference source of block height.Test support functions intended to be mixed-in to Spock test specsA source of Bitcoin funds for testing In RegTest mode, it can be a RegTestFundingSource that mines coins in RegTest mode and sends them to a requesting address.Interface for tests that use a FundingSourceSingle-threaded RegTest testing environment.FundingSource using RegTest mining, BitcoinExtendedClient (with getRegTestMiningAddress), and the server's default wallet for accumulating coins.Credentials to server under test.Everything needed to build your own custom transaction TODO: Make this an immutable beanUtilities for integration testing server-side wallets