Publish Nerbus source snapshot and build documentation

This commit is contained in:
Nerbus Contributors committed 2026-10-17 18:56:29 +00:00
commit 76cccceca7
198 files changed
+338574

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const D0 = () => mongoose.Types.Decimal128.fromString('0');
const 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: Schema.Types.Decimal128, default: D0, index: true}
}, {id: false});
AddressTXSchema.index({a_id: 1, blockindex: -1});
module.exports = mongoose.model('AddressTx', AddressTXSchema);