Hocuri
d8f07b2c5f
feat: Enable Webxdc realtime by default ( #6125 )
2024-10-31 13:33:14 +01:00
link2xt
69b4c0ccb4
refactor: factor out add_gossip_peer_from_header()
...
Also don't even add the peer to SQL if realtime is disabled.
2024-10-25 19:25:51 +00:00
link2xt
913d2c45b3
fix: do not wait for connections in maybe_add_gossip_peers()
...
join() method of Gossip [1]
waits for at least one connection
and this is not what we want
because it may block receive_imf()
forever if no connection arrives.
[1] https://docs.rs/iroh-gossip/0.25.0/iroh_gossip/net/struct.Gossip.html#method.join
2024-10-24 19:59:00 +00:00
link2xt
ac01a4a771
feat: allow sending realtime messages up to 128 KB in size
...
Previous default value was 4 KiB.
2024-10-24 13:55:28 +00:00
link2xt
51f2a8d59e
refactor: generate topic inside create_iroh_header()
2024-10-23 22:33:09 +00:00
link2xt
db6d451c90
feat: add more logging for iroh initialization and peer addition
2024-10-23 17:48:33 +00:00
link2xt
4b3a6445fb
fix: never initialize Iroh if realtime is disabled
2024-10-23 17:48:33 +00:00
Sebastian Klähn
1b824705fd
feat: Add realtime advertisement received event ( #6043 )
...
Co-authored-by: link2xt <link2xt@testrun.org >
Co-authored-by: iequidoo <117991069+iequidoo@users.noreply.github.com >
2024-10-20 06:27:57 +00:00
link2xt
b47b96d5d6
chore(cargo): update iroh to 0.25
...
According to
<https://www.iroh.computer/blog/iroh-0-25-0-custom-protocols-for-all >
gossip now handles updating direct addresses automatically.
2024-09-20 22:56:24 +00:00
link2xt
e701709645
chore(cargo): update iroh from 0.21 to 0.22 ( #5860 )
2024-08-09 14:06:22 +00:00
link2xt
3b76622cf1
chore: fix typo s/webdxc/webxdc/
2024-08-06 05:53:54 +00:00
link2xt
d6d90db957
feat: new BACKUP2 transfer protocol
...
New protocol streams .tar into iroh-net
stream without traversing all the files first.
Reception over old backup protocol
is still supported to allow
transferring backups from old devices
to new ones, but not vice versa.
2024-07-19 03:16:57 +00:00
link2xt
0f26da4028
feat(iroh): pass direct addresses from Endpoint to Gossip
2024-07-13 14:36:35 +00:00
dignifiedquire
c2d5488663
fix: only add node addrs with actual information
2024-07-09 22:11:30 +00:00
link2xt
cc51d51a78
chore(cargo): update iroh from 0.17 to 0.20
2024-07-09 22:11:30 +00:00
link2xt
a2dacc333c
fix: distinguish between database errors and no gossip topic
2024-07-09 02:37:48 +00:00
link2xt
76a84ec9b1
refactor: store public key instead of secret key for peer channels
...
We only need public key, so there is no need to derive
it from secret key every time.
2024-06-21 22:31:21 +00:00
Sebastian Klähn
48b4cfc247
feat: add config option to enable iroh ( #5607 )
...
Co-authored-by: link2xt <link2xt@testrun.org >
2024-06-03 22:59:29 +00:00
link2xt
4f071e3b31
fix: acquire write lock on iroh_channels before checking for subscribe_loop
2024-05-25 05:46:55 +00:00
link2xt
0e1f62a38d
build: update iroh to the git version
...
This fixes the problem with simultaneous connections in iroh-gossip:
<https://github.com/n0-computer/iroh/pull/2318 >
2024-05-23 22:58:45 +00:00
Sebastian Klähn
8cb699290a
fix: connect to peers that advertise to you
2024-05-21 22:12:23 +00:00
link2xt
2e5ad3f3a0
test(peer_channels): add test_parallel_connect()
2024-05-21 22:10:15 +00:00
Sebastian Klähn
36f1fc4f9d
feat: ephemeral peer channels ( #5346 )
...
Co-authored-by: link2xt <link2xt@testrun.org >
Co-authored-by: iequidoo <117991069+iequidoo@users.noreply.github.com >
2024-05-17 20:13:21 +00:00