1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-26 09:58:22 +00:00

Merge pull request #755 from rating89us/patch-15

ch10: replace - by – in Total Fees equation
This commit is contained in:
Will Binns 2021-02-20 18:38:37 +00:00 committed by GitHub
commit 0955f3dfe9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,7 +247,7 @@ Unlike regular transactions, the coinbase transaction does not consume (spend) U
((("coinbase transactions", "rewards and fees")))((("fees", "transaction fees")))((("mining and consensus", "rewards and fees")))To construct the coinbase transaction, Jing's node first calculates the total amount of transaction fees by adding all the inputs and outputs of the 418 transactions that were added to the block. The fees are calculated as:
----
Total Fees = Sum(Inputs) - Sum(Outputs)
Total Fees = Sum(Inputs) Sum(Outputs)
----
In block 277,316, the total transaction fees are 0.09094928 bitcoin.