feat(ninsight): Removing ninsight library from v5

This commit is contained in:
Chris Troutner
2022-03-13 08:01:22 -07:00
parent 29b51e9437
commit 7e97765e14
2 changed files with 0 additions and 33 deletions
-1
View File
@@ -41,7 +41,6 @@ const PriceV5 = require('./routes/v5/price')
const JWTV5 = require('./routes/v5/jwt') const JWTV5 = require('./routes/v5/jwt')
const BcashSLP = require('./routes/v5/bcash/slp') const BcashSLP = require('./routes/v5/bcash/slp')
const PsfSlpIndexer = require('./routes/v5/psf-slp-indexer') const PsfSlpIndexer = require('./routes/v5/psf-slp-indexer')
// const Ninsight = require('./routes/v5/ninsight')
require('dotenv').config() require('dotenv').config()
-32
View File
@@ -1,32 +0,0 @@
/*
A library for interacting with the Bitcoin.com ninsight (not Insight) indexer.
*/
'use strict'
const express = require('express')
// const axios = require('axios')
// const routeUtils = require('./route-utils')
// const wlogger = require('../../util/winston-logging')
const router = express.Router()
// const BCHJS = require('@psf/bch-js')
// const bchjs = new BCHJS()
// let _this
class Ninsight {
constructor () {
// _this = this
this.router = router
this.router.get('/', this.root)
}
root (req, res, next) {
return res.json({ status: 'ninsight' })
}
}
module.exports = Ninsight