delvingbitcoin

Silent Payments: Light Client Protocol

Silent Payments: Light Client Protocol

Original Postby cygnet3

Posted on: May 22, 2024 19:17 UTC

The discussion revolves around the implementation strategies for interacting with the Blindbit oracle as a backend in programming environments.

Specifically, it highlights the method of converting the utxo array into a map, as demonstrated in the provided code snippet convert the utxo array into a map. This approach aligns with the structure of the JSON mentioned, suggesting a potential simplification by removing the txid from the output structure to streamline the process.

Furthermore, an alternative technique is discussed for scenarios not utilizing Blindbit, where a BIP158 client comes into play. In such cases, the strategy involves requesting the full block to access the complete transaction structure. This indicates a versatile approach to handling backend operations depending on the specific requirements or constraints of the project at hand, whether it be through the direct manipulation of data structures like utxo arrays or through leveraging client requests for comprehensive transaction information.