From 926851d823ac38c7d41b7927272cbf85e6917fa7 Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Wed, 30 Nov 2016 16:42:43 -0500 Subject: [PATCH] Add BITCOINID static constant --- src/amount.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/amount.h b/src/amount.h index 9b3617563f..90f0bfc541 100644 --- a/src/amount.h +++ b/src/amount.h @@ -30,6 +30,9 @@ extern const std::string CURRENCY_UNIT; **/ typedef uint256 CAssetID; +/** The sha256 of Bitcoin genesis block, for easy reference **/ +static const CAssetID BITCOINID(uint256S("09f663de96be771f50cab5ded00256ffe63773e2eaa9a604092951cc3d7c6621")); + /** No amount larger than this (in satoshi) is valid. * * Note that this constant is *not* the total money supply, which in Bitcoin