Dmitriy Ryajov
|
018da65708
|
compare peer string ids, rather than keys
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
3194e3ac5b
|
fixes after building with 0.20.2
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
bb277d4b56
|
readLp should warn on ignored exceptions
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
464d75d159
|
minor style fixes
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
2066e81658
|
set default timeout to 10 secs
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
1d4b51413e
|
option to allow triggering own handlers on publish
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
37d7a03fba
|
use a timed cache in floodsub
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
e98ec9fd49
|
use doAssert for release asserts
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
f190c155d3
|
don't throw on missing peer
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
3b9d34116d
|
decrease floodsub traffic
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
f9a04dbb9d
|
todo: poll should allow for timeouts
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
cfd31c5251
|
properly handle empty messages
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
6cfbf2c124
|
don't send messages to self
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
a01d1db6a0
|
prperly close and chronos connections
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
968fd85d49
|
properly exit readLoop on error/stream end
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
34d1a641de
|
cleanup/test pubsub
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
f8872dd51c
|
make log topics consistent
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
3c5b77affa
|
correctly identify incoming connection
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
68eb142a7c
|
end multiplex read loop on exception
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
cc2072d290
|
always cleanup connection on exit
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
c7606ce2eb
|
readMsg should never return an empty buffer
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
f7e5c8ee30
|
bring back commented tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
bc46a76029
|
connection should raise on invalid varint
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
15bae7bec5
|
use `result` instead of buffer
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
f5508be544
|
yield to chronos in mplex loop
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
b5c4eaf9b8
|
don't use result in oneliners
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
06b759e049
|
review cleanup
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
5ae37cac98
|
no more buffer resets on len prefixed reads
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
dd3f85965b
|
should not handle transport exceptions
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
99869aa8b8
|
don't reset buffer on exception
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
6baf089bb4
|
move tomultiaddr to wire.nim
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
f3afe0a6ce
|
feat: allow ussage of 0 addrs
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
9862064234
|
changed copyright year
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
5b3f93ba1c
|
feat: allow multiple handlers per topic in pubsub
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
2f31fc6940
|
misc: TODO for timeouts and message limit in mplex
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
b270515bb3
|
feat: make private/public keys Option[T]
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
663ce6c589
|
misc: nimpretty
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
054085620c
|
logging: switch debug for trace in most cases
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
011df568b7
|
finished integrating secio
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
3eb0cdd5f7
|
misc
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
9bb892de69
|
wip: integrating and testing secio
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
27e4516796
|
fix breaking test
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
b47dc89589
|
wip: integrating secio
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
ea142f0e6d
|
proxy connection through secio
|
2019-10-11 08:15:24 +09:00 |
cheatfate
|
2d00f6a6db
|
wip: integrating secio
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
f2fb92d1af
|
properly close transport
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
c98e8929bc
|
reverting change
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
f39a5cf5e4
|
temporary fix, until pub/priv keys are Option[T]
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
ef89e98479
|
renaming channel
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
88079a2864
|
incomming connection handling flow and tests
|
2019-10-11 08:15:24 +09:00 |