Skip to content

Conversation

@laizy
Copy link
Contributor

@laizy laizy commented Jul 26, 2017

currently have exported the status of local node, peers, connections, transaction pool and ChainStore,
which can be accessed from http://nodeip:HttpJsonPort/debug/vars

Signed-off-by: laizy laizhichao@onchain.com

Connectings: node.ConnectingAddrs,
}

for _, n := range node.nbrNodes.List {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should add lock to guard node.nbrNodes.List

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@laizy laizy force-pushed the expvar_status branch 2 times, most recently from dd3241f to a276b6b Compare July 27, 2017 10:07
currently have exported the status of local node, peers, connections, transaction pool and ChainStore,
which can be accessed from http://nodeip:HttpJsonPort/debug/vars

Signed-off-by: laizy <laizhichao@onchain.com>
Honglei-Cong pushed a commit to Honglei-Cong/DNA that referenced this pull request Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants