SatoshiPortal / cyphernode

Modular Bitcoin full-node microservices API server architecture and utilities toolkit to build scalable, secure and featureful apps and services without trusted third parties
MIT License
364 stars 68 forks source link

Add Blockstream Privacy Analysis Script #75

Open FrancisPouliot opened 5 years ago

FrancisPouliot commented 5 years ago

We should add this:

FrancisPouliot commented 5 years ago

The scripts can be found here : https://github.com/Blockstream/esplora/blob/master/client/src/lib/privacy-analysis.js

I would like this to be a field in the "unconfirmed-tx" and "confirmed-tx" callback responses.

Optionally can be its own endpoint like "txprivacy" with a txid as argument