upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests/ngit_send.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-12-10 11:45:24 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2024-12-10 11:55:46 +0000
commit8d8c21d05e4d8d7af30a96704a5919efc07010dc (patch)
tree34d80870dc29b56b54959c4a0f96f54f9085f194 /tests/ngit_send.rs
parent8bd0f64bfc1d8348aaac11c9882e6211599df320 (diff)
feat(nostr_url): improve nip05 git cache format
store all nip05s in a single git config item called "nostr.nip05" using the `<nip05>:<hex-public-key>` format with multiple values comma seperated. git config is suposed to be human readable so it consideration was given to storing the npub instead of hex but nip05 generally uses hex and its rarely, if at all, going to be read directly by humans. in the future it might be better to use git syntax for storing multiple items but library git2 doesn't support this. it would be trivial to do though. multiple nip05 items is an edge case so this format is ok for now.
Diffstat (limited to 'tests/ngit_send.rs')
0 files changed, 0 insertions, 0 deletions