Separated COINBASE_FLAGS out into main.h and made RPC getmemorypool return it

This commit is contained in:
Forrest Voight
2012-01-14 18:51:52 -05:00
parent 9e8818ec9d
commit 52a3d2635c
3 changed files with 9 additions and 6 deletions

View File

@@ -49,6 +49,12 @@ static const int fHaveUPnP = false;
#endif
// Put "/P2SH/" in the coinbase so everybody can tell when
// a majority of miners support it
static const char* pszP2SH = "/P2SH/";
static const CScript COINBASE_FLAGS = CScript() << std::vector<unsigned char>(pszP2SH, pszP2SH+strlen(pszP2SH));