Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[POC/WIP] Add optional Bip352 silentpayments index #1075

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jlest01
Copy link

@jlest01 jlest01 commented Aug 25, 2024

This PR proposes a new --silent-payments-index option that creates an index of Bip352 silent payments.
Most of the code is based on @Sosthene00's fork, but I made the following changes:

. It uses bitcoin-core/secp256k1#1519 and rust-bitcoin/rust-secp256k1#721 instead of the rust-silentpayments crate.
. It adds a new --silent-payments-index configuration option. Without this option, the server does not index silent payments and works the same as it does today.
. The code does not use Box[u8] in db.rs.

To run this, something like the following command can be used: cargo run -- --log-filters=INFO --db-dir <db_dir> --daemon-dir ~/.bitcoin/ --network signet --electrum-rpc-addr="127.0.0.1:60001" --silent-payments-index

@jlest01 jlest01 force-pushed the bip352-silentpayments-module branch from 6df1529 to c1e110c Compare September 6, 2024 23:57
@securitybrahh
Copy link

securitybrahh commented Dec 2, 2024

does not index silent payments

but I can make silent payments to the node, from a client?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants