Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ compile_commands.json
/scripts/*.graphml
/scripts/*.json

# tracy binaries
/tracy-capture
/tracy-gui

# test output
stellar-core-test-*
test-partitions.*
Expand Down
14 changes: 0 additions & 14 deletions docs/software/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -420,20 +420,6 @@ Most commands return their results in JSON format.
`sorobaninfo?format=detailed` command to compare against the existing settings to see exactly
what is changing.

* **surveytopology**
`surveytopology?duration=DURATION&node=NODE_ID`<br>
**This command is deprecated and will be removed in a future release. Use the
new time sliced survey interface instead (`startsurveycollecting`,
`stopsurveycollecting`, `surveytopologytimesliced`, and `getsurveyresults`).**
Starts a survey that will request peer connectivity information from nodes
in the backlog. `DURATION` is the number of seconds this survey will run
for, and `NODE_ID` is the public key you will add to the backlog to survey.
Running this command while the survey is running will add the node to the
backlog and reset the timer to run for `DURATION` seconds. See [Changing
default survey behavior](#changing-default-survey-behavior) for details about
the default survey behavior, as well as how to change that behavior or opt-out
entirely.

* **stopsurvey**
`stopsurvey`<br>
Will stop the survey if one is running. Noop if no survey is running
Expand Down
2 changes: 0 additions & 2 deletions lib/util/basen.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#pragma once

/**
* base-n, 1.0
* Copyright (C) 2012 Andrzej Zawadzki (azawadzki@gmail.com)
Expand Down
1 change: 0 additions & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,6 @@ else # !USE_POSTGRES
TESTS=test/selftest-nopg
endif # !USE_POSTGRES
TESTS += test/check-nondet
TESTS += test/check-sorobans

format: always
if USE_CLANG_FORMAT
Expand Down
7 changes: 7 additions & 0 deletions src/test/check-nondet
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,10 @@ then
echo "to calls to std::uniform_int_distribution, which varies between compilers."
exit 1
fi

if git grep 'SecretKey::random' '**/test/*.h' '**/test/*.cpp'
then
echo
echo "please use SecretKey::pseudoRandomForTesting() instead of SecretKey::random() in tests"
exit 1
fi
3 changes: 2 additions & 1 deletion src/test/selftest-nopg
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
# under the Apache License, Version 2.0. See the COPYING file at the root
# of this distribution or at http://www.apache.org/licenses/LICENSE-2.0

exec "${top_srcdir}/src/test/selftest-parallel" "${top_srcdir}/src/test/run-selftest-nopg"
exec "${top_srcdir}/src/test/selftest-parallel" "${top_srcdir}/src/test/run-selftest-nopg" \
&& exec "${top_srcdir}/src/test/check-sorobans"
3 changes: 2 additions & 1 deletion src/test/selftest-pg
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
# under the Apache License, Version 2.0. See the COPYING file at the root
# of this distribution or at http://www.apache.org/licenses/LICENSE-2.0

exec "${top_srcdir}/src/test/selftest-parallel" "${top_srcdir}/src/test/run-selftest-pg"
"${top_srcdir}/src/test/selftest-parallel" "${top_srcdir}/src/test/run-selftest-pg" \
&& exec "${top_srcdir}/src/test/check-sorobans"
Loading