Martti Malmi on Nostr: ... if relays start connecting to each other. One simple improvement would be sending ...
... if relays start connecting to each other. One simple improvement would be sending "I have a message with this hash, do you want it" messages, and only sending the whole message upon request. That's how the bitcoin network does it with inv & getdata messages.
Published at
2023-01-04 20:03:07Event JSON
{
"id": "2df5bd172ce343bbc8444dea4f4c6cac51241bbe906360a60a751050cf89a653",
"pubkey": "4523be58d395b1b196a9b8c82b038b6895cb02b683d0c253a955068dba1facd0",
"created_at": 1672862587,
"kind": 1,
"tags": [
[
"e",
"28ee84a8d78ab325a2e897969b2cf1fcaf42ce2612dde7f74a64fff56f860228",
"wss://nostr.fmt.wiz.biz",
"reply"
],
[
"p",
"4523be58d395b1b196a9b8c82b038b6895cb02b683d0c253a955068dba1facd0"
],
[
"p",
"b17c59874dc05d7f6ec975bce04770c8b7fa9d37f3ad0096fdb76c9385d68928"
],
[
"p",
"18730a5ef6d6cdc9d1ad5d2d9c193b3922668df7a49ddfc55bc6b66ea4753dcd",
"wss://nostr.fly.dev"
]
],
"content": "... if relays start connecting to each other. One simple improvement would be sending \"I have a message with this hash, do you want it\" messages, and only sending the whole message upon request. That's how the bitcoin network does it with inv \u0026 getdata messages.",
"sig": "65237ce1d8bc97abf1be001bef51c53851a62b61dd8ad9c7fac4589c526b618c0a50a1f69864082238c0dfddbff80b7cc86928587185f84bc80bea3e6a1d5f70"
}