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)

2
votes
1answer
31 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
45 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
19 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 ...
-3
votes
0answers
24 views

Can BitCoin's source code be used to create a new virtual currency like bitcoin itself? [duplicate]

I am looking to create a new virtual currency such as bitcoin and was wondering how would i go about creating a new virtual currency which would be internationally recognized such as BitCoin?
0
votes
1answer
23 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
44 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
188 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
164 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
84 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
88 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
102 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
106 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 ...
1
vote
1answer
126 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
478 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
0answers
158 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: ...
1
vote
2answers
346 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
94 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 ...
1
vote
1answer
2k 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
576 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
406 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 ...
2
votes
3answers
947 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
286 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
107 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
113 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
1answer
562 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
412 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
7k 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
0answers
121 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
82 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
840 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
votes
2answers
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
100 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, ...
7
votes
5answers
578 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
352 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
675 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
328 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
610 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 ...
5
votes
0answers
227 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
1k 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
31 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
661 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
59 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
120 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?
5
votes
0answers
506 views

Has anyone ported the Bitcoin software to “pure” Clojure?

Has there been any attempt to rewrite Bitcoin in Clojure? I know about BitcoinJ, so I imagine that should be easy to port. But what about a "pure" version? Without calling Java directly? Easily ...
3
votes
1answer
1k views

Bitcoin charts for websites [closed]

Does anyone know of any good paid or open source software solutions for displaying Bitcoin charts on a customer facing website? There are three main types of charts we want to offer at this stage: ...
8
votes
3answers
563 views

Has anyone ported the Bitcoin software to plain C or Objective C?

I'm not a big proponent of either C++ or Boost. Has there been any attempt to rewrite Bitcoin in plain ANSI C, or maybe Objective C? Thanks.
2
votes
1answer
69 views

What does script operation “OP_IFDUP” do?

According to the wiki page, OP_IFDUP will duplicate the top of the stack "if the input is true or false". It seems to me that everything is true or false when interpreted as a boolean. According to ...
8
votes
1answer
367 views

Which of the open-source Bitcoin clients has the most thoroughly commented source code?

Learning from a source code is very useful at times, but it is a pain if the code is not commented well. Which of the open source Bitcoin software have the most thoroughly and understandably commented ...