Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

OTmining

This program mines new block one time. Before running this program, You must check that bitcoind program with rpc server mode runs already.

OTmining ---getblocktemplate---> bitcoind(RPC)
         <------response--------
         |
         solve
         |
         ------submitblock----->

Dependencies

List

  • libblkmaker: commit 5e409f22fb)
  • jansson: stable 2.7
  • libgcrypt: stable 1.7.2
  • curl(libcurl): stable 7.50.1

Install

OSX

brew install curl
brew install libgcrypt
brew install jansson
git clone https://github.com/bitcoin/libbase58
git clone https://github.com/bitcoin/libblkmaker

Compile

gcc main.c -lgcrypt -lblkmaker-0.1 -ljansson -lblkmaker_jansson-0.1 -lcurl

About

One time mining for Bitcoin

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages