From 71666cbb54043ed8bb1149461387a276ba780b13 Mon Sep 17 00:00:00 2001 From: rating89us <45968869+rating89us@users.noreply.github.com> Date: Sat, 23 Jan 2021 03:59:50 +0100 Subject: [PATCH] =?UTF-8?q?ch10:=20replace=20-=20by=20=E2=80=93=20in=20Tot?= =?UTF-8?q?al=20Fees=20equation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ch10.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch10.asciidoc b/ch10.asciidoc index 33fa6954..0f8f3f8a 100644 --- a/ch10.asciidoc +++ b/ch10.asciidoc @@ -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.