Use a typedef for monetary values
This commit is contained in:
committed by
Mark Friedenbach
parent
64cfaf891f
commit
a372168e77
@@ -6,6 +6,7 @@
|
||||
#ifndef _BITCOINRPC_SERVER_H_
|
||||
#define _BITCOINRPC_SERVER_H_
|
||||
|
||||
#include "amount.h"
|
||||
#include "uint256.h"
|
||||
#include "rpcprotocol.h"
|
||||
|
||||
@@ -116,8 +117,8 @@ extern void InitRPCMining();
|
||||
extern void ShutdownRPCMining();
|
||||
|
||||
extern int64_t nWalletUnlockTime;
|
||||
extern int64_t AmountFromValue(const json_spirit::Value& value);
|
||||
extern json_spirit::Value ValueFromAmount(int64_t amount);
|
||||
extern CAmount AmountFromValue(const json_spirit::Value& value);
|
||||
extern json_spirit::Value ValueFromAmount(const CAmount& amount);
|
||||
extern double GetDifficulty(const CBlockIndex* blockindex = NULL);
|
||||
extern std::string HelpRequiringPassphrase();
|
||||
extern std::string HelpExampleCli(std::string methodname, std::string args);
|
||||
|
||||
Reference in New Issue
Block a user