Index blocks in parallel - dramatic speed-up

This commit is contained in:
joeuhren
2020-11-22 15:00:47 -07:00
parent a66f9cb7e4
commit 91dc602cfc
5 changed files with 76 additions and 105 deletions
+1
View File
@@ -3,6 +3,7 @@ var mongoose = require('mongoose')
var AddressTXSchema = new Schema({
a_id: { type: String, index: true},
blockindex: {type: Number, default: 0, index: true},
txid: { type: String, lowercase: true, index: true},
balance: { type: Number, default: 0}
}, {id: false});