Skip to content

Comments

fix: allow onion addresses and external peers in messages command#791

Open
nkatha23 wants to merge 2 commits intobitcoin-dev-project:mainfrom
nkatha23:fix/messages-onion-addresses
Open

fix: allow onion addresses and external peers in messages command#791
nkatha23 wants to merge 2 commits intobitcoin-dev-project:mainfrom
nkatha23:fix/messages-onion-addresses

Conversation

@nkatha23
Copy link

  • Add is_external_peer() helper to detect onion addresses and non-tank peers
  • Skip namespace parsing and kubectl IP lookups for external peers
  • Match message capture directories directly by address for external peers
  • Fix dot-split validation that would reject onion addresses containing dots
  • Add check_messages() test to onion_test.py to verify the fix

Fixes #761

- Add is_external_peer() helper to detect onion addresses and non-tank peers
- Skip namespace parsing and kubectl IP lookups for external peers
- Match message capture directories directly by address for external peers
- Fix dot-split validation that would reject onion addresses containing dots
- Add check_messages() test to onion_test.py to verify the fix

Fixes bitcoin-dev-project#761
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.

captured messages retrieval should allow onion addresses or peers that are not known tanks

1 participant