Virtual Currency Cottage currency development process

Source: Internet
Author: User
Tags hash git clone

Key:

Altcoin generate, make altcoin, Bitcoin, Coingen

Key words:

Making cottage coins, cottage coins, bitcoin


Source code Address:

Https://github.com/imharrywu/fastcoin


Program Ape Friends can do their own compilation to build the installation package, there are problems can be directly Dabigatran discussion 161928517 (annotated: CSDN), also welcome the program ape Friend Pullrequest to me, only knowledge sharing can promote the prosperity of Bitcoin.


can support any algorithm (Sha256,scrypt,x11,x13,nist,grostel, and the concatenation of these algorithms) and parameter customization.


There are currently pre-built bitcoin SHA256 and the scypt of the Wright coins, as well as sha3-256 (Keccak).


Online compilation currently offers three types of installation packages:

1,linux/unix Daemon Program (with wallet function)

2,MAC Wallet Installation Package

3,windows Wallet Installation Package


1. Screenshot preview (1) Installation Figure 1


(2) Installation Figure 2


(3) installation Figure 3


(4) Installation Figure 4


(5) Installation Figure 5



(6) The overview map has been dug to 3 blocks to reward 300 FTC


(7) Transaction History Chart


(8) Click to show the transaction details shown as mining proceeds and not yet confirmed


(9) copyright page


(10) Debug Window



(11) Show connected peer network Node A node that is running inside a virtual machine



(12) 2 node-to-peer communication network



2, the change of the cottage currency steps: (1) Move out of the latest Bitcoin source code

Bitcoin Official code: Https://github.com/bitcoin/bitcoin

Fake currency code address (immediately following bitcoin update): Https://github.com/imharrywu/fastcoin

git clone https://github.com/imharrywu/fastcoin


The changes are all snippets of code, please use Eclipse to open the evicted code and view it in comparison.


(2) Modifying the Genesis block

Source file Chainparams.cpp

[CPP]  View Plain  copy/**   * build the genesis block. note that  the output of the genesis coinbase cannot   * be spent  as it did not originally exist in the database.   *     * cblock (hash=000000000019d6, ver=1, hashprevblock=00000000000000,  Hashmerkleroot=4a5e1e, ntime=1231006505, nbits=1d00ffff, nnonce=2083236893, vtx=1)    *   ctransaction (hash=4a5e1e, ver=1, vin.size=1, vout.size=1,  nlocktime=0)    *     ctxin (COutPoint (000000, -1), coinbase  04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206 261696c6f757420666f722062616e6b73)    *     ctxout (nValue=50.00000000,  Scriptpubkey=0x5f1df16b2b704c8a578d0b)    *   vMerkleTree: 4a5e1e   */     // harrywu, generate genesis block by genesis.py as  following:  //  // localhost genesis # python genesis.py \   //                             -t $ (date +%s)  \   //                             -z  "Shanghai stock index  closed at 2343.57, on 24th sept., 2014 " \  //                              -a SHA256 \  //                              -p  049e02fa9aa3c19a3b112a58bab503c5caf797972f5cfe1006275aa5485a01b48f9f648bc5380ee1e82dc6f474c8e0f7e2f6bbd0de9355f92496e3ea3 27ccb19cc \  //                             -v 10000000000   

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.