io.github.gstojsic.bitcoin.proxy.GeneratingRpc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proxy Show documentation
Show all versions of proxy Show documentation
A java lib to access bitcoind nodes via JSON RPC
The newest version!
package io.github.gstojsic.bitcoin.proxy;
import io.github.gstojsic.bitcoin.proxy.json.model.GeneratedBlock;
import java.util.List;
public interface GeneratingRpc {
/**
* @see GeneratingRpcAsync#generateBlock(String, List)
*/
GeneratedBlock generateBlock(String output, List transactionIds);
/**
* @see GeneratingRpcAsync#generateToAddress(int, String, Integer)
*/
List generateToAddress(int nBlocks, String address, Integer maxTries);
/**
* @see GeneratingRpcAsync#generateToDescriptor(int, String, Integer)
*/
List generateToDescriptor(int nBlocks, String descriptor, Integer maxTries);
}