1
1
I know it's not really a completely random selection because some miners have more hashing power so their odds are increased.
But let's assume for a moment that all miners are about equal in hashing power.
The way I see it, whoever solves the current block is (almost) completely unpredictable and thus mining is just a way to randomly select a winning miner.
I understand about decentralizing and the need for a decentralized way of selecting this winner without trusting a higher authority for this random selection.
Let's imagine for a moment that there was this "god-like" machine somewhere, completely trustworthy and incorruptible, impossible to bring down or shutdown and completely fair. Let's say this machine would select the winning miner that would create and sign the next block and get the reward and fees.
Would there still be a need for mining in that case?
Good answer. For the "god-like" machine to be able to replace mining, another assumption (besides the ones listed in the question) is necessary - that each mining node be owned by a separate entity and these entities not collaborate with each other (or equivalently, that each separate entity own an equal number of mining nodes, and not collaborate). Without this condition (which is very unrealistic... well, even a "god-like" machine is unrealistic), the "god-like" machine does not eliminate the need for mining. – Ajoy Bhatia – 2017-11-30T17:26:43.200
1@Ajoy LOL This is actually one of the worst answers possible. I don't think Mr. abelenky even understood the question. If there is no mining, nobody "publishes blocks that try to get accepted" since they would certainly be rejected - it's futile if you were not elected. It would be just spam. First you are elected, then you publish a block, not the other way around. The same way it happens now in bitcoin: first you find a small enough hash, then you publish the block. Otherwise you're just creating spam, easily rejected. – coinjoe – 2017-11-30T17:37:36.803
That's true. Thanks, @coinjoe. But the need to ensure that a single entity cannot set up any number of nodes and increase its chances of being selected, still remains. I guess the OP's assumption that "all miners are about equal in hashing power" should actually instead be that "any two or more publishing nodes (not calling them "miners") do not collaborate with each other". – Ajoy Bhatia – 2017-11-30T17:52:25.680
Yes, that is a requirement. And there are various solutions to it. I didn't mention it intentionally because I didn't want to complicate the constraints set. Dash is very popular and they have masternodes, with reputations and with a lot of coins being deposited by each. And being rewarded (incentivized) to run those nodes. And with a voting system in place. And the coin is very popular. In these conditions, why they are still mining is beyond me... Probably because people are so used to mining as "something to do to get those coins" that they can't see a coin without it. – coinjoe – 2017-11-30T17:55:51.023
1The idea that "the universal master rolls a dice and if it hits our number we win 12.5 coins" seems unthinkable to most people, because it seems completely out of their control. It's much more comforting to think that you're actually doing something to win that prize, spending some effort, working, putting some money down, and when you win it's because of that effort, not because of some random dice rolling. And thus, we mine... – coinjoe – 2017-11-30T18:07:05.447
1See @Monstrum's comment under his answer. If a single "god-like" machine selects a node and then that node publishes a block, it could publish a fraudulent transaction, too. We forgot that the nodes are not necessarily honest. There need to be competing blocks and competing branches. Only then will fraudulent blocks be shut out of the main chain. – Ajoy Bhatia – 2017-12-03T06:21:45.227
No. There is no such need. If there was, Cardano would not work. Have you seen their market cap? In fact no PoS based coins would work if there was such a need. And there are too many of them to list here. What you call "fraudulent transaction" is probably a double spending transaction, otherwise you would have to define it more clearly. Double spending can and has been solved in non-mining blockchains. Branching of the chain and acceptance of the longest one THAT IS CORRECTLY FORMED does not need mining, it just needs an honest majority, which is a requirement for any blockchain. – coinjoe – 2017-12-04T13:23:24.673