Dmitriy Ryajov
55a294a5c9
better pubsub metrics ( #214 )
2020-06-11 12:09:34 -06:00
Dmitriy Ryajov
6b196ad7b4
remove pubsub peer on disconnect ( #212 )
...
* remove pubsub peer on disconnect
* make sure lock is aquired
* add $
* count upgrades/dials/disconnects
2020-06-11 08:45:59 -06:00
Jacek Sieka
92579435b6
secio then noise ( #213 )
...
* secio then noise
much fewer peers on witti with noise first
* comment
2020-06-11 08:38:47 +02:00
Viktor Kirilov
1afec627c2
proper name for topics so that we can filter dynamically using chronicles ( #210 )
...
* proper name for topics so that we can filter dynamically using chronicles
* lowercase
2020-06-10 10:48:01 +02:00
Jacek Sieka
8d9e231a74
grab agentversion/protoversion ( #211 )
2020-06-09 12:42:52 -06:00
Dmitriy Ryajov
35ff99829e
close streams ( #208 )
...
* close streams
* don't warn on missing proto
2020-06-08 17:42:27 -06:00
Dmitriy Ryajov
ee281310c0
move trace log
2020-06-08 10:40:08 -06:00
Giovanni Petrantoni
82b4ed8f44
use declareCounter rather then gauge for certain metrics
2020-06-07 16:41:23 +09:00
Giovanni Petrantoni
a6a2a81711
Start adding some metrics to pubsub ( #192 )
...
* Start adding some metrics to pubsub
In order to visualize it's functionality
Still WIP
* more metrics
* add per topic metrics
* finishup with requested metrics
* add a metrisServer define to start local server
* PR fixes and cleanup
2020-06-07 09:15:21 +02:00
Dmitriy Ryajov
130c64f33a
don't return nil in dial ( #205 )
...
* dont return nil in dial
* don't crash on pubsub send
2020-06-05 18:17:05 -06:00
Zahary Karadjov
2aebae56c0
Don't rely on the side-effects from doAssert
2020-06-05 19:12:10 +03:00
Zahary Karadjov
828a80ec8f
Make the MultiAddress.init function used in NBC non-failing
2020-06-05 17:51:22 +03:00
Dmitriy Ryajov
5960d42c50
remove casts from ( #203 )
2020-06-02 20:21:11 -06:00
Dmitriy Ryajov
bb8bff2195
add sparse message propagation tests to gossipsub ( #202 )
...
* add sparce tests to gossipsub
* add send hooks
* remove `all`
2020-06-02 17:53:38 -06:00
Dmitriy Ryajov
285884c20c
Close peers ( #201 )
...
* wip
* exceptions and resource cleanup
* correct peerlifetime on disconnect
* emulate defered
* remove comment
2020-06-02 11:32:42 -06:00
Dmitriy Ryajov
c7298f34f4
additional comments
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
abbb50ae34
add leaks tests
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
71640da8f2
remove close from read/write methods
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
1b4876d26d
emulate `defered`
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
abf659a01a
more consistent dialing proto selecting logic
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
4c191866e4
use all() for futures and track connections
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
86e1c8169c
decorate observers hooks with {.raises: [Defect].}
...
move hooks logic out into standalone procs
License: MIT
Signed-off-by: Dmitriy Ryajov <dryajov@gmail.com>
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
4df151a3a3
typos
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
27a7f8c948
move EOF flag after local close and comments
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
815282a5da
remove all()
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
293b7da295
typo
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
a4277cf39a
test for openned/closed resource
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
6e0eb93d4f
remove readloops
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
abc12d0fb5
move stram close to a better location
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
daef00fc7b
don't crash schlesi-dev
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
20c68a2018
use all() for futures and track connections
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
640c3bdc45
better exception handling and resource cleanup
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
7ff76d76b6
better exceptions
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
95774b2b81
better cleanup
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
9c2f31262e
wip: try handling child stream exceptions
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
e3f8f53620
initStream method and better exceptions handling
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
d3b79b002e
better exceptions and don't fail writes
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
74f8b5b5f1
resource cleanup
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
93e5805c01
better exception handling
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
d83ce4c932
exceptions and resource cleanup
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
d4bdb42046
gossipsub fixes
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
6112de746d
remove unneeded changes
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
9d3cc9647b
fix merge
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
5f704e6825
rust interop fixes
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
8e48bb117d
rebasing master
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
77017d1e7e
inc count before closing
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
3d9c0bffba
read from stream
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
048b1db1ad
revert back allread
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
8e9716f5c3
remove on transport close cleanup
2020-06-02 09:10:27 -06:00
Dmitriy Ryajov
8963c2d0ed
fixes after backporting
2020-06-02 09:10:27 -06:00