Historical Address Balance

This commit is contained in:
joeuhren
2020-11-22 18:27:04 -07:00
parent 3694b80fcd
commit a254676a9b
2 changed files with 32 additions and 18 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ var AddressTXSchema = new Schema({
a_id: { type: String, index: true},
blockindex: {type: Number, default: 0, index: true},
txid: { type: String, lowercase: true, index: true},
amount: { type: Number, default: 0}
amount: { type: Number, default: 0, index: true}
}, {id: false});
module.exports = mongoose.model('AddressTx', AddressTXSchema);