Only count phase2 deals ( start epoch 166560 )

This commit is contained in:
Peter Rabbitson 2020-12-03 19:11:31 +00:00 committed by Peter Rabbitson
parent a145819004
commit 1e6aa4b129

View File

@ -269,6 +269,12 @@ var rollupDealStatsCmd = &cli.Command{
unfilteredGrandTotals.seenPieceCid[dealInfo.Proposal.PieceCID] = true
unfilteredGrandTotals.TotalDeals++
// perl -E 'say scalar gmtime ( 166560 * 30 + 1598306400 )'
// Wed Oct 21 18:00:00 2020
if dealInfo.Proposal.StartEpoch <= 166560 {
continue
}
projID, projKnown := knownAddrMap[clientAddr]
if !projKnown {
continue