This folder is for storing any scripts that may be helpful for using stellar-core.
- Name -
OverlaySurvey.py
- Description - A Python script that will walk the network using the Overlay survey mechanism to gather connection information. See admin for more information on the overlay survey. The survey will use the peers of the initial node to seed the survey.
- Usage - Ex.
python3 OverlaySurvey.py -gs gs.json survey -n http://127.0.0.1:11626 -d 50 -sr sr.json -gmlw gmlw.graphml
to run the survey orpython3 OverlaySurvey.py -gs gs.json analyze -gmla gmla.graphml
to analyze an existing graph.-gs GRAPHSTATS
,--graphStats GRAPHSTATS
- output file for graph stats- sub command
survey
- run survey and analyze-n NODE
,--node NODE
- address of initial survey node-d DURATION
,--duration DURATION
- duration of survey in seconds-nl NODELIST
,--nodeList NODELIST
- list of seed nodes. One node per line. (Optional)-gmlw GRAPHMLWRITE
,--graphmlWrite GRAPHMLWRITE
- output file for graphml file-sr SURVEYRESULT
,--surveyResult SURVEYRESULT
- output file for survey results
- sub command
analyze
- analyze an existing graph-gmla GRAPHMLANALYZE
,--graphmlAnalyze GRAPHMLANALYZE
- input graphml file