Position: Home page » Bitcoin » BTC compilation

BTC compilation

Publish: 2021-04-17 09:33:04
1. As a reminder, bitcoin has been exploited to the end. The principle of bitcoin program determines that the longer the generation interval is, the longer the time to generate a bitcoin may have exceeded its value. After all, we have to consider the power consumption and time of the mining computer. Although bitcoin is still very popular, it's a bit late to start now, and it's unlikely to make money.
2.

Bitcoin is a kind of electronic currency / network virtual currency

bitcoin: also known as "bitcoin", is a kind of network virtual currency. Internet users can use bitcoin to buy some virtual goods, such as clothes, hats, equipment, etc. in online games. Internet users can also use bitcoin to buy real goods

on February 26, 2014, Joe Manchin, a Democratic senator from West Virginia, issued an open letter to a number of regulatory authorities of the US federal government, hoping that the relevant authorities would pay attention to the status quo of bitcoin's encouraging illegal activities and disrupting the financial order, and demanded that actions be taken as soon as possible to completely ban the electronic currency

from 12:00 noon on January 24, 2017, China's three major bitcoin platforms officially began to collect transaction fees

extended data:

currency features:

1, decentralization: bitcoin is the first distributed virtual currency, the whole network is composed of users, and there is no central bank. Decentralization is the guarantee of bitcoin's security and freedom

2, global circulation: bitcoin can be managed on any computer connected to the Internet. No matter where you are, anyone can dig, buy, sell or collect bitcoin

3, exclusive ownership: private key is needed to control bitcoin, which can be stored in any storage medium in isolation. No one can get it except the user himself

4, low transaction cost: bitcoin can be remitted free of charge, but a transaction fee of about 1 bitfen will be charged for each transaction to ensure faster transaction execution

5, no hidden cost: as a means of payment from a to B, bitcoin has no cumbersome limit of quota and proceres. If you know the other party's bitcoin address, you can pay

6, cross platform Mining: users can explore the computing power of different hardware on many platforms

advantages of bitcoin:

1, it is completely decentralized, without issuing institutions, it is impossible to manipulate the number of issues. Its distribution and circulation are realized through open-source P2P algorithm

2, anonymity, tax exemption and supervision free

3, robustness. Bitcoin is completely dependent on P2P network and has no distribution center, so it cannot be shut down externally. Bitcoin price may fluctuate and collapse, and many governments may declare it illegal, but bitcoin and its huge P2P network will not disappear

4, borderless and cross-border. Cross border remittance will go through layers of exchange control agencies, and the transaction records will be recorded by many parties. But if you trade with bitcoin, enter the digital address directly, click the mouse and wait for the P2P network to confirm the transaction, a lot of money will pass. It does not go through any regulatory agencies and will not leave any cross-border transaction records

5, Shanzhai people are difficult to survive. Because bitcoin algorithm is completely open source, anyone can download the source code, modify some parameters, recompile, and create a new P2P currency

but these counterfeit currencies are very fragile and vulnerable to 51% attacks. Any indivial or organization, as long as it controls 51% of the computing power of a P2P currency network, can manipulate transactions and currency value at will, which will be a devastating blow to P2P currency

many counterfeit coins die in this link. The bitcoin network is robust enough. If you want to control 51% of the computing power of the bitcoin network, the number of CPUs / GPUs required will be astronomical

the weakness of bitcoin

1, the fragility of trading platform. The bitcoin network is robust, but the bitcoin trading platform is fragile. Trading platform is usually a website, which will be attacked by hackers or shut down by competent authorities

2, the transaction confirmation time is long. When bitcoin wallet is first installed, it will consume a lot of time to download historical transaction data blocks. While bitcoin transaction, in order to confirm the accuracy of data, it will take some time to interact with P2P network, and the transaction will be completed only after the whole network is confirmed

3, the price fluctuates greatly. Due to the intervention of a large number of speculators, the price of bitcoin for cash fluctuates like a roller coaster. Making bitcoin more suitable for speculation rather than anonymous trading

4, the public did not understand the principle, and the traditional financial practitioners resisted. Active netizens understand the principle of P2P network and know that bitcoin has no legal person to manipulate and control

but the public doesn't understand, and many people can't even distinguish between bitcoin and q-coin“ "No issuer" is the advantage of bitcoin, but in the view of traditional financial practitioners, "no issuer" currency is worthless

3.
  1. the concept of bitcoin was first proposed by Nakamoto in 2009. According to Nakamoto's idea, open source software was designed and released, and P2P network was built on it. Bitcoin is a kind of P2P digital currency. Point to point transmission means a decentralized payment system

    Unlike most currencies, bitcoin does not rely on specific currency institutions to issue. It is generated by a large number of calculations based on specific algorithms. Bitcoin economy uses a distributed database composed of many nodes in the whole P2P network to confirm and record all transactions, and uses cryptography design to ensure the security of all aspects of currency circulation. The decentralized nature and algorithm of P2P can ensure that it is impossible to artificially manipulate the value of bitcoin through mass proction. The design based on cryptography can make bitcoin only be transferred or paid by the real owner. This also ensures the anonymity of money ownership and circulation transactions. The biggest difference between bitcoin and other virtual currencies is that the total amount of bitcoin is very limited and it has a strong scarcity

4. Different stocks are going up because of their good performance, that is to say, the strength of the company is improving and becoming more and more valuable. Virtual currency is going up because it is as rare as stamps. One hundred sets of this one is not available, so it's expensive. But the question is, does anyone accept the offer? In case there are many virtual currencies coming out tomorrow, XX currency, XXX currency, that is, the number of bitcoins is certain It's not like gold. There's so much gold. But virtual currency is virtual code. It says that writing can write gold. Can you make it more? So virtual currency is not the mainstream, but the most auxiliary thing. The value is not too high. Don't think that people are good when they buy. People follow too much. In the past, Auntie was crazy when she bought gold. Now why is she rational Money ah, stocks, migrant workers have bought stocks, and now how not to buy or lose money, real estate is also the same, and so many years after the collapse will be rational
5. The old BSC is converted into optical signal through 2m line to SDH multiplexing equipment, and then the optical transmission network to the transmission equipment on the base station side is converted into 2m line to form electrical signal to the base station (BTS)

the new BSC is basically optical port BSC. Go directly to SDH or PTN equipment on the transmission side, go to the base station side through the transmission network, and convert it into 2m electrical signal to the base station (BTS). Some base station equipment support the optical port, and may be directly inserted into the optical fiber.
6. 你要编译windows版的比特币程序,基本上有两种方法,一种是在linux平台
(推荐ubuntu 13.10)通过交叉编译的方法来编译.另外一种,就是直接在windows平台编译.
我想,你既然要在windows平台使用,我就详细介绍一下如何在windwows平台编译比特币程序.
我的平台:windows7
第一步:安装变编译环境QT和MINGW,msys
1、msys是一个在windows平台模拟shell的程序

下载安装程序之后,通过安装管理程序,按安装以下内容:
From MinGW installation manager -> All packages -> MSYS
选中以下安装包
msys-base-bin
msys-autoconf-bin
msys-automake-bin
msys-libtool-bin
点 apply changes开始安装他会自动下载安装好
需要注意的是,确保不要安装msys-gcc和msys-w32api ,因为这两个包和我们的编译系统发生冲突
很多人出现一些莫名其妙的问题,就是因为这两个包
2、安装 MinGW-builds
下载并解压缩 i686-4.8.2-release-posix-dwarf-rt_v3-rev3.7z 到C盘根目录 C:\
注意我的目录结构你尽量和我一样
3、设置PATH环境变量,将C:\mingw32\bin;添加到第一个
4、在命令行模式下输入 gc -v 会得到以下内容
c:\gcc -v
Using built-in specs.
COLLECT_GCC=c:\mingw32\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw32/bin/../libexec/gcc/i686-w64-mingw32/4.8.2/lto-wrapper.exe
Target: i686-w64-mingw32
Configured with: ../../../src/gcc-4.8.2/configure --host=i686-w64-mingw32 --build=i686-w64-mingw32 --target=i686-w64-mingw32 --prefix=/mingw32 --with-sysroot=/c/mingw482/i686-482-posix-dwarf-rt_v3-rev3/mingw32 --with-gxx-include-dir=/mingw32/i686-w64-mingw32/include/c++ --enable-shared --enable-static --disable-multilib --enable-languages=ada,c,c++,fortran,objc,obj-c++,lto --enable-libstdcxx-time=yes --enable-threads=posix --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --disable-sjlj-exceptions --with-dwarf2 --disable-isl-version-check --disable-cloog-version-check --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=i686 --with-tune=generic --with-libiconv --with-system-zlib --with-gmp=/c/mingw482/prerequisites/i686-w64-mingw32-static --with-mpfr=/c/mingw482/prerequisites/i686-w64-mingw32-static --with-mpc=/c/mingw482/prerequisites/i686-w64-mingw32-static --with-isl=/c/mingw482/prerequisites/i686-w64-mingw32-static --with-cloog=/c/mingw482/prerequisites/i686-w64-mingw32-static --enable-cloog-backend=isl --with-pkgversion='i686-posix-dwarf-rev3, Built by MinGW-W64 project' --with-bugurl=http://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -I/c/mingw482/i686-482-posix-dwarf-rt_v3-rev3/mingw32/opt/include -I/c/mingw482/prerequisites/i686-zlib-static/include -I/c/mingw482/prerequisites/i686-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -I/c/mingw482/i686-482-posix-dwarf-rt_v3-rev3/mingw32/opt/include -I/c/mingw482/prerequisites/i686-zlib-static/include -I/c/mingw482/prerequisites/i686-w64-mingw32-static/include' CPPFLAGS= LDFLAGS='-pipe -L/c/mingw482/i686-482-posix-dwarf-rt_v3-rev3/mingw32/opt/lib -L/c/mingw482/prerequisites/i686-zlib-static/lib -L/c/mingw482/prerequisites/i686-w64-mingw32-static/lib -Wl,--large-address-aware'
Thread model: posix
gcc version 4.8.2 (i686-posix-dwarf-rev3, Built by MinGW-W64 project)
至此,你的开发环境已经搭建好了,很简单吧
7. As a matter of fact, bitcoin programs are cross platform.
there are basically two ways to compile bitcoin programs for windows. One is to compile bitcoin programs on Linux platform by cross compiling. The other is to compile bitcoin programs directly on Windows platform.
I think that since you want to use bitcoin programs on Windows platform, I will introce how to compile bitcoin program on Windows platform in detail.
My platform: windows7
Step 1: install QT and MinGW, msys

in this way, you will get bitcoin-cli.exe and bitcoin.exe, bitcoin-qt.exe (Windows QT graphical interface software)
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750