Closed marijnbent closed 6 years ago
We wanted to query the mongo database that is available on every of our bigchaindb nodes.
Marijn and I made querying mongodb directly possible, by doing the following:
The reason for direct access to the mongo database is that is makes more advanced queries possible, for example filtering on a date range. It's still a decentralized network of bigchaindb nodes, and everyone that has its own node can query the companioned mongodb as well. This way it's still an open source project that anyone can use: decentralized & with self owned data.
I would like to redefine the scope of this issue.
Right now we have these statistics on the homepage:
This issue can be closed if the following is true:
If all the checks above pass, this issue can be closed.
All checks pass. Issue can be closed.
While it should be possible, I cannot get the connection to work with MongoDB. The port (27017) is open, IP is 188.166.15.225, auth is known, databasename is bigchaindb, but cannot establish connection.
https://docs.bigchaindb.com/en/latest/query.html?highlight=query https://blog.bigchaindb.com/using-mongodb-to-query-bigchaindb-data-3fc651e0861b