bener

Breaking News

What is Cryptocurrency Mining



what is cryptocurrency mining cryptocurrency mining is one of the key elements that allows cryptocurrencies to work as a peer-to-peer decentralized network without the need of a third party central authority it is a process in which transactions between users are verified and added into the blockchain public ledger and also a process that is used to introduce new coins into the existing circulating supply how does it work a miner is a node in the network who collects transactions and works to organize them into blocks

whenever transactions are made minor nodes receive and verify the transactions and add them into the memory pool and begin assembling them into a block of multiple transactions the first step in a process of mining a block is to hash each transaction in the memory pool before starting the process the minor node adds the transaction where they send themselves the mining reward this transaction is referred to as the coinbase transaction it's a transaction where coins get created out of thin air and in most cases is the

first transaction in a new block after every transaction is hashed these hashes are then organized into something called a miracle tree or a hash tree meaning that the hashes are organized into pairs and then hashed again until the top of the tree is reached also called a root hash or a merkel root the root hash along with a hash from the previous block and a random number called the nonce it's then placed into the blocks header the blocks header is then hashed producing an output that will serve as the blocks identifier the blocks

identifier must be less than a certain target value that is set by the protocol in other words the blog header hash must start with a certain number of zeros this target value also known as the hashing difficulty scales ensuring that the rate at which new blocks are created remains proportionate to the amount of hashing power in the network the miners keep hashing the header over and over again by iterating through the nonce until one miner in the network eventually produces a valid hash when a valid hash is found the founder node

will broadcast a block to the network all the other nodes will check if the hash is valid and add the block into their copy of the blockchain and move on to mining a next block however sometimes it happens that two miners broadcast a valid block at the same time and the network ends up with two competing blocks miner start to mind the next block based on the block they received first the competition between these blocks will continue until the next block is mined based on either one of the competing blocks the block that gets

abandoned is called an orphan block or a stale block the miners of this block will switch back to mining the chain of the winner block while the block reward is granted to the miner who discovers the valid hash first the probability of finding the hash is equal to the proportion of the total mining power on the network miners with a small percentage of the mining power stand a very small chance of discovering the next block on their own mining pools are created to solve this problem it means pooling of resources by miners

who share their processing power over a network to split the reward equally among everyone in the pool according to the amount of work they contribute to the probability of finding a block stay tuned for more content and don't forget to check out our other videos at balance Academy


No comments