Skip to content

OttyLab/BitZenyAndroidMiningLibrary

Repository files navigation

BitZeny Miner for Android

Summary

This is a BitZeny Miner for Android based on cpuminer. cpuminer is modifed to work as a library through JNI.

Environment

NDK r17b

Library

Constructors

public BitZenyMiningLibrary()
public BitZenyMiningLibrary(Handler handler)

Library putString log strings with 'log' tag. Applications can getString then use the log strings.

Methods

public boolean isMiningRunning()
public int startMining(String url, String user, String password, int n_threads)
public int startBenchmark(int n_threads)
public int stopMining()

Tips

Library core uses submodule. Therefore, run below commands after clone;

git submodule init
git submodule update