Index blocks in parallel - dramatic speed-up
This commit is contained in:
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user