M
M
mishell_trickster2019-06-25 10:56:20
blockchain
mishell_trickster, 2019-06-25 10:56:20

How is synchronization achieved in the blockchain?

I have questions about consensus and synchronization of miners, I would like to know how it works.
As I see it. There is a blockchain, for example, there are 10 miners in it (as I understand it, it doesn’t matter on what grounds the consensus is, I think so, let it be PoS or PoW, you can consider Ethereum). The first miner has a transaction that needs to be confirmed.
Miner Actions: If this is a transaction to transfer funds, then the miner must check the signature to make sure that the transaction is not fictitious. Next, check if there are enough funds on the sender's wallet. Then write off the money and fix it for yourself.
Further, other miners must do the same before inserting the transaction into the
Questions block.
1. Each miner must store on his side information about all available wallets and the balance on them? Or is it found out in other ways?
2. Do you need to notify all other miners so that they confirm the same thing? What if one in ten disagrees? And if there are thousands of miners, and new ones are connected to the system during the confirmation process? How to notify everyone, the DHT table will be huge and constantly changing.
3. Suppose the number of miners is fixed, and each miner knows the addresses of the other miners, so he sends them notifications about this transaction. Everyone at once. What happens if at the same time a second transaction arrives to another miner? In a dynamic system, a ton of forks should be formed, and half of the resources will be directed only to getting rid of them.
4. If this is not how things really work, then how is synchronization achieved between all the miners in the network, given the constantly appearing transactions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2019-06-28
@dimonchik2013

1. https://habr.com/ru/company/bitfury/blog/346398/
2. ha ha
3. let's say, let's lower our pants (c)
4. whoever managed, he ate , who didn't have time - on ** th sat

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question