Bitcoin full node and mining node
a node is a network node in the blockchain distributed ledger system. By connecting servers, computers and other devices through the network, different types of blockchains have different ways to become nodes. For example, bitcoin participates in trading and mining, and EOS participates in election campaign to become a node
the following is what is a bitcoin full node
bitcoin full node is the node that downloads and preserves complete blockchain data by loading bitcoin clients (including bitcoin unlimited and bitcoin)
because of the congestion of the blockchain transaction network, the author solves the problem by adjusting the broadcast communication, information encryption and decryption, consensus mechanism and transaction verification mechanism. In the whole bitcoin network, from miners to ordinary users can be regarded as a node in the bitcoin network, but because bitcoin has the characteristics of multi centralization, In the whole network, its important role is "bitcoin all nodes."
1) wallet. It's used to store your bitcoin balance. In principle, as long as you have the private key of your own bitcoin address, you can use your own bitcoin
2) verify the transaction or payment. After receiving the transaction, the bitcoin node will use certain algorithms to verify the validity of a transaction. If you only change the balance of bitcoin in your computer, others will not recognize it. Similarly, your wallet will not recognize the transaction changed by others
3) mining. Core wallet can start mining function through a command to join the mining army, while SPV wallet usually can't (SPV is just passing by). However, it is not the node type that hinders home computer mining, but the rapid development of professional mining machines. Compared with ordinary computers, the computing power of ordinary computers is very small. Mining by ordinary computers is like digging your own backyard with a hoe, and then expecting to dig out gold
because of the demand of bitcoin users, bitcoin exchange was born. The exchange provides a place for centralized trading. People put money on the exchange, and the exchange will match and trade together, similar to stocks and securities. Therefore, banning exchanges does not mean banning bitcoin. Bitcoin network cannot be banned. Bitcoin is sent to the exchange's wallet, and all you see is a balance given to you by the exchange. In fact, you no longer have your own bitcoin. Bitcoin network is global. Where there is a network, there will be bitcoin. After the exchange closes, bitcoin will not disappear, but will return to where it should be.
first of all, the cost of hard disk has dropped from the lowest of US $0.025/gb in 2017 to US $0.15/gb, a 40% drop in three years. If this rate of decline continues, then by 2022, the decline rate of hard disk home will be faster than the growth rate of bitcoin, because over time, hosting a full node will be more economical
however, there are some technical solutions to solve this problem, which can rece the storage burden of the whole node. One of the most common solutions is light node. These nodes use a simplified payment verification method to verify transactions. Users only need to download a small part of the blockchain, but they need to rely on the third-party full node hosting the whole blockchain.
speaking of bitcoin, it can be hot recently. The Internet is discussing this mysterious currency everywhere, even in the economic journal. Newspapers are discussing the feasibility. Bitcoin is popular among computer geeks. These people are yearning for freedom. It is said that when Nakamoto published his paper, bitcoin has become increasingly popular. Many foreign websites and even shopping have accepted bitcoin payment, but domestic ones are relatively few. The value of bitcoin is relatively high now. It is worth more than 300 US dollars and more than 1000 RMB yuan, which is very attractive. But it is just a stock, which goes up and down. It's more risky than special procts. Please be careful when you enter the trade
today, I'll write down my experience and tools in bitcoin exploration. I'm also a novice. I'd like to share with people who love bitcoin
1. Download your bitcoin e-wallet first. There is bitcoin client on the Internet. It doesn't need to be registered. It is bound to your computer by default. After downloading and installing, it will change your network data block. This is enough. I heard that it is to download all the information of network nodes. It's global. How big should it be? I've updated it for several days and finished downloading the data block
bitcoin client interface:
2. The interface is relatively simple. With this client, you can make bitcoin payment and collection. You can see a string of numbers and letters below by clicking on the circle in the figure below. You can the string and send it to others. If you give the bank card account number to others, they can pay. You can click "send currency" and paste the account number sent by others to pay for bitcoin. There is no third party in this process, So it's safe
3. How to mine is also an important way to proce bitcoin. Mining tool is guiminer, it is a green package, that is, folder, do not need security, download it directly decompression can be used, find the icon below, double-click to run
interface:
4. If you have a tool, you need to find a good place to proce minerals, that is, a mine pool. Now the output of bitcoin is less and less. If you dig bitcoin, you don't know when and when. If you are a Galaxy series supercomputer, let's talk about it separately. Personal computers can be ignored. There are many mines, But it is known as deepbit, the world's largest mining pool of bitcoin. Its website is
https://deepbit.net/ Log in to the website to register an account. Click my account
5, enter my account information, here you can see your miner information, how much bitcoin your account has, C contribution
6, specific settings of my account< br /> 1、< Your bitcoin address to receive payment: & gt; In the box, enter the address where you accept bitcoin. Don't write it wrong, or you'll be digging for nothing. The picture and text above have said that
2. Minimum value of automatic payment: set by yourself. When you have so much money in the mine pool, the website will automatically type the money to your bitcoin account address set above. You see, the above settings are important
3 to set up miners, click create new vorker, Chinese is to create new miners, miners can help your mining workers, you can set up more than one, and then dig in a lot of computers, the effect is more obvious, the income is more rich
just write the name casually, to write in English, foreign things better write in English
write the password by yourself, don't write it too long, it's just simple, it's not important
failure detection threshold (1-3600 minutes): just write 60,
send email notification when the miner doesn't work? *: Choose decisively, refuse spam,
payment method for miners: choose decisively, pull according to proportion, pay more for more work, which is in line with human development
finally, click Sava setting to save your miner, and you can see your miner's information when you return
7. Fill the miner information into the mining tool guiminer,
file - & gt; new opencl miner-> Fill in your favorite name - "sever" select deepbit - "user name to fill in the miner's, remember to connect your registered account with your mailbox and miner's, there is a password on it, you know, device is to choose what hardware you use to work, usually with a graphics card, select the graphics card you want to use, if you can't find it, remember to update the graphics card driver, Then start mining. You can sit and wait for the ore to be collected. The specific speed depends on your computer configuration
note: there are many ore pools and tools, but I won't introce them to you, just because I use what I said above. Whoever uses knows, there will be a place to speak, and I may not understand others. Be careful, the electricity bill is not enough. If you really have it, you can buy and sell bitcoin on China bitcoin network and exchange it for real gold, right.
Bitcoin is actually a virtual currency. When bitcoin first appeared, if you want to get bitcoin, you have to get bitcoin through mining. Therefore, bitcoin mining appeared. But bitcoin mining is more and more difficult, so it is very difficult to get bitcoin now
so now many people use Haru miner digs Ethereum, Monroe and other virtual coins. Most importantly, BTC can be directly equivalent in the end
does each node have complete blockchain data? You mean a user node? A user node needs to keep the of the block head of the longest workload proof chain, so it knows the data of all the block heads. It can move forward to know all the data on the block chain, but not all of them are saved. A block header is very small, only 80 bytes, which can be saved completely, because the generation of nodes is very slow. Even with the passage of time, the amount is not too large now.
Although many investors know nothing about bitcoin mining, they still can't resist the temptation of bitcoin price and plan to invest in the mining army. So if you also want to mine, I believe you will have a question in your heart: "what is a bitcoin miner? What is the principle of bitcoin mining machine? " To solve this problem, let's remember some popular science today
origin of bitcoin
to fully understand the origin of bitcoin, we have to mention the existing financial system
bitcoin mining machine specially used for mining. The popular digital currencies in 2013 include bitcoin, Leyte coin, zeta coin, pennies (Internet), invisible gold bar, red coin, pole coin, BBQ coin and prime currency. At present, hundreds of digital currencies are issued all over the world
with the orderly implementation of cashless society, banknotes will inevitably disappear in the long river of history with the passage of time. The future digital currency is believed to be similar to bitcoin, but it is by no means a limited supply. But when the human ability to proce wealth can be completely matched by the computing power of the computer, the issuing speed of e-money is directly proportional to or slightly exceeds the computing speed of the computer to create moderate inflation. In the future, while mining, it is also creating value rather than wasting electricity. In the end, the small changes in proctivity of digital currency match the difficulty of computing power, which may be the final form of human currency
the content of this article comes from: financial code of the people's Republic of China: application edition, China Law Press