Mats Jerratsch [ARCHIVE] on Nostr: š
Original date posted:2015-10-16 š Original message: Other post was quite long ...
š
Original date posted:2015-10-16
š Original message:
Other post was quite long already and they are actually dealing with
two different issues.
So currently I can think of 3 different broadcast messages, that are
differently dynamic and needs different handling, so I attach them
each with a new signature (which bloats a lot unfortunately).
(1) Pubkey-Channel-Relationships (see other post on ML)
Very static, relayed every 10 days
264 Bytes
(2) Node addresses/IP
Depends on the nodes (dynamic/static IP), approx every 12h
133 Bytes (some estimate, as I want to support addresses too, not just IPs)
(3) Channel-Status (capacity, fee, ...)
Highly depending on actual traffic and node usage - once an hour?
176 Bytes (estimated, depends on actual content)
I would love to combine (1) and (3) to save the 80B of an additional
signature, but at the same time (1) is not worth an hourly broadcast.
Furthermore, I would spare some additional bytes in (1) for some
reputation system (yes, I really am into these.)
These three add up to 2.5GB daily data, or 30kb/s constant load.
For hard drive space it is around 330MB.
I think we can either realise it as some kind of gossip protocol (easy
to implement, overhead of an efficient gossip protocol can be very
low) or use some DHT approach (difficult to bootstrap, has to be
designed to be highly resistant to failure/highly redundant).
A new node would want to retrieve the full dataset similar to the
blockchain before actually opening a channel with a new node. So we
need to design a way of retrieving the full dataset for fresh nodes,
probably in some load-distributed way, although 330MB isn't too much
to retrieve from 1-5 nodes. (and 100k nodes is a pretty optimistic
view of the network too currently, although rusty usually starts even
higher...)
Mats Jerratsch
Published at
2023-06-09 12:44:51Event JSON
{
"id": "1c1b883593b5a61e54328dc59fae3316ae1165ae26b8297389adf5c8ba9fc3ce",
"pubkey": "b8a27d18150405cdfcd44c0dd8db860f5270312300248389bf57ce555c784528",
"created_at": 1686314691,
"kind": 1,
"tags": [
[
"e",
"0702ca6d920739e71123cfb8aac3090846d575270e54e6a6dbe4f2e97cc141f7",
"",
"reply"
],
[
"p",
"9456f7acb763eaab2e02bd8e60cf17df74f352c2ae579dce1f1dd25c95dd611c"
]
],
"content": "š
Original date posted:2015-10-16\nš Original message:\nOther post was quite long already and they are actually dealing with\ntwo different issues.\n\n\nSo currently I can think of 3 different broadcast messages, that are\ndifferently dynamic and needs different handling, so I attach them\neach with a new signature (which bloats a lot unfortunately).\n(1) Pubkey-Channel-Relationships (see other post on ML)\nVery static, relayed every 10 days\n264 Bytes\n\n(2) Node addresses/IP\nDepends on the nodes (dynamic/static IP), approx every 12h\n133 Bytes (some estimate, as I want to support addresses too, not just IPs)\n\n(3) Channel-Status (capacity, fee, ...)\nHighly depending on actual traffic and node usage - once an hour?\n176 Bytes (estimated, depends on actual content)\n\nI would love to combine (1) and (3) to save the 80B of an additional\nsignature, but at the same time (1) is not worth an hourly broadcast.\nFurthermore, I would spare some additional bytes in (1) for some\nreputation system (yes, I really am into these.)\nThese three add up to 2.5GB daily data, or 30kb/s constant load.\nFor hard drive space it is around 330MB.\n\n\nI think we can either realise it as some kind of gossip protocol (easy\nto implement, overhead of an efficient gossip protocol can be very\nlow) or use some DHT approach (difficult to bootstrap, has to be\ndesigned to be highly resistant to failure/highly redundant).\nA new node would want to retrieve the full dataset similar to the\nblockchain before actually opening a channel with a new node. So we\nneed to design a way of retrieving the full dataset for fresh nodes,\nprobably in some load-distributed way, although 330MB isn't too much\nto retrieve from 1-5 nodes. (and 100k nodes is a pretty optimistic\nview of the network too currently, although rusty usually starts even\nhigher...)\n\n\nMats Jerratsch",
"sig": "4c2993d4043f4a2313c94487c14053a5d4a1df75e95598b67619c67345f27fc7bc6bd057403c65640b886450eb75e313fd3f2a33b65dd1b827d37e22aea8cdd1"
}