How to connect the nodes in the blockchain network
blockchain is composed of a series of blocks generated by cryptographic algorithm. Each block is filled with transaction records, and the blocks are connected in sequence to form a chain structure, which is the blockchain ledger
taking bitcoin as an example, when miners generate new blocks, they need to calculate the new hash value and random number according to the hash value of the previous block, the new transaction block and the random number. In other words, each block is generated on the basis of the previous block data, which ensures the uniqueness of the blockchain data
because subtle changes in transaction records will completely change the result of hash value, miners can't cheat when competing for computing power. Each miner must wait until the previous block is generated before starting to calculate the qualified random number according to the data of the previous block, which ensures the fairness of mining.
the Internet of things uses blockchain as a communication bridge between things. In order to achieve this, we can use
the programmability provided by Ethereum, which is not only to let people's property be tracked and registered. It has some new uses. Under various methods and rules, Ethereum blockchain embedded in the car key can be sold or rented to generate a new P2P for renting or sharing cars. Further, some people talk about the application of this technology to make self driving cars a social public resource. Under pre-set proceral rules, such vehicles can store their own digital money to pay for them from renting fuel, repairs and parking spaces.
According to experts, blockchain can be understood as a distributed public ledger, which is connected by various blocks into a chain. In the traditional bookkeeping system, the bookkeeping right is controlled by the central server
on the "account book" of blockchain, every point in the chain can record information on it, forming a point-to-point accounting system. Therefore, blockchain technology is considered as a decentralized technology
For example, in a village of 100 people, Zhang San bought a cow from Li Si and paid him 10000 yuan. In the past, he had to rely on Zhao Liu, a middleman, to transfer his 10000 yuan to Li Siwith the blockchain system, Zhang San can directly record his 10000 yuan to Li Si's account book, and the transaction information will be transmitted to the whole village, that is, the whole blockchain system, so that other 98 people can see the information. The whole transaction process is recorded by the system, which has the advantage of traceability to prevent the loss of Zhao Liu's account book or Li Si's denial of account
extended data
in 2008, Nakamoto first proposed the concept of blockchain. In the following years, blockchain became the core component of electronic currency bitcoin: as a public account book for all transactions. By using peer-to-peer network and distributed timestamp server, the blockchain database can be managed independently
the blockchain invented for bitcoin makes it the first digital currency to solve the problem of repeated consumption. The design of bitcoin has become a source of inspiration for other applications
Everbright Caesar travel white card gift
time: before June 30, 2018
Object: Everbright Caesar joint platinum MasterCard customers
ring the activity, customers who activate their credit cards and brush Everbright Caesar joint platinum MasterCard for the first time can enjoy 16 days of free overseas WiFi rights
you need to send self recording videos overseas, so you don't have to worry about non flow money anymore! It should be noted that each customer can only enjoy the right once a month, and only the top 300 customers can enjoy the right once a month
Everbright Caesar travel white card gift
event time: before June 30, 2018
event object: Everbright Caesar joint platinum card MasterCard customer
as long as Everbright Caesar joint platinum card MasterCard customer, ring the event period, the first brush and single currency transaction over $500 or more, you can get the value of 500 yuan of Jingdong e card rights
at the end of the next month after card consumption, the equity password of JD e card will be sent to your mobile phone in the form of SMS, regardless of name, no loss reporting, no cash exchange, and need to be kept properly
here is an introction to the opening ceremony and the first brush ceremony of Everbright Kaiser travel white. Of course, there are a lot of exclusive activities and services, such as Jingdong Mall's card consumption of 300 minus 100, the one-way airport shuttle service of 2 times / year, etc
recently, China Everbright Bank and Caesar tourism released their first joint brand card "Everbright Bank Caesar tourism platinum joint brand credit card" in Beijing. It is reported that the card is the highest level tourism exclusive card launched by both sides and is expected to cover millions of middle-class people in China
the Everbright Bank Kaiser Travel Co branded card launched this time is a platinum grade credit card, which is divided into UnionPay card and MasterCard. The design elements are mainly Aurora, and the design concept comes from "the world shines for me" - boundless dream. As long as you dare to pursue and set out, the world will shine for you
in addition to the basic rights and interests of Everbright, UnionPay and MasterCard platinum cards, the co branded card can also enjoy more exclusive rights and interests. For example, if a new user activates free international WiFi for 16 days, he or she can get the first swipe gift (if he or she swipes the card for more than $500, he or she will get the benefit of Jingdong e-card of $500). He or she can also enjoy airport shuttle, airport VIP hall, air delay insurance, travel accident insurance, road rescue, etc
What's more attractive is that cardholders can enjoy 5 times of points by consuming the whole line of Caesar procts, and they can grab 300 yuan of Caesar travel limited exclusive travel voucher by 1 yuan; Designated overseas cooperative merchants can enjoy 88% discount for consumption by card and customized tourism procts; You can also enter the aurora card zone of Caesar's official website and app as a privilege to purchase the specified preferential routes covering 100 countries and regions around the world, and over 10000 kinds of wonderful tourism procts will be put into the aurora card zone
Liu Yuxiao, general manager of Credit Card Center of China Everbright Bank, said: "this cooperation has effectively integrated the high-quality resources of both sides, and will provide cardholders with better daily travel services and the most convenient payment experience. This is an important step taken by Everbright credit card and Kaiser tourism in improving the quality and efficiency of serving the real economy, supporting the development of Inclusive Finance, and boosting the expansion of domestic demand. ".
here are some processing methods:
optimize the image and use the appropriate image format
optimize CSS
rece HTTP requests (remove some unnecessary objects, combine two adjacent pictures into one, merge CSS)
remove unnecessary add ins
make some content static when it can be static, so as to rece the burden of the server
put the statistical code at the end of the page
it's like wechat that we use every day, dealing with so many chat messages, transfers and so on. These data are stored and run in Tencent's server. Then the server that processes data can be called "node"
in addition to the world of blockchain, we all know that blockchain is a decentralized distributed database. It does not rely on any centralized server, but is composed of tens of thousands of "small servers". As long as we download a blockchain client, we will become one of the thousands of "small servers"
in this way, if we want to play blockchain, we are equivalent to a node
nodes are also divided into light nodes and full nodes. The whole node is the node that has all the transaction data of the whole network, so the light node only has its own related transaction data node
moreover, the more widely distributed the nodes are, the more decentralized the blockchain network will be, and the more secure and stable the network operation will be. The existence of nodes is the representation of distributed blockchain, and also the charm of blockchain
