Skip to content

feat(indexer): outgoing channel primitives - #424

Closed
m-kus wants to merge 1 commit into
02-05-feat_indexer_filter_out_spent_notesfrom
02-05-feat_indexer_outgoing_channel_primitives
Closed

m-kus wants to merge 1 commit into
02-05-feat_indexer_filter_out_spent_notesfrom
02-05-feat_indexer_outgoing_channel_primitives

Conversation

@m-kus

@m-kus m-kus commented Feb 5, 2026 •

Copy link
Copy Markdown

TL;DR

Added support for outgoing channels in the privacy pool implementation, enabling recipient address encryption and decryption.

What changed?

  • Added new types and functions to support outgoing channels:

    • Created EncOutgoingChannelInfo struct to store encrypted recipient information
    • Implemented decrypt_outgoing_recipient_addr function to decrypt recipient addresses
    • Added hash functions for channel key derivation, outgoing channel ID computation, and recipient address encryption
    • Added storage slots for encrypted outgoing channel information
    • Extended the IViews trait with a get_outgoing_channel_info method
  • Added new domain separation tags:

    • CHANNEL_KEY_TAG
    • OUTGOING_CHANNEL_ID_TAG
    • ENC_RECIPIENT_ADDR_TAG
  • Added comprehensive test coverage for all new functionality


This change is Reviewable

m-kus commented Feb 5, 2026 •

Copy link
Copy Markdown
Author

@m-kus
m-kus marked this pull request as ready for review February 5, 2026 17:41
@m-kus
m-kus force-pushed the 02-05-feat_indexer_outgoing_channel_primitives branch from 8ff2514 to 1528bbd Compare February 5, 2026 18:01
@m-kus
m-kus force-pushed the 02-05-feat_indexer_outgoing_channel_primitives branch from 1528bbd to 9837e52 Compare February 5, 2026 21:23
@m-kus
m-kus requested a review from Yoni-Starkware February 5, 2026 21:23
@m-kus
m-kus force-pushed the 02-05-feat_indexer_filter_out_spent_notes branch from 41c92a1 to d309d2a Compare February 5, 2026 21:29
@m-kus
m-kus force-pushed the 02-05-feat_indexer_outgoing_channel_primitives branch from 9837e52 to 19c6773 Compare February 5, 2026 21:29
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.

1 participant