Charge bitcoin to pay miner's fee
It's about 37 yuan
let me first introce the reward mechanism of bitcoin system
bitcoin can basically dig out a block every 10 minutes through system settings. The reward for each block is given to the miners who dig out the block. The miner who digs out the block is called the block miner. The block miner will record the legal transactions in the bitcoin network to the blockchain, so that the miner can receive the service charge for bookkeeping
there are two parts in the reward for the block Miner: one part is the reward given by the system, which is called coinbase reward (also known as system issuance reward), the other part is the reward for bookkeeping, which is called miner's fee. The coinbase reward started with 50 bitcoins. For every integral multiple of 210000 blocks, the coinbase reward will be halved. This is what we often hear about bitcoin mining reward halved in four years
at the present stage, the reward of coinbase is 12.5 bitcoins. At the present stage, the average transaction miner fee received by miners for digging out a block is about 0.1 bitcoin (not fixed), that is to say, the average reward received by miners for digging out a block is about 12.6 bitcoin
about 99% of miners' rewards come from the system's coinbase rewards. According to the bitcoin system, one block can be g out every 10 minutes on average. The number of new blocks that can be g out in one day is 144 (60 * 24 / 10 = 144). At present, the number of bitcoins that can be g out every day is 1800btc (144 * 12.5btc = 1800btc). With the miner's fee of about 0.1btc per block, the total reward for all miners in one day is about 1814.4btc
first of all, we should understand that this service charge is given to miners to encourage them to continue mining and provide enough computing power for bitcoin, so as to ensure the security of bitcoin network. At present, the main income of miners is to get BTC reward by creating new blocks, but the reward is halved every four years. As time goes on, bitcoin transaction fee will graally replace bitcoin reward
under what circumstances should the handling charge be paid? What's the amount
bitcoin system has a series of network rules, including the handling charge rules, which are "what the client should do". When you use bitcoin client (wallet, bitcoin QT) to send bitcoin, the whole process is roughly divided into the following steps:
1. Prepare the bitcoin you want to send
the client is responsible for collecting the balance of bitcoin in your wallet (bitcoin QT) to prepare for payment, Because every bitcoin you receive is in your wallet until you spend it
if you withdraw 3btc and 2btc twice in okcoin bitcoin, their records in your wallet are independent, that is, a 3btc and a 2btc, instead of merging them into 5btc (the wallet only records transaction details, but does not merge the balance, but you can see the total balance on the interface of the wallet), As time goes on, you will accumulate a lot of bitcoin in your wallet. It is conceivable that there should be thousands of such records in okcoin bitcoin wallet. So when you send bitcoin, the wallet must decide which of the above records are most suitable for this sending
the bitcoin you get in a transaction is called "inputs" and the bitcoin you spend is called "outputs". There are multiple inputs and outputs in your wallet
2. Prevent a large number of micro payments from impacting the network
if you recharge the okcoin bitcoin trading platform less than 0.01btc (including the fund changes inside your wallet), you must pay a handling charge of 0.0001. When preparing your payment amount, the wallet has an established rule, that is, when preparing the payment amount in many inputs, try to avoid the amount change less than 0.01btc (for example, if you want to recharge 5.005btc to okcoin bitcoin, the wallet should choose 3 + 2.005 or 1 + 1 + 3.005 instead of 5 + 0.005)
3. The larger the amount, the higher the age of the currency, the higher the priority
if the amount you send is too small or your bitcoin has just been mined, then your transfer is no longer free. Each transaction will be assigned a priority, which is determined by the degree of currency, the number of bytes and the number of transactions. Specifically, for each input, the client will first multiply the number of bitcoins by the time they exist in the block (currency age, age), and then divide all the procts by the size of the transaction (in bytes). The calculation formula is: priority = sum (input)_ value_ in_ base_ units * input_ age)/size_ in_ If the calculation result is less than 0.576, then the transaction must pay the handling fee. This is why you need to add a 0.0001 when you withdraw with okcoin bitcoin, because the bitcoin transfer in okcoin wallet is frequent, and the time of bitcoin in the block is relatively short, so you need to pay a handling charge. If you do have a large number of small inputs, such as small miners, and want to transfer them out for free, you can add a large amount of bitcoin with a large currency age, and the average priority will be increased, so that bitcoin can be transferred out for free
4. Charge per kilobyte
at the end of the transfer, the client calculates the size of the transfer (in bytes), which generally depends on the amount of input and output. The calculation formula is as follows: 148 × Input amount + 34 × Output amount + 10. If the size of the transfer exceeds 10000 bytes, but the priority meets the free standard, you can still enjoy the free transfer, otherwise you need to pay the handling charge. The cost per 1000 bytes is 0.0001btc by default, but you can also add it in the client by opening the tab "settings & gt; Options & gt; The main purpose is to adjust the handling charge. If the service charge you are setting is less than 0.0001, BTC is calculated as 0.0001. When this rule applies, it will replace the rule in step 2 instead of accumulating.
when users initiate a transfer in bitcoin network, they usually need to pay a certain transfer fee to the bookkeeper. The transfer service charge is generally 0.001-0.0015 bitcoins. Due to the limited capacity of the block to hold transaction records, miners will give priority to the transaction with high service charge, so the overpaid service charge can be recorded faster
the existence of bitcoin transaction fees can improve the transfer threshold, effectively prevent the blockchain from being full of junk information, and ensure that the miners still have the motivation to maintain the bitcoin network after bitcoin is g up.
Ethereum miner fee
1. In a public chain, anyone can read and write data. Reading data is free, but writing data to the public chain costs a certain amount of money, which helps to prevent junk content and protect its security through payment
Secondly, any node on the network (each connected device containing a of the account book is called a node) can participate in the mining method to protect the network. As mining requires computing power and electricity charges, miners need to be paid for their services, which is also the origin of miners' fees Third, the difference between Ethereum and bitcoin, Ethereum introces the concept of gas, the purpose of which is to limit the amount of work required to execute the transaction and pay for the execution. Gas is used to measure the resources (including computation, storage, bandwidth, etc.) consumed by your transaction (or contract code call)
extended data:
ten rights of miners:
1. The "ten rights" of coal mining enterprise workers in safe proction include: the shift leader does not go down the well, and the workers have the right not to go down the well; The workers have the right to leave the well early if the shift leader leaves the well early; Workers have the right not to work if potential safety hazards are not investigated; If the management personnel command against rules and regulations, the workers have the right not to carry out them
Without safety measures, workers have the right not to start work; Workers have the right not to go down the well if they don't organize safety study before class; If the "Trinity" (monitor, safety inspector and gas inspector) safety inspection is not carried out, workers have the right not to start work The workers have the right not to start the work if the detection and monitoring system is not installed in place and operates abnormally; Workers have the right not to go down the well if they are not equipped with fully qualified labor protection and protective equipment; The route to avoid disaster is not marked, and workers have the right not to go down the well. The coal mine shall not dect the wages and dismiss the workers for the above reasonsgenerally, an ordinary bitcoin transaction is composed of one input and two outputs, with the size of about 200 bytes. The default charge is 0.0001btc for every 1000 bytes, and the ordinary bitcoin transfer fee is about 0.001-0.002btc
however, e to the limited capacity of the block to hold transaction records, miners generally give priority to the transaction with higher handling charges. Therefore, when the transaction needs urgent confirmation, it is recommended to select custom charges. I also saw these in Yingfu College of Finance and economics.
1. Prepare the bitcoin you want to send. The client is responsible for collecting the balance of bitcoin in your wallet (bitcoin QT) to prepare for payment, because every bitcoin you receive is stored in your wallet until you spend it. If you receive two payments from 3btc and 2btc, their records in the wallet are independent of each other, that is, a 3btc and a 2btc, rather than merging them into 5btc (the wallet only records transaction details and does not merge the balance, but you can see the total balance on the interface of the wallet). As time goes on, many bitcoins of different amounts will accumulate in your wallet, So when you send bitcoin, the wallet has to decide which bitcoin is the most suitable for this sending. The bitcoin you get in a transaction is called "inputs" and the bitcoin you spend is called "outputs". There are multiple inputs and outputs in your wallet
2. If your outputs are less than 0.01btc (including the fund changes inside your wallet), you have to pay a handling charge of 0.0001, even if you transfer it to yourself. The wallet has an established rule when preparing your payment amount, that is, when preparing the payment amount in many inputs, try to avoid the amount change less than 0.01btc (for example, if you want to pay 5.005btc, the wallet should choose 3 + 2.005 or 1 + 1 + 3.005 instead of 5 + 0.005)
3. The larger the amount, the higher the age, and the higher the priority. If the amount you send is too small or your bitcoin has just been mined, then your transfer is no longer free. Each transaction will be assigned a priority, which is determined by the degree of currency, the number of bytes and the number of transactions. Specifically, for each input, the client will first multiply the number of bitcoins by the time they exist in the block (currency age, age), and then divide all the procts by the size of the transaction (in bytes). The calculation formula is: priority = sum (input)_ value_ in_ base_ units * input_ age)/size_ in_ If the calculation result is less than 0.576, then the transaction must pay the handling fee. If you do have a large amount of small input and want to transfer it out for free, you can add a large amount of bitcoin with a large age, which will increase the average priority, so that you can transfer out bitcoin for free
4. Charge per kilobyte. At the end of the transfer, the client will detect the size of the transfer (in bytes). The size generally depends on the amount of input and output. The calculation formula is as follows: 148 * input amount + 34 * output amount + 10. If the size of the transfer exceeds 10000 bytes, but the priority meets the free standard, you can still enjoy the free transfer, Otherwise, there will be a handling charge. The cost of 1000 bytes is 0.0001btc by default, but you can also add it in the client. Open the tab "settings & gt; Options & gt; The main purpose is to adjust the handling charge. If the service charge you are setting is less than 0.0001, BTC is calculated as 0.0001.
I hope I can help you. If your problem is solved, please click to adopt it. Thank you