Interface FundingSource

All Known Implementing Classes:
RegTestFundingSource

public interface FundingSource
A 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. In other modes it can be a TestWallet preloaded with a certain amount of coins.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bitcoinj.base.Address
    createFundedAddress(org.bitcoinj.base.Coin amount)
     
    void
    An opportunity to do any necessary housekeeping.
    org.bitcoinj.base.Sha256Hash
    requestBitcoin(org.bitcoinj.base.Address toAddress, org.bitcoinj.base.Coin requestedAmount)