Commit graph

5 commits

Author SHA1 Message Date
zhoufanjin
a97e73ee2c refactor: using slices.Contains to simplify the code
Signed-off-by: zhoufanjin <shuangcui@live.cn>
2025-01-09 15:38:45 +08:00
bitromortac
66e6d63349
firewall: obfuscate ConnectPeer
Also adds a privacy flag that controls obfuscation of network addresses.
2024-07-02 18:21:42 +02:00
bitromortac
ef84753f6b
firewall: obfuscate ClosedChannels
For closes we need to know the close type and settle balances to know
which peers should be avoided in the future.
2024-07-02 18:21:42 +02:00
bitromortac
772b62689f
session: add debug output to flags error 2024-07-01 11:36:00 +02:00
bitromortac
a4c1f59f86
session: add privacy flag type
We add a privacy flag type that can be used to serialize/deserialize
from a uint64. This is the source for which privacy flags are
available.
2024-04-25 14:49:45 +02:00