Commit Graph

311 Commits (fa0739a7d398aea952a07b73ef565e7c2da75898)

Author SHA1 Message Date
Wladimir J. van der Laan fd9db45c3e
Merge #19258: doc: improve subtree check instructions
4 years ago
MarcoFalke 5ec19df687
Merge #19277: util: Add Assert identity function
4 years ago
fanquake daae8b8a1b
Merge #18649: tests: Add std::locale::global to list of locale dependent functions in lint-locale-dependence.sh
4 years ago
Cory Fields f1a0314c53
gui: change combiner for signals to optional_last_value
4 years ago
Duncan Dean 39d526bde4
test: Bump linter versions
4 years ago
Glenn Willen 931dd47608 Make lint-spelling.py happy
4 years ago
MarcoFalke fa6ef701ad
util: Add Assert identity function
4 years ago
Martin Ankerl 78c312c983 Replace current benchmarking framework with nanobench
4 years ago
Sjors Provoost a4a3fc4cd2
doc: improve subtree check instructions
4 years ago
Hennadii Stepanov 7dda912e1c
test: Do not swallow flake8 exit code
4 years ago
Hennadii Stepanov 89f9fef1f7 refactor: Specify boost/thread/thread.hpp explicitly
4 years ago
Kiminuo bd7e530f01 This PR adds initial support for type hints checking in python scripts.
5 years ago
Carl Dong a4f6ffa71e
lint: Also enable source statements for non-gitian
5 years ago
fanquake 65fb3dfc8d
Merge #18556: build: Drop make dist in gitian builds
5 years ago
Hennadii Stepanov 1362be0447
build: Drop make dist in gitian builds
5 years ago
MarcoFalke fa488f131f
scripted-diff: Bump copyright headers
5 years ago
practicalswift 54b5eb2b14 tests: Add std::locale::global to list of locale dependent functions in lint-locale-dependence.sh
5 years ago
Ben Woosley d056df033a
Replace std::to_string with locale-independent alternative
5 years ago
Wladimir J. van der Laan 3516a31eaa
Merge #18234: refactor: Replace boost::mutex,condition_var,chrono with std equivalents in scheduler
5 years ago
Anthony Towns 70a6b529f3 lint-cppcheck: Remove -DHAVE_WORKING_BOOST_SLEEP_FOR
5 years ago
practicalswift 259e290db8 tests: Add fuzzing harness for locale independence testing
5 years ago
Anthony Towns d0ebd93270 scheduler: switch from boost to std
5 years ago
Wladimir J. van der Laan a2a77ba34f
Merge #18056: ci: Check for submodules
5 years ago
Ben Woosley 9b0e16226e
doc: Correct spelling errors in comments
5 years ago
Emil Engler 2a95c7c956
ci: Check for submodules
5 years ago
Wladimir J. van der Laan 22d11187ee
Merge #17398: build: Update leveldb to 1.22+
5 years ago
João Barbosa ff59bcd321 gui: Drop PeerTableModel dependency to ClientModel
5 years ago
Jonas Schnelli f05c1ac444
Merge #17937: gui: Remove WalletView and BitcoinGUI circular dependency
5 years ago
João Barbosa 3aee10b80b gui: Drop ShutdownWindow dependency to BitcoinGUI
5 years ago
João Barbosa 61eb058cc1 gui: Drop BanTableModel dependency to ClientModel
5 years ago
MarcoFalke 7fcaa8291c
Merge #18009: tests: Add fuzzing harness for strprintf(…)
5 years ago
João Barbosa cb8a86d9f9 gui: Remove WalletView and BitcoinGUI circular dependency
5 years ago
Wladimir J. van der Laan 3a037d0067 test: Add crc32c exception to various linters and generation scripts
5 years ago
Wladimir J. van der Laan 84ff1b2076 test: Add crc32c to subtree check linter
5 years ago
practicalswift cc668d06fb tests: Add fuzzing harness for strprintf(...)
5 years ago
Andrew Chow e2f02aa59e Refactor: Copy CWallet signals and print function to LegacyScriptPubKeyMan
5 years ago
MarcoFalke 95ca6aeec7
Merge #17691: doc: Add missed copyright headers
5 years ago
MarcoFalke e09c701e01 scripted-diff: Bump copyright of files changed in 2020
5 years ago
Wladimir J. van der Laan e7f8450357
Merge #16688: log: Add validation interface logging
5 years ago
Hennadii Stepanov fac86ac7b3
scripted-diff: Add missed copyright headers
5 years ago
MarcoFalke 816464198c
Merge #17851: tests: Add std::to_string to list of locale dependent functions
5 years ago
Jeffrey Czyz f9abf4ab6d Add logging for CValidationInterface events
5 years ago
practicalswift 1f0adb3dac tests: Add std::to_string to list of locale dependent functions
5 years ago
MarcoFalke aaaaad6ac9
scripted-diff: Bump copyright of files changed in 2019
5 years ago
practicalswift e3d2bcf5cf tests: Add fuzzing harnesses for various number parsing functions
5 years ago
Wladimir J. van der Laan 1f59885d27
Merge #17361: script: Lint Gitian descriptors with ShellCheck
5 years ago
Hennadii Stepanov 17f81e9648
script: Enable SC2001 rule for Gitian scripts
5 years ago
Hennadii Stepanov 61bb21b418
script: Enable SC2155 rule for Gitian scripts
5 years ago
Hennadii Stepanov 3ed5e6819a
refactor: Nuke coincontrol circular dependency
5 years ago
251 e20c72f9f0 Fire TransactionRemovedFromMempool from mempool
5 years ago
Hennadii Stepanov a53e9895db
refactor: Nuke walletmodel circular dependency
5 years ago
Hennadii Stepanov 49c4211c04
refactor: Nuke walletmodeltransaction circular dep
5 years ago
Hennadii Stepanov 567cb44eb9
refactor: Nuke guiutil circular dependency
5 years ago
Hennadii Stepanov 577682d9e8
script: Enable SC2006 rule for Gitian scripts
5 years ago
Hennadii Stepanov 14aded46df
script: Lint Gitian descriptors with ShellCheck
5 years ago
MarcoFalke 22a58811d4
Merge #17353: doc: Add ShellCheck to lint tests dependencies
5 years ago
Hennadii Stepanov 80c9e66ab8
build: Remove install command samples
5 years ago
MarcoFalke 94a26b192f
Merge #17318: replace asserts in RPC code with CHECK_NONFATAL and add linter
5 years ago
randymcmillan ac831339cb
doc: Fix some misspellings
5 years ago
John Newbery 60582d6060 [linter] Strip trailing / in path for git-subtree-check
5 years ago
Adam Jonas c98bd13e67 replace asserts in RPC code with CHECK_NONFATAL and add linter
5 years ago
Andrew Chow f201ba59ff Refactor: Split up CWallet and LegacyScriptPubKeyMan and classes
5 years ago
MarcoFalke fadccb263b
doc: Document that GNU tools are required for linters
5 years ago
practicalswift bebb637472 tests: Add FuzzedDataProvider fuzzing helper from the Chromium project
5 years ago
Wladimir J. van der Laan e2ce392aec test: Avoid whitespace linting in qt translations
5 years ago
Wladimir J. van der Laan f4beb4996d test: Remove python dead code linter
5 years ago
practicalswift 72a18a73af tests: Add information on how to add Vulture suppressions
5 years ago
MarcoFalke fac35b21e2
test: lint: Add DisabledOpcodeTemplates to whitelist
5 years ago
MarcoFalke 45be44cce4
Merge #15257: Scripts and tools: Bump flake8 to 3.7.8
5 years ago
MarcoFalke 761fe07ba9
Merge #16768: test: Make lint-includes.sh work from any directory
5 years ago
Kristaps Kaupe 490da639cb
Make lint-includes.sh work from any directory
5 years ago
Ben Woosley 838920704a
lint: Disable flake8 W504 warning
5 years ago
Ben Woosley b21680baf5
test/contrib: Fix invalid escapes in regex strings
5 years ago
Kristaps Kaupe 8340763dc3
Check for codespell in lint-spelling.sh
5 years ago
practicalswift e4f4ea47eb lint: Catch use of [] or {} as default parameter values in Python functions
5 years ago
MarcoFalke b80cdfec9a
Merge #16618: [Fix] Allow connection of a noban banned peer
5 years ago
nicolas.dorier d117f4541d
Add test for setban
5 years ago
MarcoFalke fa3c6575ca
lint: Add false positive to python dead code linter
5 years ago
Hennadii Stepanov 753f7cccce
scripted-diff: Make translation bilingual
5 years ago
Wladimir J. van der Laan 345f42a9e3
Merge #14505: test: Add linter to make sure single parameter constructors are marked explicit
5 years ago
MarcoFalke 4882040182
Merge #16291: gui: Stop translating PACKAGE_NAME
5 years ago
Hennadii Stepanov 1ac454a384
Enable ShellCheck rules
5 years ago
MarcoFalke fa64b947bb
util: No translation of `Bitcoin Core` in the copyright
5 years ago
practicalswift c4606b8432 Add Travis check for single parameter constructors not marked "explicit"
5 years ago
Andrew Chow e61de6306f Change ismine to take a CWallet instead of CKeyStore
5 years ago
MarcoFalke 1a274bce4b
Merge #16205: Refactor: Replace fprintf with tfm::format
5 years ago
MarcoFalke fa8f195195
Replace remaining fprintf with tfm::format manually
5 years ago
Ben Woosley b748bf6f50
Fix spelling errors identified by codespell 1.15.0
5 years ago
MarcoFalke d0f81a96d9
Merge #16129: refactor: Remove unused includes
6 years ago
practicalswift eca9767673 Make reasoning about dependencies easier by not including unused dependencies
6 years ago
practicalswift 3c5254a820 Limit Python linting to files in the repo
6 years ago
Julian Fleischer f3b90f2e05
Run all lint scripts
6 years ago
MarcoFalke fac174e2d1
lint: Check that all wallet args are hidden
6 years ago
251 fa1c8e2978 Resolve the qt/guiutil <-> qt/optionsmodal CD
6 years ago
MarcoFalke 08bd21a3bd
Merge #15826: Pure python EC
6 years ago
MarcoFalke ae2c19f578
Merge #15655: Resolve the checkpoints <-> validation circular dependency
6 years ago
Pieter Wuille 8c7b9324ca Pure python EC
6 years ago
John Newbery 91a25d1e71 [build] Add several util units
6 years ago
John Newbery 4a75c9d651 [build] Move policy settings to new src/policy/settings unit
6 years ago
251 418d3230f8 Resolve the checkpoints <-> validation CD.
6 years ago
MarcoFalke 4952a95358
Merge #15534: [test] lint-format-strings: open files sequentially (fix for OS X)
6 years ago
Glenn Willen 21be609b49 In lint-format-strings, open files sequentially
6 years ago
MarcoFalke faa7cdf764
scripted-diff: Update copyright in ./test
6 years ago
MarcoFalke fa0e65b772
scripted-diff: test: Remove brackets after assert
6 years ago
MarcoFalke fab5a1e0f4
build: Require python 3.5
6 years ago
MarcoFalke fa6bf21f5e
scripted-diff: test: Use py3.5 bytes::hex() method
6 years ago
Wladimir J. van der Laan 3e1ca1348c
Merge #15278: Improve PID file error handling
6 years ago
MarcoFalke d73918447f
Merge #15216: Scripts and tools: Replace script name with a special parameter
6 years ago
Hennadii Stepanov 8c9b8a3668
Replace script name with special parameter
6 years ago
MarcoFalke 5029e94f85
Merge #14519: tests: add utility to easily profile node performance with perf
6 years ago
Hennadii Stepanov 561e375c73
Make PID file creating errors fatal
6 years ago
Jonas Schnelli 73a6bac9ff
Merge #15196: [test]: Update all subprocess.check_output functions to be Python 3.4 compatible
6 years ago
James O'Beirne 58180b5fd4 tests: add utility to easily profile node performance with perf
6 years ago
Ben Woosley 948d8f4f10
lint: Enable python linters via an array
6 years ago
Graham Krizek fdf82ba181
Update all subprocess.check_output functions in CI scripts to be Python 3.4 compatible
6 years ago
practicalswift a517541794 Remove no longer needed shellcheck suppressions
6 years ago
practicalswift 0b7196ecad Fix warnings introduced in shellcheck v0.6.0
6 years ago
practicalswift 07a53dce9f Remove repeated suppression. Fix indentation.
6 years ago
Vidar Holen cbd9091ed5 refactor/lint: Add ignored suggestions to an array
6 years ago
João Barbosa f652f85d0c qa: Ignore shellcheck warning SC2236
6 years ago
Wladimir J. van der Laan 62f3977f60
Merge #14599: Use functions guaranteed to be locale independent (IsDigit, ToLower) in {Format,Parse}Money(...), uint256::SetHex(...), etc. Remove the use of locale dependent boost::is_space(...)
6 years ago
Wladimir J. van der Laan df894fa69a
Merge #14457: test: add invalid tx templates for use in functional tests
6 years ago
MarcoFalke cbb91cd0ec
Merge #13743: refactor: Replace boost::bind with std::bind
6 years ago
Luke Dashjr 57281199b8 lint/format-strings: Correctly exclude escaped percent symbols
6 years ago
Wladimir J. van der Laan 84dc252a02
Merge #14884: Travis: enforce Python 3.4 support through linter
6 years ago
Sjors Provoost 74ce326831
[test] Travis: enforce Python 3.4 support in functional tests
6 years ago
Daniel Ingram c9ba253f4f Add E711 to flake8 check
6 years ago
Wladimir J. van der Laan 0936e2596b
Merge #14831: Scripts and tools: Use #!/usr/bin/env bash instead of #!/bin/bash.
6 years ago
Carl Dong 43f9099901 scripted-diff: Run scripted-diff in subshell
6 years ago
vim88 688f665a5e Scripts and tools & Docs: Used #!/usr/bin/env bash instead of obsolete #!/bin/bash, added linting for .sh files shebang and updated the Developer Notes.
6 years ago
James O'Beirne 59e387705c test: add invalid tx templates for use in functional tests
6 years ago
MarcoFalke fa5e0452e8
rpc: Documentation fixups
6 years ago
MarcoFalke fa520e72f7
lint: Must use RPCHelpMan to generate the RPC docs
6 years ago
practicalswift c82190cdb6 tests: Add Python dead code linter (vulture)
6 years ago
practicalswift 7c9f790761 Update KNOWN_VIOLATIONS: Remove fixed violations
6 years ago
practicalswift 587924f000 Use IsSpace(...) instead of boost::is_space
6 years ago
practicalswift c5fd143edb Use ToLower(...) instead of std::tolower
6 years ago
practicalswift e70cc8983c Use IsDigit(...) instead of std::isdigit
6 years ago
Wladimir J. van der Laan 46eb2755d4
Merge #14350: Add WalletLocation class
6 years ago
Jim Posen 2068f089c8 scripted-diff: Move util files to separate directory.
6 years ago
practicalswift 15db77f4dd Don't rely on locale dependent functions in base_blob<BITS>::SetHex(...) (uint256), DecodeBase58(...), ParseMoney(...) and ParseHex(...)
6 years ago
João Barbosa 65f3672f3b wallet: Refactor to use WalletLocation
6 years ago
Chun Kuan Lee cb53b825c2 scripted-diff: Replace boost::bind with std::bind
6 years ago
practicalswift c32cf6a0f2 Add ignored word: mut
6 years ago
practicalswift 4ae50daaa7 Revert "qa: Fix codespell error and have lint-spelling error instead of warn"
6 years ago
MarcoFalke a89896fadb
Merge #13649: test: allow arguments to be forwarded to flake8 in lint-python.sh
6 years ago
MarcoFalke ae1cc010b8
Merge #14282: [wallet] Remove -usehd
6 years ago
James O'Beirne 854c85ae90 test: allow arguments to be forwarded to flake8 in lint-python.sh
6 years ago
Chun Kuan Lee 2c3eade704 Make fs::path::string() always return utf-8 string
6 years ago
John Newbery 25548b2958
[wallet] Remove -usehd
6 years ago