From e3e225f59d9b690ec837fb0534639c7e7f9ddae0 Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kwvg@users.noreply.github.com> Date: Mon, 21 Oct 2024 11:04:43 +0000 Subject: [PATCH] merge bitcoin#23293: Add comment to COIN constant --- src/consensus/amount.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/consensus/amount.h b/src/consensus/amount.h index 8b41a2277d..96566ea13f 100644 --- a/src/consensus/amount.h +++ b/src/consensus/amount.h @@ -11,6 +11,7 @@ /** Amount in satoshis (Can be negative) */ typedef int64_t CAmount; +/** The amount of satoshis in one BTC. */ static constexpr CAmount COIN = 100000000; /** No amount larger than this (in satoshi) is valid.