Specifically refers to the source code from which applications may be compiled or the process of said compilation. Do not use to request a source of information or to determine the source from which Bitcoins originate, etc.

learn more… | top users | synonyms (2)

0
votes
1answer
18 views

IsCanonicalPubKey method in Bitcoin Core source

In my logs I see that I keep getting: ERROR: Non-canonical public key: compressed nor uncompressed This error is thrown from inside the method: bool IsCanonicalPubKey(const valtype ...
3
votes
1answer
36 views

Building from Source on MAC OSX 10.9 Error

Hi i'm building Bitcoin from source and am having some problems. Curious if anyone would be able to help me. When I try to make I get: In file included from ./json/json_spirit_reader_template.h:9: ...
2
votes
1answer
30 views

Where is the exact code part of the walletnotify function?

I'm new on the BTC project, so please spare me if I asked something newbies. I downloaded the latest 0.92 BTC source code and trying to make a customize to the walletnotify function for myself while ...
0
votes
0answers
43 views

Altcoin does not create .altcoin folder and debug.log

I changed the source code of bitcoin and I ran it. However, it gives the following error: chainparams.cpp:140: CMainParams::CMainParams(): Assertion `hashGenesisBlock == uint256("0xxx")' failed. ...
1
vote
1answer
40 views

In what line of what file does the block reward depend on?

I want to make an altcoin and since I am new, I wanted to know what sets the reward of a block after being mined.
-2
votes
2answers
122 views

How is it possible to modify bitcoin source to change behavior of a newly-created altcoin? [closed]

In creating a new SHA-256 based coin, I have a few basic questions that I hope someone can offer some help with (I do not have development background): Is bitcoin-0.6.3-linux.tar the latest and ...
2
votes
1answer
80 views

Who has copied or reimplemented Ripple?

There have been almost an infinite amount of Bitcoin clones, but I have yet to see a Ripple clone or a Peercoin clone for that matter. I'd include Nextcoin, but I don't think the full source has been ...
0
votes
1answer
77 views

Bitcoin peer to peer network source code

Does anybody know a place to get the source code of the Bitcoin Peer to Peer network? I only need the P2P network portion of the Bitcoin protocol. I am going to implement a new virtual currency. So i ...
1
vote
1answer
24 views

A question about CTransaction::UpdateCoins() in 0.8.6

The logic of this function is quite simple: 1, mark inputs spent Call coins.Spend() 2, add new outputs to database. Call inputs.SetCoins() My question is in step1, it invalidate the old output ...
0
votes
2answers
49 views

What piece of code would allow me to check if a block has been found then run an operation?

I am relatively new to C++ and I was wondering if anybody could help me out. I am looking piece of code that will loop until a block is found by a node and then when one is found print a simple output ...
1
vote
1answer
131 views

Build Namecoin from source

I'm trying to install the current version of namecoin from github. After much trouble and poking around, I found the official install instructions ...
1
vote
0answers
360 views

How to compile source

I downloaded and install MinGW (windows). Then I downloaded Litecoin source from github. Now I use command: make -f makefile.mingw but I compilation stopped with this output: ...
-4
votes
1answer
250 views

coin specifications values in source code

I am new to Bitcoins. I wanted to know the specifications of coins inside source code. Can any one tell me, * What are those functions and variable which are responsible to get and set the ...
1
vote
1answer
144 views

Why does Github say that the Bitcoin project is 74% TypeScript?

For the Bitcoin project on Github clicking "Show language statistics" shows that the source code is almost 74% TypeScript. Why is this so when ostensibly Bitcoin is written almost entirely in C++. ...
2
votes
1answer
176 views

Need sample compressed and uncompressed Public / Private key pairs for BigInteger

I am testing a different version of BigInteger that has different endian formats and the native implementation likes to add or remove zeros from the final output. Can anyone provide some sample ...
2
votes
1answer
178 views

Where can I access the original, Satoshi written Bitcoin code?

The articles of https://bitcointalk.org/index.php?topic=41718.0 seem to be annotated walkthroughs, and I'd like to see the raw code, as it was originally written in the first release.
1
vote
0answers
168 views

Cryptocurrency from Scratch?

first question here I remember seeing a question a while back about how to code your own cryptocurrency here: How to fork Bitcoin and build own cryptocurrency Unfortunately, it seems to suffer from ...
2
votes
1answer
132 views

Who wrote the actual bitcoin software?

Who wrote (and owns) the actual bit coin mining code? If the origins is not crystal clear, it will be very difficult to explain its use to ordinary everyday people.
0
votes
0answers
495 views

GPU drivers crash and then cgminer (guiminer) change to sha-256

On same PC I am want to work and to mine. But I have following problem: When I start photoshop or some game, if I am mining in same time (and not even on same graphic card as I use for monitor) ...
0
votes
2answers
201 views

Trouble compiling CopperLark on Ubuntu 12.04

I am having trouble compiling the Copperlark source on Ubuntu 12.04. I run the following command: Код: [Выделить] make -f makefile.unix USE_UPNP=- which fails on this error: ...
2
votes
2answers
632 views

How is bitcoin infinitely divisible? [duplicate]

I've read that bitcoins are infinitely divisible: Bitcoins can be divided up and trade into as small of pieces as one wants How is this possible programmatically? The only thing that comes to ...
2
votes
0answers
110 views

How many addresses are sent in response to a getaddr message?

I've been trying to determine the number of addresses a node sends when it receives a getaddr message but I'm a little confused. On one hand, on addrman.h/.cpp I can see that: // the maximum ...
3
votes
1answer
90 views

About a change in 0.8.6 - free transactions with less than 0.01 outputs

// This code can be removed after enough miners have upgraded to version 0.9. // Until then, be safe when sending and require a fee if any output // is less than CENT: if (nMinFee < nBaseFee ...
3
votes
1answer
4k views

How to compile Bitcoin-Qt from GitHub source on Arch Linux?

Here are the instructions I have created so far: Install the necessary dependencies pacman -S boost boost-libs openssl db base-devel qrencode qt4 automoc4 Clone the GitHub repository: git clone ...
2
votes
1answer
706 views

How can I build litecoin from source in Visual Studio (2010 or 2012)?

I am curious if anyone has successfully built and linked all dependencies for litecoin and, finally, built litecoin in Visual Studio. If so, could someone please provide some instructions on how to ...
2
votes
1answer
441 views

How are some coins premined?

Did the developers of the various premined coins have to wait for those coins to be mined first or did they change the code to first issue themselves the premined coins? I'm referring to the list of ...
3
votes
3answers
1k views

What is a DNS seed node vs a Seed Node?

I've seen references to both strewn around. Specifically, is there a bitcoin client running at the DNS seeds or seed nodes?
3
votes
1answer
289 views

When did litecoin fork bitcoin?

I'm looking for the git tag of Bitcoin at the time of the fork as well as litecoin after the fork
1
vote
1answer
126 views

In the sourcecode, what does this line mean that recovers the key from the signature?

I understand that the public key (Q) can be extracted from a signature (r,s), but I'm having trouble understanding this line: if (!key.Recover(hash, &vchSig[1], (vchSig[0] - 27) & ~4)) The ...
2
votes
1answer
149 views

What is “safe mode” and how does it affect RPC Commands?

The source code here has a list of RPC commands and a "okSafeMode" parameter. What is the purpose of this SafeMode and how does it affect the usage of the client?
0
votes
2answers
686 views

Python code to generate private ECDSA key

Would this Python code generate a valid ECDSA private key? import random def r(a, b): sys_ran = random.SystemRandom() return sys_ran.randint(a, b) def create_private_key(): hex_chars = ...
2
votes
3answers
479 views

How is it possible that webservers with deterministic wallets can produce public keys without knowing the underlying private key?

I came across this quote on bitcoin.it: BIP_0032 elliptic curve mathematics permit schemes where one can calculate the public keys without revealing the private keys. This permits for example ...
2
votes
0answers
8k views

cgminer doesnt use my GPU

CentOS6 x64, build last cgminer with openCL support [ay@pandora6 log]$ sudo lshw | grep -i geforce product: G73 [GeForce 7600 GS] [ay@pandora6 log]$ uname -a Linux pandora6 ...
1
vote
1answer
142 views

Opening wallet.dat in python, using bsddb3

I'm trying to open wallet.dat using the bsddb3 module for Python 2.7. db = bsddb3.btopen("wallet.dat", "r") contents of db: {'main': '\x00\x00\x00\x02'} I have to Which is almost nothing. ls -l ...
0
votes
0answers
85 views

Is there a bitcoin source, fork available that does not include a GUI?

I would like to try to download and compile a barebones variation of the Bitcoin daemon. Specifically, I'd would prefer to not have a copy of the code with any GUI implementation. Does such a ...
4
votes
1answer
876 views

How to build Primecoin from source code on a mac?

How should one build the client for the new cryptocoin Primecoin from source code on a mac? The source can be found here: https://sourceforge.net/projects/primecoin/files/
1
vote
3answers
2k views

How would one go about creating a new alt-coin?

I'm looking to create an alt-coin for a club I'm a part of. All the members of the club will be mining this currency - and we will use it for trade between members. It will also be a learning ...
1
vote
1answer
118 views

What else can bitcoin inventory vectors be used for?

As described in the protocol specification bitcoin nodes respond to the inv command, which queries a node's knowledge of one or more objects, with an inventory vector. According to the bitcoin wiki, ...
8
votes
5answers
596 views

When does OpenCoin Inc intend to make the Ripple server code public?

Is there a definite timeline or not? Thank you.
0
votes
1answer
450 views

When building bitcoind from source, how to specify stable build?

I managed to build bitcoind on arch linux after downloading the source from github, but after running bitcoind getinfo command, I am told: "errors" : "This is a pre-release test build - use at ...
1
vote
0answers
736 views

How to build bitcoin from source on Arch Linux 2012.10 64bit?

Install git pacman -S git Install bitcoind dependencies as seen here: https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.txt pacman -S boost boost-libs miniupnpc openssl db Install ...
1
vote
1answer
17 views

Which function in which file verifies that transactions are the right size

Which file(s) are responsible for the procedure which confirms that transactions are well-formed, specifically that "Size in bytes < MAX_BLOCK_SIZE" as described in the Protocol Rules article on ...
2
votes
1answer
362 views

Good resource for understanding the peer to peer protocol sequence

I'm looking for a good explanation or reference on the peer to peer aspects of the two main bitcoin actors- the clients(wallets) and miners. Satoshi's white paper, in section 5. Network, gives a ...
5
votes
1answer
671 views

Where, in the code, in the Satoshi client is 21 million cap implemented?

Which fragment of the Satoshi client is verifying if announced block has a valid reward? I mean, we now live in the 25 BTC reward period. I guess client after receiving a newly minted block, does ...
8
votes
1answer
280 views

How are the seed nodes chosen?

I'm currently doing a research project about Bitcoin and I've particularily been investigating the seed nodes and I have two questions about them : How are they chosen ? Well, they have to be nodes ...
10
votes
1answer
2k views

getrawtransaction error? [Code -5]

I'm trying to read raw transactions but there is a problem; Seems like getrawtransaction only works for recent transactions, old transactions give me the next error: No information available about ...
0
votes
1answer
32 views

Source code: Where is address encoding performed?

I would like to experiment with having fewer characters (trimming a few characters at the end, and fewer checksum) for an address while still retaining enough for adequate security. I've looked into ...
4
votes
4answers
905 views

How to communicate between Java and bitcoind?

I am having problems communicating between Java and bitcoind - every JSON RPC library I try has some issues. Can anyone provide a working implementation of even the most basic JSON RPC communication ...
1
vote
1answer
61 views

Where is the part in code related to the installation on Linux/Mac and windows?

Where in the source code is the part related to the GUI and platform depended installation?
1
vote
1answer
143 views

What is main.cpp for in bitcoind? [closed]

What does the main.cpp source-code file do? I know what main.cpp files are for in general, but specifically in the case of bitcoin?