Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 630 Bytes

File metadata and controls

34 lines (21 loc) · 630 Bytes

BitZeny Miner for iOS

Summary

This is a BitZeny Miner for iOS based on cpuminer. cpuminer is modifed to work as a library for Objective-C and Swift.

Library

Constructors

- (id) initWithLogCallback: (void(^)(NSString*))cb;

Passed method receives log data.

Methods

- (int) startMining:(NSString*)url user:(NSString*)user password:(NSString*)password n_threads:(int)n_threads;
- (int) startBenchmark;
- (int) stopMining;

Tips

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

git submodule init
git submodule update