Skip to content

New RPC command listaddresses#7800

Merged
rustyrussell merged 10 commits intoElementsProject:masterfrom
ShahanaFarooqui:rpc-listaddresses
Nov 17, 2024
Merged

New RPC command listaddresses#7800
rustyrussell merged 10 commits intoElementsProject:masterfrom
ShahanaFarooqui:rpc-listaddresses

Conversation

@ShahanaFarooqui
Copy link
Collaborator

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

Closes #7439

@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?

@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
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