Bitcoin broadband
As long as the basic independent broadband on the line, there is no demand for network speed
1) new transactions broadcast to the whole network
2) each node brings the received transaction information into a block
3) each node tries to find a workload proof with enough difficulty in its own block
4) when a node finds a workload proof, it broadcasts to the whole network
5) if and only if all the transactions contained in the block are valid and have not existed before, other nodes agree with the validity of the block
6) other nodes indicate that they accept the block, and the method of indicating acceptance is to follow the end of the block, create a new block to extend the chain, and regard the random hash value of the accepted block as the random hash value that is faster than the new block
hope to help you.
the P2P network structure adopted by bitcoin is not just the choice of topology. Bitcoin is designed as a point-to-point digital cash system, and its network architecture is the reflection and cornerstone of this core feature. Decentralized control is the core principle of design, which can only be achieved by maintaining a flat and decentralized P2P consensus network
each node in bitcoin P2P network is peer-to-peer, but according to the different functions provided, the division of labor of each node is not the same. Each bitcoin node is a functional set of routing, blockchain database, mining and wallet services. A bitcoin network node includes four functions: wallet, miner, complete blockchain and network routing node
some nodes keep a complete and up-to-date of the blockchain, which is called "all nodes". The whole node can independently verify all transactions without any external reference. In addition, some nodes only retain part of the blockchain, and they complete transaction verification through a method called "simple payment verification (SPV)". Such a node is called "SPV node", also known as "lightweight node"
mining nodes create new blocks in a competitive way through proof of work (POW) algorithm running on special hardware devices. Some mining nodes are also full nodes, keeping a complete of the blockchain; There are also some nodes involved in the mining of the mine pool, which are lightweight nodes, and they must rely on the whole node maintained by the mine pool server to work
User wallets can also be used as part of the whole node, which is common in desktop bitcoin clients. At present, more and more users' wallets are SPV nodes, especially bitcoin wallets running on resource constrained devices such as smart phones, which is becoming more and more common.
P2P network (peer-to-peer, referred to as P2P), also known as peer-to-peer network, also known as peer-to-peer network. This is a kind of Internet system without central server and completely exchange information by client
the central network system with a central server can be described in the following figure:
and the P2P network can be understood in the second figure. The P2P network can be understood in the second picture
different from the central network with central server, each client in P2P network is a client node and has the function of server. An important goal of P2P network is to enable all clients to provide resources, including bandwidth, storage space and computing power. The capacity of such a network can be much larger than that of a network with a central server. In the network of central server structure, every time you add a client, it means that the data transmission speed of all users will be reced, but P2P network will not
The robustness ofP2P network is much better than that of the central server network. Because as long as there is a problem with the central server, the whole network will collapse. However, if any client of P2P network has problems, the whole network still works normally
