Bitcoin Forum
November 14, 2024, 07:22:46 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: C++ sources needed  (Read 812 times)
Fizpok (OP)
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


View Profile WWW
April 26, 2013, 12:14:16 PM
 #1

Hi,
I am looking for C++ (preferably - Visual C++, ideally - an archive contaiing a sln and ready to be built) example(s) of SIMPLE code, communicating with bitcoind.
It should do same things we can do with bitcoind from command line.

Is it out there?

Ethereum Programming Guide
Create Solidity contracts: Step-by Step Hands-on Guides.
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

Reverse engineer from time to time


View Profile
April 26, 2013, 12:23:30 PM
 #2

Sadly no, at most you can get is some code of C miners with MinGW. Visual C++? Not that I am aware of, since Bitcoin is compiled with MinGW and mostly under Linux, people have not bothered with Visual C++ about anything, especially in C++.

There are some PHP dev kits which are mostly platform independent.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
hynodeva
Member
**
Offline Offline

Activity: 60
Merit: 10



View Profile WWW
April 26, 2013, 12:26:30 PM
 #3

you can download the source code of reaper, which is written in c++ and cmake creates a sln file for you...
There are some examples how to use it in Curl.cpp/Curl.h , App.h/App.cpp ... you will need the jansson lib which reaper is using Wink

That is my first guess, i am sure there are some apps written in c++ which you can strip down to the rpc command part.


happy coding

hynodeva.com mining pool

Litecoin, Feathercoin & Bitcoin ,Terracoin, PPCoin Mining Pool with proportional/PPS payoutmode, Long Poll, RollnTime & Noncerange support: https://hynodeva.com We pay PPS worker every 30 minutes, regardless if pool finds block or not.
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1452



View Profile
April 26, 2013, 04:23:15 PM
 #4

bitcoind provides API through json-rpc. just search for json-rpc code samples.

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!