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

+26
View File
@@ -0,0 +1,26 @@
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const D0 = () => mongoose.Types.Decimal128.fromString('0');
const StatsSchema = new Schema({
coin: { type: String },
count: { type: Number, default: 1 },
last: { type: Number, default: 1 },
supply: { type: Schema.Types.Decimal128, default: D0 },
txes: { type: Number, default: 0 },
connections: { type: Number, default: 0 },
last_price: { type: Schema.Types.Decimal128, default: D0 },
last_usd_price: { type: Schema.Types.Decimal128, default: D0 },
blockchain_last_updated: { type: Number, default: 0 },
reward_last_updated: { type: Number, default: 0 },
masternodes_last_updated: { type: Number, default: 0 },
network_last_updated: { type: Number, default: 0 },
richlist_last_updated: { type: Number, default: 0 },
markets_last_updated: { type: Number, default: 0 },
orphan_index: { type: Number, default: 0 },
orphan_current: { type: Number, default: 0 },
newer_claim_address: { type: Boolean, default: false },
address_count: { type: Number, default: 0 }
});
module.exports = mongoose.model('coinstats', StatsSchema);