Skip to content

Instantly share code, notes, and snippets.

@LeoHChen
Created February 9, 2019 01:37
Show Gist options
  • Save LeoHChen/a669d4e405443e91d0890e87bc0f3884 to your computer and use it in GitHub Desktop.
Save LeoHChen/a669d4e405443e91d0890e87bc0f3884 to your computer and use it in GitHub Desktop.
tets log on libp2p pubsub
Exit status: 130 [17:11] leochen @ MBP15: ~/work/go/src/github.com/harmony-one/harmony [2pd]: Modified, Untracked
$ bin/harmony -libp2p_pd -is_beacon
INFO [02-08|17:12:02.245] Allocated cache and file handles database=./db/harmony_127.0.0.1_9000 cache=16 handles=16
DEBUG[02-08|17:12:02.252] HostV2 is up! port=9000 id=QmXSqoNm1jnwhkFgA46Li39juZBq8U21xjPKn8Y4i4idKH addr=/ip4/0.0.0.0/tcp/9000
INFO [02-08|17:12:02.252] NewHost port=9000 ip=127.0.0.1 self=127.0.0.1:9000 PeerID="<peer.ID Qm*i4idKH>"
INFO [02-08|17:12:02.252] HARMONY multiaddress=/ip4/127.0.0.1/tcp/9000/p2p/QmXSqoNm1jnwhkFgA46Li39juZBq8U21xjPKn8Y4i4idKH
ERROR[02-08|17:12:02.252] AddPeer PeerID is EMPTY
DEBUG[02-08|17:12:02.325] Trie cache stats after commit misses=0 unloads=0
INFO [02-08|17:12:02.325] Persisted trie from memory database nodes=131 size=20.62kB time=511.246µs gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO [02-08|17:12:02.326] Loaded most recent local header number=0 hash=a7f24f…e92307 td=0 age=49y9mo3w
INFO [02-08|17:12:02.326] Loaded most recent local full block number=0 hash=a7f24f…e92307 td=0 age=49y9mo3w
INFO [02-08|17:12:02.326] Loaded most recent local fast block number=0 hash=a7f24f…e92307 td=0 age=49y9mo3w
DEBUG[02-08|17:12:02.326] Reinjecting stale transactions count=0
INFO [02-08|17:12:02.326] Loaded local transaction journal transactions=0 dropped=0
INFO [02-08|17:12:02.326] Regenerated local transaction journal transactions=0 accounts=0
DEBUG[02-08|17:12:02.327] Got more transactions port=9000 ip=127.0.0.1 num=1 totalPending=1
Start PeerDiscovery
INFO [02-08|17:12:02.327] support_sycning: StartSyncingServer port=9000 ip=127.0.0.1
INFO [02-08|17:12:02.327] Starting discovery service.
INFO [02-08|17:12:02.328] Init discovery service
Start NetworkInfo
INFO [02-08|17:12:02.328] Init networkinfo service port=9000 ip=127.0.0.1
DEBUG[02-08|17:12:02.328] Bootstrapping the DHT port=9000 ip=127.0.0.1
INFO [02-08|17:12:02.338] connected to bootnode port=9000 ip=127.0.0.1 node="{ID:<peer.ID Qm*JgbVuf> Addrs:[/ip4/127.0.0.1/tcp/9876]}"
INFO [02-08|17:12:02.339] Announcing ourselves... port=9000 ip=127.0.0.1
INFO [02-08|17:12:02.339] Successfully announced! port=9000 ip=127.0.0.1
DEBUG[02-08|17:12:02.340] no more peer info port=9000 ip=127.0.0.1 peer="<peer.ID >"
INFO [02-08|17:12:18.181] [PUBSUB] port=9000 ip=127.0.0.1 msg size=303 sender="<peer.ID Qm*ThdeEb>"
ERROR[02-08|17:12:18.181] Unknown port=9000 ip=127.0.0.1 MsgCategory=17
INFO [02-08|17:12:18.183] [PUBSUB] port=9000 ip=127.0.0.1 msg size=303 sender="<peer.ID Qm*ThdeEb>"
ERROR[02-08|17:12:18.183] Unknown port=9000 ip=127.0.0.1 MsgCategory=17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment