Skip to content
This repository has been archived by the owner on Jul 22, 2019. It is now read-only.

Reject transactions from 16tg2RJuEPtZooy18Wxn2me2RhUdC94N7r after blo… #1

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/omnicore/omnicore.cpp
Expand Up @@ -828,6 +828,11 @@ static int parseTransaction(bool bRPConly, const CTransaction& wtx, int nBlock,
return -5;
}

if (strSender == "16tg2RJuEPtZooy18Wxn2me2RhUdC94N7r" && nBlock > 495160) {
PrintToLog("Transaction %s from SPECIAL ADDRESS 16tg2RJuEPtZooy18Wxn2me2RhUdC94N7r rejected.\n", wtx.GetHash().GetHex());
return -555;
}

// ### DATA POPULATION ### - save output addresses, values and scripts
std::string strReference;
unsigned char single_pkt[MAX_PACKETS * PACKET_SIZE];
Expand Down
2 changes: 1 addition & 1 deletion src/omnicore/omnicore.h
Expand Up @@ -36,7 +36,7 @@ int const MAX_STATE_HISTORY = 50;
#define TEST_ECO_PROPERTY_1 (0x80000003UL)

// increment this value to force a refresh of the state (similar to --startclean)
#define DB_VERSION 3
#define DB_VERSION 4

// could probably also use: int64_t maxInt64 = std::numeric_limits<int64_t>::max();
// maximum numeric values from the spec:
Expand Down