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
362 stars 68 forks source link

features/liquid: add blindingkey arg to elements_watch #263

Open Kexkey opened 2 years ago

Kexkey commented 2 years ago

For Cyphernode to be able to see details of a confidential transaction (ct) on a watched address, it needs the corresponding blindingkey. If the watched address comes from an external wallet, it cannot get the ct's amount and asset. Currently, it is only possible to provide everything about a transaction on a watched address owned by the spending wallet.

Add a blindingkey arg to elements_watch and call importblindingkey on elementsd.