diff options
author | Kurkó Mihály <kurkomisi@users.noreply.github.com> | 2018-10-16 06:40:51 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-10-16 06:40:51 +0800 |
commit | 16e4d0e0055f7fce620ff6881a1393d955c06cee (patch) | |
tree | c612d19c404de92d63b09bf395a18b11b74cb389 /p2p/peer.go | |
parent | 331fa6d3075cb89fc295b36d9039620ec1d741ad (diff) | |
download | go-tangerine-16e4d0e0055f7fce620ff6881a1393d955c06cee.tar go-tangerine-16e4d0e0055f7fce620ff6881a1393d955c06cee.tar.gz go-tangerine-16e4d0e0055f7fce620ff6881a1393d955c06cee.tar.bz2 go-tangerine-16e4d0e0055f7fce620ff6881a1393d955c06cee.tar.lz go-tangerine-16e4d0e0055f7fce620ff6881a1393d955c06cee.tar.xz go-tangerine-16e4d0e0055f7fce620ff6881a1393d955c06cee.tar.zst go-tangerine-16e4d0e0055f7fce620ff6881a1393d955c06cee.zip |
p2p: meter peer traffic, emit metered peer events (#17695)
This change extends the peer metrics collection:
- traces the life-cycle of the peers
- meters the peer traffic separately for every peer
- creates event feed for the peer events
- emits the peer events
Diffstat (limited to 'p2p/peer.go')
0 files changed, 0 insertions, 0 deletions