handshakealliance / hindexer Goto Github PK
View Code? Open in Web Editor NEWAn indexing plugin for the Handshake Daemon (HSD)
An indexing plugin for the Handshake Daemon (HSD)
For some reason, the "filter" command is not pulling out any of the config from hsd.conf
I suspect it's due to this line: https://github.com/bcoin-org/bcfg/blob/master/lib/config.js#L164
As in the data is stored in config.data, which is not being transferred over in the filter. Need to open an issue/P.R. for this later.
Currently hindexer only works as a plugin to HSD.
Ideally, this would be able to be run as an external service. I think the easiest way to transition the code to this is to move the "connect" blocks to a file that is only called if it's included as a plugin, otherwise we call the rpc methods and potentially listen to the HSD client via web sockets to add blocks.
Everything else can pretty much stay the same, we just have to change the "connection" code.
Right now we have the db initialization and config inside of the indexer file -> I'd like to pull this to it's own file so that it's more structured and easily seen.
Right now syncing ~14,000 blocks into a PG database is taking my laptop just under 5 minutes. We can speed this up drastically by batching the inserts rather than doing each one individually.
Right now hindexer will crash the entire node if it can't connect to postgres.
We should handle these errors gracefully, and just crash hindexer not the entire hsd node.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.