diff options
| author | Forrest Voight <[email protected]> | 2012-01-14 18:51:52 -0500 |
|---|---|---|
| committer | Forrest Voight <[email protected]> | 2012-01-14 19:22:24 -0500 |
| commit | 52a3d2635c417c8e2398d9d4853db938171d406b (patch) | |
| tree | e5cecd765a59dcca04ad96d88ac94f922eb1b12c /src/main.h | |
| parent | Remove base58 encoding from validateaddress/addmultisigaddress (diff) | |
| download | discoin-52a3d2635c417c8e2398d9d4853db938171d406b.tar.xz discoin-52a3d2635c417c8e2398d9d4853db938171d406b.zip | |
Separated COINBASE_FLAGS out into main.h and made RPC getmemorypool return it
Diffstat (limited to 'src/main.h')
| -rw-r--r-- | src/main.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index 678c14cc3..be5f2f58a 100644 --- a/src/main.h +++ b/src/main.h @@ -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)); + + |