OSDN Git Service

clean up
authorHAOYUatHZ <haoyu@protonmail.com>
Sat, 31 Aug 2019 11:04:21 +0000 (19:04 +0800)
committerHAOYUatHZ <haoyu@protonmail.com>
Sat, 31 Aug 2019 11:04:21 +0000 (19:04 +0800)
toolbar/precog/monitor/monitor.go

index 6eb732d..28ef603 100644 (file)
@@ -27,7 +27,6 @@ import (
 // TODO:
 // 3. toolbar/precog/monitor/stats.go FirstOrCreate&Update 弱弱的问一下,直接save会出事么?
 // 4. 碰到一个玄学问题,究竟是以ip为单位,还是pubkey为单位。 如果同一个pubkey出现在2个不同的ip,会不会让数据混乱?
-// 6. ***NodeLiveness应该是存每次的通讯记录?至于一些统计数据之类的都丢node上去?
 // 7. m这个为什么需要锁呀?一个是节点发现,一个是生命探测,中间交互都是数据库把?
 
 type monitor struct {