bitcoinjs / indexd

An external bitcoind index management service module
ISC License
53 stars 23 forks source link

Isolate indexes #37

Closed dcousens closed 6 years ago

KryptoNova commented 6 years ago

This is definitely an exciting PR. Great work!!

I was testing this modification and I think the example service is broken. I made a note on one problem that I found. I think there is still another problem in the example. I got an error in the socket.js file inside of the example. See below:

socket.js:31
adapter.emitter.on('block', (blockId) => {
        ^

TypeError: Cannot read property 'emitter' of undefined
dcousens commented 6 years ago

@KryptoNova indeed thanks for testing! The PR is still WIP, but it is nearly done. I'll ensure to ping you in when this is ready for merge (and therefore, non-alpha-like testing too!).

dcousens commented 6 years ago

@KryptoNova go! This is ready for testing now. I am using it for bitcoinjs' regtest server for integration testing, which is where I have moved the example/ folder to.