Bitsocket Standalone (SA) includes most of the features from Bitsocket FH but none of the bloat. Bitsocket SA does this by routing around mongodb and parsing transactions from ZeroMQ directly, as well as many other performance improvements.
Bitsocket is simple way to stream bitcoin transactions straight from your local Bitcoin Cash node to the world using SSE (Server Sent Events).
This is not only more secure, but also offers far better performance and customizability than you'd get from ZeroMQ direcly.
- Added
in.o(X)
for op codes. Instead of“b0": { “op": 106 } }
it will now say"o0": "OP_RETURN"
- Added Mingo validation to emulate MongoDB queries
- Added
tx.lock
(locktime) andtx.ver
(version) - Added
tx.size
(transaction size in bytes) - Added
in.seq
for sequenceNumber
- Removed large-type (l-prefixed) fields
- Removed MongoDB (might need to update your queries)
If you haven't already, go through the steps in the following guides to install nodejs and BCHN
First you need to clone the repository
git clone https://github.com/kosinusbch/bitsocket-sa && cd bitsocket-sa
Install NPM dependencies
npm install
Start the process
node index.js
Start the process as a daemon
pm2 start index.js --name="bitsocket"
Your Bitsocket server will now be live at http://127.0.0.1:4000