Revert "Merge branch 'momom_printsonly' into master"

This reverts commit e4e1c3874e, reversing
changes made to 9fbf73b632.

revert this stupid commit git made by accident!
This commit is contained in:
blackjok3r
2018-10-31 12:20:06 +08:00
parent e4e1c3874e
commit e0235aa036
5 changed files with 31 additions and 40 deletions

View File

@@ -41,10 +41,10 @@ NotarisationsInBlock ScanBlockNotarisations(const CBlock &block, int nHeight)
} else if (authority == CROSSCHAIN_STAKED) {
// We need to create auth_STAKED dynamically here based on timestamp
int staked_era = STAKED_era(timestamp);
//printf("ERA.(%d) \n",staked_era);
printf("ERA.(%d) \n",staked_era);
if (staked_era == 0) {
// this is an ERA GAP, so we will ignore this notarization
//printf("Notarization for %s occured inside an ERA GAP, we will ignore it! \n",data.symbol);
printf("Notarization for %s occured inside an ERA GAP, we will ignore it! \n",data.symbol);
continue;
} else {
// pass era slection off to notaries_staked.cpp file
@@ -52,12 +52,12 @@ NotarisationsInBlock ScanBlockNotarisations(const CBlock &block, int nHeight)
}
if (!CheckTxAuthority(tx, auth_STAKED))
continue;
//printf("Authorised notarisation data for %s \n",data.symbol);
printf("Authorised notarisation data for %s \n",data.symbol);
}
if (parsed) {
vNotarisations.push_back(std::make_pair(tx.GetHash(), data));
//printf("Added notarisation data for %s \n",data.symbol);
printf("Added notarisation data for %s \n",data.symbol);
//printf("Parsed a notarisation for: %s, txid:%s, ccid:%i, momdepth:%i\n",
// data.symbol, tx.GetHash().GetHex().data(), data.ccId, data.MoMDepth);
//if (!data.MoMoM.IsNull()) printf("MoMoM:%s\n", data.MoMoM.GetHex().data());