Amiti Uttarwar
b1a936d4ae
[rpc] Remove deprecated "whitelisted" field from getpeerinfo
4 years ago
Troy Giorshev
d419fdedbe
[net processing] Don't add AlreadyHave txs to recentRejects
...
Now, we only add a transaction to our recentRejects filter if we didn't
already have it, meaning that it is added at most once, as intended.
4 years ago
Prayank
4b16c61461
scripted-diff: test: Replace uses of (dis)?connect_nodes global
...
-BEGIN VERIFY SCRIPT-
# max-depth=0 excludes test/functional/test_framework/...
FILES=$(git grep -l --max-depth 0 "connect_nodes" test/functional)
# Replace (dis)?connect_nodes(self.nodes[a], b) with self.(dis)?connect_nodes(a, b)
sed -i 's/\b\(dis\)\?connect_nodes(self\.nodes\[\(.*\)\]/self.\1connect_nodes(\2/g' $FILES
# Remove imports in the middle of a line
sed -i 's/\(dis\)\?connect_nodes, //g' $FILES
sed -i 's/, \(dis\)\?connect_nodes//g' $FILES
# Remove imports on a line by themselves
sed -i '/^\s*\(dis\)\?connect_nodes,\?$/d' $FILES
sed -i '/^from test_framework\.util import connect_nodes$/d' $FILES
-END VERIFY SCRIPT-
Co-authored-by: Elliott Jin <elliott.jin@gmail.com>
4 years ago
Luke Dashjr
d681a28219
RPC: getpeerinfo: Deprecate "whitelisted" field (replaced by "permissions")
4 years ago
Seleme Topuz
1343c86c7c
test: Update wait_until usage in tests not to use the one from utils
...
Replace "wait_until()" usage from utils, with the ones from BitcoinTestFramework and P2PInterface.
closes #19080
4 years ago
John Newbery
d5800da519
[test] Remove final references to mininode
4 years ago
John Newbery
85165d4332
scripted-diff: Rename mininode to p2p
...
-BEGIN VERIFY SCRIPT-
sed -i 's/\.mininode/\.p2p/g' $(git grep -l "mininode")
git mv test/functional/test_framework/mininode.py test/functional/test_framework/p2p.py
-END VERIFY SCRIPT-
4 years ago
Gleb Naumenko
cf1569e074
Add addr permission flag enabling non-cached addr sharing
4 years ago
MarcoFalke
fab5586122
doc: Use precise permission flags where possible
4 years ago
MarcoFalke
fa0540cd46
net: Extract download permission from noban
4 years ago
MarcoFalke
fac6ef4fb2
test: Add test for no net permission
4 years ago
MarcoFalke
fa488f131f
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
5 years ago
MarcoFalke
facb71576c
net: Remove forcerelay of rejected txs
5 years ago
MarcoFalke
aaaae4d0eb
test: Add p2p test for forcerelay permission
5 years ago
MarcoFalke
fa6b57bcaa
test: Fix whitespace in p2p_permissions.py
5 years ago
MarcoFalke
aaaaad6ac9
scripted-diff: Bump copyright of files changed in 2019
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
5 years ago
nicolas.dorier
3b05f0f70f
Reformat p2p_permissions.py
5 years ago
nicolas.dorier
ce7eac3cb0
[Fix] The default whitelistrelay should be true
5 years ago
nicolas.dorier
c5b404e8f1
Add functional tests for flexible whitebind/list
5 years ago