* implements cli options for node count settings
* resolve flake8 error in what appears to be the house style for line-too-long function defs
* Create configure.py
`pip install black`
or online https://black.readthedocs.io/en/stable/getting_started.html#try-it-out-online
* Actually black within the repo configuration for black
* Modify defaults to 8 and 80
Co-authored-by: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
* Bump github/super-linter from 3.15.5 to 4.0.2
Bumps [github/super-linter](https://github.com/github/super-linter) from 3.15.5 to 4.0.2.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](https://github.com/github/super-linter/compare/v3.15.5...v4.0.2)
Signed-off-by: dependabot[bot] <support@github.com>
* install.sh line 96:
if [ x"$INSTALL_PYTHON_VERSION" = x ]; then
^------------------------^ SC2268: Avoid x-prefix in comparisons as
it no longer serves a purpose.
Did you mean:
if [ "$INSTALL_PYTHON_VERSION" = "" ]; then
For more information:
https://www.shellcheck.net/wiki/SC2268
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
* Fix header_hash variable in case begin_transaction() throws
* rollback_cache_block() is best-effort. It shouldn't fail if we haven't cached the block yet
* ignore signals in subprocesses
The sub-processes started by ProcessPoolExecutor will also receive SIGINT when the main process receives it. This results in the signal handler running in every subprocess and fail to create the task to close all connections. They print this error to stdout
* cleanup UPnP shutdown
make an explicit call to UPnP shutdown() (which joins the thread). Improve logging a bit
* wait for initialize_weight_proof task when shutting down
* remove unused get_block_records() function
it's only used by one test. It's also a dangerous function since the whole chain may become very large, and may not fit in memory
* fixup tests
* fixup test
* Add an explicit error message when mnemonic words are not in the dictionary; should help users self-service issues like #3425 faster.
* fix lint
* fix lint x2
* Correctly return from bytes without parsing
* Huge speedup for wallet sync
* Lint
* Only construct CoinRecord when necessary
* Punt on creation of coin
* Removing warning log
* Flaky test
* Finally fix flaky test
* spent height
* handle generator reorg
* tx cache
* coin cache
* rebuild cache if write fails
* save last few messages new_peak while syncing
* don't use dupe func
* tx reorg test
* lock not needed
* lint
* lock
* modify properly
* this shouldn't hit a disk ever
* use same number
* notify wallet only once, lock when getting a balance
* lock only if unspent coin records is None
* assert spent
* lint
* Add test for prev generator
Co-authored-by: Mariano <sorgente711@gmail.com>