aboutsummaryrefslogtreecommitdiffstats
path: root/les/peer.go
diff options
context:
space:
mode:
authorZsolt Felfoldi <zsfelfoldi@gmail.com>2016-11-17 22:54:24 +0800
committerZsolt Felfoldi <zsfelfoldi@gmail.com>2016-12-08 20:38:15 +0800
commit3e617f3cd6c303652147f45ec9c85a5bb7769348 (patch)
tree3280f0ecd95f2d9f109537b96e7ea82f43deafcd /les/peer.go
parent0fe35b907addf1c066cb4d7c717bb23f9f2e7be4 (diff)
downloaddexon-3e617f3cd6c303652147f45ec9c85a5bb7769348.tar
dexon-3e617f3cd6c303652147f45ec9c85a5bb7769348.tar.gz
dexon-3e617f3cd6c303652147f45ec9c85a5bb7769348.tar.bz2
dexon-3e617f3cd6c303652147f45ec9c85a5bb7769348.tar.lz
dexon-3e617f3cd6c303652147f45ec9c85a5bb7769348.tar.xz
dexon-3e617f3cd6c303652147f45ec9c85a5bb7769348.tar.zst
dexon-3e617f3cd6c303652147f45ec9c85a5bb7769348.zip
les: implement light server pool
Diffstat (limited to 'les/peer.go')
-rw-r--r--les/peer.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/les/peer.go b/les/peer.go
index 5d566d899..8eced439d 100644
--- a/les/peer.go
+++ b/les/peer.go
@@ -57,6 +57,8 @@ type peer struct {
announceChn chan announceData
+ poolEntry *poolEntry
+
fcClient *flowcontrol.ClientNode // nil if the peer is server only
fcServer *flowcontrol.ServerNode // nil if the peer is client only
fcServerParams *flowcontrol.ServerParams