Bitcoin Forum
July 02, 2024, 01:20:10 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency on: December 15, 2013, 03:16:36 AM
I've been looking through the Litecoin source code, and I am interested in possibly creating an alt-coin, but I wouldn't want it to be a cookie cutter coin.

I have a few ideas for implementation that would involve changes to the block-chain database information as well as changes to the data sent and received from miners for security and anonymity purposes. My biggest problem at this point is the fact that the documentation is not well commented, and it's a bit tough to follow. (also I have not actively coded in C++ in 5+ year)

Does anyone have a good reference with detailed explanations or is there a different crypto that has better documented source code?  At this rate it will take me quite a bit of time to just identify the areas that will need to be modified.

Any advice would be greatly appreciated.

This guide tells you exactly what to change and where to change it right down to the filename and line number... Not sure what it is you are looking for...

The guide gives good detailed information about changing information like block generation times, total number of coins and generating a more or less "cookie cutter" crypto currency based on the scrypt algorithm.  What I'm thinking of doing is altering the block-chain database with addition information, changing the way coins are distributed, changing the algorithms for mining as well as how mining is done, and removing the hard cap on total coins and replacing it with some small form of adjusted inflation.  

EDIT:  With the help of cinnamon_carter, I have figured out how/where to adjust block reward for inflation.  For anyone check out "int64 static GetBlockValue(int nHeight, int64 nFees)" of main.cpp. I have not yet determined if it will conflict with anything else.

What I intend to do is quite invasive in comparison to what this guide explains.  I was hoping to cut down on research time by having a discussion with someone who has done extensive work modifying the source code.
2  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency on: December 15, 2013, 02:30:07 AM
I've been looking through the Litecoin source code, and I am interested in possibly creating an alt-coin, but I wouldn't want it to be a cookie cutter coin.

I have a few ideas for implementation that would involve changes to the block-chain database information as well as changes to the data sent and received from miners for security and anonymity purposes. My biggest problem at this point is the fact that the documentation is not well commented, and it's a bit tough to follow. (also I have not actively coded in C++ in 5+ year)

Does anyone have a good reference with detailed explanations or is there a different crypto that has better documented source code?  At this rate it will take me quite a bit of time to just identify the areas that will need to be modified.

Any advice would be greatly appreciated.
3  Bitcoin / Development & Technical Discussion / Making a miner on: April 14, 2013, 12:09:07 AM
In an effort to understand what a miner is doing and what the data for the bitcoin mining actually is, Im going to make a miner.  The first step is research and im having some issues with what the information means.

It appears to me that the general idea is

1) RPC[GetWork] get the necessary data

2) take the first 80 bytes of the data field (640 bits), convert its endian-ness (dont remember if its big or little)

3) perform SHA256 on the data

4) perform SHA256 on the output of the SHA256

5) if it is less than the target send it to the server, otherwise add one (or some arbitrary value) to the nonce and return to step 3


Do I have a pretty good understanding of what is going on here?

4  Alternate cryptocurrencies / Altcoin Discussion / Re: Ripple Giveaway! on: April 13, 2013, 07:43:58 PM
rDRiJYUhHBbgWhLY7fg1qvBjkpkXXUbNVX
5  Other / Beginners & Help / Re: 4 x 7950 Rig on: April 13, 2013, 04:48:50 PM
how many BTC do you make per day?  Is it profitable vs the power consumption?
6  Other / Beginners & Help / Re: Dont Use Bitfloor!!! on: April 13, 2013, 02:13:27 PM
how long did it take you to make the money?
7  Other / Beginners & Help / Re: Hi - Please help my friend in getting back his 30,000 bitcoins! on: April 13, 2013, 01:53:07 AM
yea i agree with the guy above me. But first go to the cops and offer them a few hundred bucks for it and tell them your friend has family photos and stuff that are invaluable.  Thats alot of cash and it would be worth paying whatever its worth to get it.  Worse case they should be able to tell you what lot it is being sold in do you can buy it
8  Other / Beginners & Help / Re: Shorting BTC on: April 13, 2013, 01:35:51 AM
yea the "currency" seems to be too volatile for anyone to even begin to think about borrowing and lending right now... also there would be little recourse if someone were to just take the coins that they "borrowed"  its not like you can put a lein on someone elses wallet.....
9  Other / Beginners & Help / Re: Work units started on vs proofs accepted - BitMinter on: April 13, 2013, 01:32:46 AM
as i understand it (correct me if i am wrong), your miner will start a block and try to solve it. if someone else's miner solves it before you do, your computer will start a new block without finishing the last one.  does that help?
10  Other / Beginners & Help / Re: Introduce yourself :) on: April 13, 2013, 01:27:04 AM
hello community, im here for the free post :-p.  I plan on working with FPGA's... maybe
11  Other / Beginners & Help / Re: Anyone actually know someone who has (or is getting) a butterfly labs mining rig on: April 13, 2013, 01:19:12 AM
^^ thats what i heard too.  Can anyone confirm that its not vapor-hardware?
12  Other / Beginners & Help / Re: Bitcoin price stability on: April 13, 2013, 01:16:59 AM
I really like the idea of bitcoin, but i agree with you that its volitality is going to be a big hurdle in the marketplace.  I think it will be a few years before it stabilizes in any real capacity, the main reason being that at this point in the game there is still a large influx of coins and of new potential owners of bitcoins.  Im really curious where the price will go over the next few days because of the massive drop.
13  Other / Beginners & Help / How a miner works on: April 13, 2013, 12:59:38 AM
Hello community,

Im trying to figure out exactly how the miner works and what it is doing.  I think I have a good idea but I would really appreciate it if someone with a coding background could help out. (I have done quite a bit of programming in the past and the hardest part of this for me is understanding what someone else's code does)

What im hoping for is a step by step on what it actually does, possibly in a pseudocode format.

Also i would like to know if there is a simulation i can test my code against to verify that it works?

At this point i have no code because i dont quite understand what is going on.  I would like to contribute and perhaps a detailed post on what happens could be beneficial to more people than just me.

Hopefully one of you veteran coder/miners can help me out.

Thanks!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!