aboutsummaryrefslogtreecommitdiff
path: root/src/amount.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-10-01 11:28:51 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-10-01 11:28:55 +0200
commit3fd192f8b4d6db386354dfe635a8a6a105b55de8 (patch)
tree39f8a9caf006a6fe38d89b98a57fb94c56f3cd28 /src/amount.h
parentb25551101c7ceff8af862131c30c08527ff60160 (diff)
parentc122f5528c882efc8aebe31fd4d84612175f66aa (diff)
downloadbitcoin-3fd192f8b4d6db386354dfe635a8a6a105b55de8.tar.xz
Merge pull request #4234
c122f55 qt: Register CAmount metatype (Wladimir J. van der Laan) a372168 Use a typedef for monetary values (Mark Friedenbach)
Diffstat (limited to 'src/amount.h')
-rw-r--r--src/amount.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/amount.h b/src/amount.h
new file mode 100644
index 0000000000..42006a0388
--- /dev/null
+++ b/src/amount.h
@@ -0,0 +1,13 @@
+// Copyright (c) 2009-2010 Satoshi Nakamoto
+// Copyright (c) 2009-2014 The Bitcoin developers
+// Distributed under the MIT/X11 software license, see the accompanying
+// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+
+#ifndef BITCOIN_AMOUNT_H
+#define BITCOIN_AMOUNT_H
+
+#include <stdint.h>
+
+typedef int64_t CAmount;
+
+#endif