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

+13
View File
@@ -0,0 +1,13 @@
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const D0 = () => mongoose.Types.Decimal128.fromString('0');
const AddressSchema = new Schema({
a_id: { type: String, unique: true, index: true},
name: { type: String }, // no longer used but cannot be removed or else older versions that have data here will not be able to auto move claim name data to the new claimaddress collection
received: { type: Schema.Types.Decimal128, default: D0, index: true },
sent: { type: Schema.Types.Decimal128, default: D0, index: true },
balance: {type: Schema.Types.Decimal128, default: D0, index: true}
}, {id: false});
module.exports = mongoose.model('Address', AddressSchema);