Add option to return non-segwit serialization via rpc

This commit is contained in:
Gregory Sanders
2016-11-20 09:54:51 -05:00
parent 7d5d44969b
commit bc7ff8db99
9 changed files with 40 additions and 9 deletions
+5
View File
@@ -19,6 +19,8 @@
#include <univalue.h>
static const unsigned int DEFAULT_RPC_SERIALIZE_VERSION = 1;
class CRPCCommand;
namespace RPCServer
@@ -198,4 +200,7 @@ void StopRPC();
std::string JSONRPCExecBatch(const UniValue& vReq);
void RPCNotifyBlockChange(bool ibd, const CBlockIndex *);
// Retrieves any serialization flags requested in command line argument
int RPCSerializationFlags();
#endif // BITCOIN_RPCSERVER_H