AddressTX: include balance history and show in address history

This commit is contained in:
joeuhren
2020-11-20 16:50:53 -07:00
parent 7008b31424
commit 94f8c97d13
4 changed files with 21 additions and 4 deletions
+2 -1
View File
@@ -3,7 +3,8 @@ var mongoose = require('mongoose')
var AddressTXSchema = new Schema({
a_id: { type: String, index: true},
txid: { type: String, lowercase: true, index: true}
txid: { type: String, lowercase: true, index: true},
balance: { type: Number, default: 0}
}, {id: false});
module.exports = mongoose.model('AddressTx', AddressTXSchema);