Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [c]

The tag has no usage guidance.

-2
votes
0answers
19 views

bitcoin-0.8.1 version how to generate exe file

i am try to get the exe file from bitcoin-0.8.1 version .In bitcoin latest version we can get easily exe file but bitcoin-0.8.1 version its not like latest version so if anyone can help to generate ...
-1
votes
1answer
27 views

Adding C library to Makefile

I am developing an altcoin using a new PoW algorithm which is written in C to test the algorithm. I get compilation errors related to compiling the C code when trying to compile. How can I properly ...
0
votes
2answers
74 views

blockchain official documentation

I am developing a system of administrative management. The project is migrating from PHP to C ++. With the new requirements we want to work with blockchain. But when looking for more about it, ...
1
vote
1answer
40 views

call to bip39_mnemonic_from_bytes in libwally-core returns NULL

what am I doing wrong? it always returns with error -2... I included libwallycore to my project and my IDE tells me it it is available after I also did include <wally_bib39.h> I tried mainting ...
0
votes
0answers
125 views

Adding libraries to Makefile.am

I am trying to add already existing library below to dash source code : Jerasure I have included all the source and header files in a directory 'jerasure' inside 'src'. In the Makefile.am , I have ...
0
votes
2answers
57 views

How to get crypto currency wallet balances

I am trying to build an app that will pull in all my wallet balances. I can easily do this with exchange apis, but how do I get balances that are stored in wallet? Do I need to set up bitcoind, ...
1
vote
1answer
40 views

what is “forming a coinbase transaction”?

So based on this after getting the right information from the pool, you will form a coinbase transaction, But how is it done in C lang. Does the method above also works for altcoins?
0
votes
0answers
41 views

JSON-RPC curl, doesn't return a json object? [duplicate]

Hello guys so I tried to create a POST request t a pool using this code #include <curl\curl.h> #include <stdlib.h> #include <stdio.h> #include <stdbool.h> int GetWorkFromPool(...
0
votes
2answers
391 views

Implementation of the Variable length integer in C

Anyone can give me a idea of how implement in C this concept of Variable length integer which encoded the numer of transactions in a block? based on what is described here, I think is something lime ...
1
vote
2answers
2k views

How create / generate a coinbase transaction for a new block?

I am coding a miner program with C, and right now I need some info of how create / generate a coinbase transaction to add to the block before submit it to the bitcoin network. Someone can indicate any ...
1
vote
1answer
470 views

Question about retarget system bitcoin, add hardcodet block to exist blockchain

the standard values if (nActualTimespan < params.nPowTargetTimespan/4) nActualTimespan = params.nPowTargetTimespan/4; if (nActualTimespan > params.nPowTargetTimespan*4) ...
1
vote
1answer
94 views

C secp256k1 : ec_pubkey_parse successful on NULL context despite attribute

Looking at the main API file secp256k1.h of the C library, we have: SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_ec_pubkey_parse( const secp256k1_context* ctx, secp256k1_pubkey* ...
1
vote
0answers
252 views

make: *** No rule to make target 'all'. Stop. Stellar-core

I followed the instructions on how to install the stellar core but when I ran make install, I got this error: make: *** No rule to make target 'all'. Stop. I configured it and everything worked ...
1
vote
0answers
694 views

Cannot build secp256k1 C library on Debian stretch

I was hoping that someone would be able to suggest something about this (the same process works perfectly fine on my Debian Jessy machine) $ uname -a Linux front 4.8.0-1-amd64 #1 SMP Debian 4.8.7-1 (...
1
vote
0answers
45 views

C Compilation Error Following README

I'm having an issue getting the local bitcoin client running on a Mac OS X machine. When installing berkeley-db4, and running the following command (per the README): brew install https://raw.github....
5
votes
1answer
2k views

How to call JSON RPC API from C?

How do I make RPC calls from C? My question is related to the question: "How do I call JSON RPC API using C#?"