mirror of
https://github.com/dergigi/boris.git
synced 2026-01-09 01:44:24 +01:00
debug(bunker): log signer publish/subscribe calls and relay connectivity
- Wrap NostrConnectSigner publish/subscription to log relays and filters - Log relayPool connectivity snapshot before bookmark decryption - Helps diagnose decrypt requests not reaching Amber
This commit is contained in:
@@ -107,7 +107,14 @@ export const fetchBookmarks = async (
|
||||
console.log('[bunker] 🔑 Signer has nip04:', hasNip04Decrypt(signerCandidate))
|
||||
console.log('[bunker] 🔑 Signer has nip44:', hasNip44Decrypt(signerCandidate))
|
||||
}
|
||||
const { publicItemsAll, privateItemsAll, newestCreatedAt, latestContent, allTags } = await collectBookmarksFromEvents(
|
||||
|
||||
// Debug relay connectivity for bunker relays
|
||||
try {
|
||||
const urls = Array.from(relayPool.relays.values()).map(r => ({ url: r.url, connected: (r as any).connected }))
|
||||
console.log('[bunker] Relay connections:', urls)
|
||||
} catch {}
|
||||
|
||||
const { publicItemsAll, privateItemsAll, newestCreatedAt, latestContent, allTags } = await collectBookmarksFromEvents(
|
||||
bookmarkListEvents,
|
||||
activeAccount,
|
||||
signerCandidate
|
||||
|
||||
Reference in New Issue
Block a user