draoi
1d8ab03f80
refine_session: actually delete greylist entries that fail the handshake
2024-07-18 13:13:00 +02:00
draoi
3359893c30
doc: fix copy paste misprint on seedsync_session
2024-07-18 13:13:00 +02:00
darkfi
58b67fe388
wallet: vastly improve the text atlassing util
2024-07-18 12:58:36 +02:00
darkfi
7588ac5709
book: update instructions for mining with darkfid
2024-07-18 10:23:16 +02:00
dasman
90c7bcb2c4
tau: fix default hostlist path
2024-07-17 18:47:01 +03:00
draoi
4e952746ad
chore: make clippy
2024-07-17 16:01:11 +02:00
draoi
4070f482e4
settings: implement Default for BanPolicy
2024-07-17 15:52:39 +02:00
draoi
68b63a76e9
dnet+lilith: rename anchorlist to goldlist
2024-07-17 15:52:39 +02:00
draoi
5cbba48ec4
dnet: fix copy paste error
2024-07-17 15:52:39 +02:00
darkfi
e0a49ba316
zk: sumcheck.sage
2024-07-17 15:16:08 +02:00
draoi
9dd240f13e
net+lilith: introduce BanPolicy
...
We create a new net Setting called BanPolicy that can be Strict or
Relaxed. If it's set to Strict, we ban peers that send messages without
us having a corresponding Dispatcher. If it's set to Relaxed we simply
close the connection.
Lilith is set to Relaxed by default while other peers are set to Strict.
This helps us avoid Lilith blacklisting peers that send messages for
protocols it is not subscribed to.
2024-07-17 14:36:28 +02:00
darkfi
6962bbfd38
tau: assign field already contains @, so it will appear when adding task as @@foo
2024-07-17 14:08:06 +02:00
darkfi
97385aedc3
book: correct LOG_TARGETS format for running node
2024-07-17 13:51:24 +02:00
darkfi
180ec6491d
Revert "book: correct output in running node"
...
This reverts commit 5b70077449 .
2024-07-17 12:58:41 +02:00
darkfi
5b70077449
book: correct output in running node
2024-07-17 12:49:09 +02:00
darkfi
11d1129a41
darkirc: add #lunardao to default autojoin
2024-07-17 08:52:17 +02:00
dasman
89ff2b3ded
Caego.toml: remove async-recursion from event_graph features
2024-07-16 04:49:01 +03:00
dasman
69a26b7fd3
event_graph: return sorted Vec<Events> instead of Vec<blake3::Hash> to reduce dag_get() calls
2024-07-16 04:35:26 +03:00
dasman
501399d388
event_graph: rewrite order_events() to effectivly sort events once
2024-07-16 04:22:16 +03:00
draoi
cedde2e9ec
hosts: don't allow manual peers to enter the hostlist via other peers
...
Storing manual peers on the hostlist creates redundancy since we can
never connect to them in Outbound Session or refine them in Refine
Session, so they just pointlessly sit on our greylist forever.
2024-07-12 10:41:55 +02:00
dasman
d2970c8895
event_graph: iterative dfs_topological_sort() instead of recursion
2024-07-12 03:08:17 +03:00
draoi
216794939d
manual_session: sleep when try_register() call fails, then try again
...
Fixes a bug that would cause a death loop when the call to
try_register() fails.
Also removes a duplicate WARN print.
2024-07-11 23:14:21 +02:00
draoi
aa37b87a3e
manual+seedsync_session: unregister() when version exchange fails
2024-07-11 17:26:06 +02:00
parazyd
83600b1adc
darkirc: Update config pointing to a Tor seed node
2024-07-11 14:16:56 +02:00
draoi
3cdec217d1
seedsync: unregister() seed address after failed connection
...
This fixes a bug where failed connections would get stuck in the Connect
state, blocking the seedsync from retrying.
2024-07-11 13:44:59 +02:00
parazyd
26075d753d
darkirc: Update config file with Tor examples
2024-07-11 12:07:15 +02:00
darkfi
64c3f1aa3c
wallet: editbox when text is highlighted and key pressed, use regen_glyphs() since we no longer regen glyphs in redraw()
2024-07-11 11:01:37 +02:00
parazyd
2f97f384e7
net: Use forked Url crate that supports our transport schemes
...
Now IP addresses are properly parsed
2024-07-11 10:56:04 +02:00
draoi
0c8b274505
net: replace LazyWeak with Arc::new_cyclic() and delete system::LazyWeak
...
Also update arch/services.md with the new usage.
2024-07-11 10:25:35 +02:00
dasman
b3f7a9a876
darkirc: queue user privmsgs and send them once DAG is synced
2024-07-11 04:28:31 +03:00
darkfi
327c435e8f
wallet: editbox bugfix, split regen_glyphs() from redraw()
2024-07-10 12:48:07 +02:00
darkfi
f28500c36a
wallet: editbox home/end keys
2024-07-10 12:00:19 +02:00
darkfi
8e54b470bd
wallet: editbox fix race condition
2024-07-10 10:52:13 +02:00
draoi
4cf4fa93d8
doc: add manual blacklist usage to default config
2024-07-09 18:25:12 +02:00
draoi
8ae9e42e71
net: allow control of schemes in the blacklist imported from Settings
2024-07-09 18:25:12 +02:00
parazyd
3d60035238
net/acceptor: Add Tor hidden service address to external_addrs if available
2024-07-09 15:09:30 +02:00
parazyd
f94094e732
net/channel: Attempt to properly parse IPs in Channel::ban()
...
Additionally, skip inbound Tor connections as they're anonymous.
2024-07-09 13:06:25 +02:00
parazyd
3bdae810b3
net/channel: Add helpful debugging error calls
2024-07-09 12:28:36 +02:00
parazyd
27fd3785f8
chore: Update crate dependencies and CI Rust version
2024-07-09 12:20:06 +02:00
parazyd
7945e2eb18
net: Implement mutable Settings which allow dynamic reconfiguration
2024-07-09 11:22:55 +02:00
parazyd
795e2300cb
net: Remove SettingsPtr type alias
2024-07-09 11:16:43 +02:00
draoi
f78af159aa
chore: improve some hosts.rs code documentation
2024-07-09 10:40:21 +02:00
draoi
b735f9ffd9
channel: block all ports when blacklisting an inbound peer
2024-07-09 10:39:29 +02:00
parazyd
60114d71ab
darkwallet: Add license headers
2024-07-09 09:42:39 +02:00
parazyd
46a74e6b60
net: Use AtomicBool for dnet_enabled mark
2024-07-09 09:42:25 +02:00
darkfi
40b4280170
wallet: add empty ChatView stub struct
2024-07-08 13:21:16 +02:00
darkfi
dfd4f43dbc
wallet: editbox add missing on_modify hooks
2024-07-08 13:00:12 +02:00
darkfi
35bd4fc24c
wallet: editbox dont draw selected when start == end, and unfocus event will unset selection
2024-07-08 12:49:13 +02:00
darkfi
baf83715e6
wallet: editbox phone touchscreen highlighting text
2024-07-08 12:35:12 +02:00
darkfi
8a40ac3cf8
wallet: editbox highlighting text with the mouse
2024-07-08 11:07:02 +02:00