Calculated force
POW: full name of proof of work
pos: proof of stake
both of them are the consensus mechanism of blockchain and the bookkeeping method of digital currency
the difference is:
1. POW mechanism: workload proof mechanism, that is, the proof of workload, is the requirement that must be met when generating a new transaction information (that is, a new block) to be added to the blockchain. In the blockchain network based on workload proof mechanism, the ability of nodes to obtain the correct numerical solution to generate blocks by calculating the numerical solution of random hash hash is the specific performance of node computing power
POS mechanism: the proof of rights and interests requires the certifier to provide a certain amount of ownership of cryptocurrency. The operation mode of the proof of rights and interests mechanism is that when creating a new block, the miners need to create a "currency right" transaction, and the transaction will send some coins to the miners themselves according to the preset proportion. According to the proportion and time of token owned by each node, the equity proof mechanism reces the mining difficulty of nodes proportionally according to the algorithm, so as to speed up the speed of searching for random numbersextended materials:
the concept of bitcoin was first proposed by Nakamoto in 2009. According to Nakamoto's ideas, the open source software and the P2P network on it were designed and released. 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. It is generated by a large number of calculations based on specific algorithms. Bitcoin economy uses the distributed database composed of many nodes in the whole P2P network to confirm and record all transactions, and uses the design of cryptography 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 ranking of digital currency can be measured according to multiple dimensions, such as market value, technical ability, landing in Cheng, 24-hour rise and fall, 24-hour turnover list, 24-hour turnover rate, etc. For the sake of data accuracy, we list the ranking of virtual currencies in the market value list<
let's first look at the data to see how the Ministry of instry and information technology measures the value of digital currency:
saidI Research Institute of the Ministry of instry and information technology officially announced the first global public chain technology evaluation index and ranking. Eth ranked first with a total index of 129.4, while BTC only ranked 13th<
moreover, the ranking method this time is that CCID Research Institute of MIIT does not mention cryptocurrency, but only public chain. The first list of evaluation objects are: bitcoin, Ethereum, reborn, Leyte, bitcoin cash, Cardano, starcoin, Neo, eota, Monroe, dasey, Xinjing, Ethereum classic, quantum chain, Nanor, application chain Big zero coin, verge, stratis, cloud storage coin, stim coin, bitstock, byte coin, wave coin, deced, super cash hcash, Comodo coin, ark. The top ten in the list are eth, stem, LSK, Neo, KMD, XLM, ADA, iota, XmR and strat<
If ranked by market value, the results will be much different: the following data are based on Niuniu app, and the market value represents the first place at the time of writing: bitcoin (BTC)
current price: 26428 yuan, market value: 460.018 billion yuan, total amount of CDB: 21 million, circulation volume: 17.406 million, and circulation market value: 460.207 billion yuan, Issue time: 2009.01.03
second place: XRP
current price: 236 yuan, market value: 95.192 billion yuan, total issue volume: 100 billion yuan, circulation volume: 40.327 billion yuan, circulation market value: 95.181 billion yuan, issue time: 2011.04.18
third place: eth
current price: 734 yuan, market value: 76.136 billion yuan, total issue volume: 104 million yuan, Circulation volume: 104 million, circulation market value: 76.136 billion, issue time: July 24, 2014
fourth place: Star currency (XLM)
current price: 98 yuan, market value: 18.834 billion, total issue: 104.523 billion, circulation volume: 19.155 billion. Circulation market value: 188.43 yuan. Issue time: 2014.08.01
fifth place: bitcoin (BCH)
market value: RMB 137.700 billion, currency price: RMB 810.175, total currency: RMB 21 million, bitcoin cash released on August 1, 2017, jointly created by some bitcoin developers, belongs to the new version of bitcoin. From 2015 to 2017, the price of bitcoin rose rapidly. Different factions competed fiercely for more computer network resources. In order to get out of the competitive environment, one camp created another version and rebuilt the blockchain currency. Bitcoin cash modifies the code of bitcoin, increases the block size to 8m, adopts two-layer network, reces the workload of bitcoin network, and maximizes the efficiency of bitcoin network without damaging the original structure and security of bitcoin blockchain
with the integration of the two exchanges of okex and Huo yuan.com, yuanniuniu can share the trading depth and enjoy the treatment of zero handling charge fund transfer. It only needs to download an app to exchange transactions at both ends. At the same time, yuanniuniu is also a good market software tool, which can help speculators master the latest currency price trends and large positions.
< < secret > > (
]
< ikoi >
< < / > < < / / > < < / > < < / / > < < / > > < < / > / > > >
< < > > > < > > < < > > > < < > > < < > > > < < > > < < > > < < > > > < < > / > < < > / >
< < < < / > > < < > / >
< < > < > > > < > / >
< br
The basic death of the kajiura dialect, the great God God = =! That's why I took it. Zodiacal sign
< < < / > < Salva NOS}
< a song of storm and fire}
You are directly in the garden of sinners
例如:
点击(此处)折叠或打开
[root@localhost tmp]# python
Python 2.6.6 (r266:84292, Dec 7 2011, 20:48:22)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] on linux2
Type "help", "right", "credits" or "license" for more information.
>>> import MySQLdb
Traceback (most recent call last):
File "", line 1, in <mole>
ImportError: No mole named MySQLdb
果然是没有安装啊
1. 下载
安装MySQLdb模块,MySQLdb的下载页面下载
我下载的是MySQL-python-1.2.3.tar.gz
地址:http://jaist.dl.sourceforge.net/project/mysql-python/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz
2. 安装
理论安装步骤:
# tar xvf MySQL-python-1.2.3.tar.gz
# cd MySQL-python-1.2.3
# python setup.py build
# python setup.py install
不过实际遇到一些问题:
问题1:ImportError: No mole named setuptools
好吧,需要安装setuptools
官网页面:https://pypi.python.org/pypi/setuptools#installation-instructions> wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
> python ez_setup.py --user
问题2:error: command 'gcc' failed with exit status 1
额 新装的系统,啥都没装呢
# yum -y install gcc
