File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,18 @@ static void indexTick(uint32_t tick, const TickData &td) {
7979 std::vector<uint8_t > tx_data;
8080 if (db_try_get_transaction (txHash, tx_data)) {
8181 auto tx = (Transaction*)tx_data.data ();
82+ if (isZero (tx->destinationPublicKey ) &&
83+ (tx->inputType == 1 || tx->inputType == 2 || tx->inputType == 3 || tx->inputType == 4 || tx->inputType == 5
84+ || tx->inputType == 8 || tx->inputType == 9 ))
85+ // 1 vote point
86+ // 2 mining solution
87+ // 3,4,5 files
88+ // 8 custom mining reports
89+ // 9 fee report
90+ {
91+ // ignore protocol reports
92+ indexerIgnoreList[i] = true ;
93+ }
8294 if (isZero (tx->destinationPublicKey ) && (tx->inputType == 6 || tx->inputType == 7 || tx->inputType == 10 ))
8395 {
8496 // oracle messages, not index for now
@@ -136,6 +148,7 @@ static void indexTick(uint32_t tick, const TickData &td) {
136148 // no index for oracle message
137149 auto & le = vle[i];
138150 int txId = logrange.scanTxId (txOrder, lastTxId, le.getLogId ());
151+ lastTxId = txId;
139152 if (indexerIgnoreList[i]) continue ;
140153 auto type = le.getType ();
141154 SC_index = 0xffffffff ;
You can’t perform that action at this time.
0 commit comments