issues
search
libp2p
/
jvm-libp2p
a libp2p implementation for the JVM, written in Kotlin 🔥
https://libp2p.io
Apache License 2.0
260
stars
74
forks
source link
Refactor Yamux flags
#338
Closed
Nashatyrev
closed
11 months ago
Nashatyrev
commented
11 months ago
(based atop of #330)
Convert
YamuxType
to enum:
e088393
Refactor
YamuxFlags
: convert them to
Set
of
enum
values. While the Yamux spec doesn't seem to allow a flags bitmask with more than
one
flag set it looks better to treat that explicitly as a 'set of flags':
e28efd5
(based atop of #330)
YamuxType
to enum: e088393YamuxFlags
: convert them toSet
ofenum
values. While the Yamux spec doesn't seem to allow a flags bitmask with more than one flag set it looks better to treat that explicitly as a 'set of flags': e28efd5