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

New RPC command listaddresses #7800

Merged
merged 10 commits into from
Nov 17, 2024

Conversation

ShahanaFarooqui
Copy link
Collaborator

Changelog-Added: New rpc listaddresses to list issued addresses from the node.

Closes #7439

doc/schemas/lightning-listaddresses.json Outdated Show resolved Hide resolved
wallet/walletrpc.c Outdated Show resolved Hide resolved
wallet/walletrpc.c Outdated Show resolved Hide resolved
contrib/msggen/msggen/schema.json Outdated Show resolved Hide resolved
contrib/msggen/msggen/schema.json Outdated Show resolved Hide resolved
wallet/walletrpc.c Outdated Show resolved Hide resolved
wallet/walletrpc.c Outdated Show resolved Hide resolved
wallet/walletrpc.c Outdated Show resolved Hide resolved
wallet/walletrpc.c Outdated Show resolved Hide resolved
wallet/walletrpc.c Outdated Show resolved Hide resolved
@rustyrussell
Copy link
Contributor

Maybe include https://github.com/rustyrussell/lightning/tree/guilt/remember-keytype as a precursor? Though that's untested (might have broken Elements).

Then we need only show address types types actually used, at least from now on!

@ShahanaFarooqui ShahanaFarooqui force-pushed the rpc-listaddresses branch 9 times, most recently from 7d41a24 to 92be426 Compare November 14, 2024 02:34
Copy link
Contributor

@rustyrussell rustyrussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack 92be426

If we really need those dev fields, I'd rather leave the dev-listaddrs command around, and keep listaddresses clean?

wallet/wallet.c Outdated Show resolved Hide resolved
wallet/wallet.h Outdated Show resolved Hide resolved
wallet/walletrpc.c Outdated Show resolved Hide resolved
@ShahanaFarooqui ShahanaFarooqui force-pushed the rpc-listaddresses branch 2 times, most recently from 30bb08d to e381553 Compare November 14, 2024 22:29
@ShahanaFarooqui ShahanaFarooqui force-pushed the rpc-listaddresses branch 3 times, most recently from ba142b8 to 419de06 Compare November 15, 2024 05:12
ShahanaFarooqui and others added 5 commits November 17, 2024 15:40
onchaind used to make its own txs, but doesn't any more.  This
parameter is useless.

Signed-off-by: Rusty Russell <[email protected]>
Both for HTLC txs and the to-self outputs.

Signed-off-by: Rusty Russell <[email protected]>
Changelog-Changed: Wallet: Taproot addresses are used for unilateral-close change addresses.
@rustyrussell
Copy link
Contributor

Rebased on master with flake fixes, and fixed elements (no P2TR).

Changelog-Added: New rpc `listaddresses` to list issued addresses from the node.
Added a new test for listaddresses rpc.
@rustyrussell rustyrussell merged commit 2dd0d4c into ElementsProject:master Nov 17, 2024
39 checks passed
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.

Add new rpc listaddresses to list all addresses issued by the wallet
4 participants