cvet and GitHub
07282a8c8b
Typo confirm -> override in wallet send ( #6507 )
...
Wallet look in extra_params/args by "override" key (override = args["override"]) not "confirm".
Due to this confirmation doesn't works for now.
2021-06-07 09:45:28 -07:00
Florin Chirica and GitHub
59d415fd71
Rename testnet peer dbs. ( #6353 )
...
* Rename testnet peer dbs.
* Add selected_network to all constructors.
2021-06-02 15:19:58 -07:00
Florin Chirica and GitHub
f595debd3f
Fix delete button bug. ( #6263 )
2021-06-02 13:33:10 -07:00
dc4b2ae554
Bump actions/cache from 2.1.5 to 2.1.6 ( #6300 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-02 11:26:47 -07:00
Benedict Jin and GitHub
8fcbcd9f22
Remove useless pass in wallet node ( #6313 )
2021-06-01 22:09:12 -07:00
wjblanke and GitHub
a6a0fc30bc
fixed typo ( #6329 )
2021-06-01 22:07:36 -07:00
e43278d200
implements cli options for node count settings ( #3943 )
...
* 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 >
2021-05-29 13:18:05 -07:00
15f8724cae
Bump github/super-linter from 3.15.5 to 4.0.2 ( #6209 )
...
* 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 >
2021-05-29 12:47:23 -07:00
4f64bb9baa
checks for fees >= transaction amount ( #5543 )
...
* checks for fees >= transaction amount
* adds types
* adds explicit default
* changed confirm to override
* changed confirm to override
Co-authored-by: William Blanke <wjb98672@gmail.com >
2021-05-28 21:57:11 -07:00
Arvid Norberg and GitHub
46d6fa4179
Fix header_hash variable in case begin_transaction() throws ( #6178 )
...
* 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
2021-05-28 13:33:08 -07:00
wjblanke and GitHub
5b51aebaf2
updated vdf and pos ( #6150 )
2021-05-27 22:16:57 -07:00
34caa75f99
Changed 'not checking subdirectory' message from info to debug. ( #6058 )
...
Co-authored-by: Chris Han <chris@arctic.blue >
2021-05-26 12:56:19 -07:00
Arvid Norberg and GitHub
7800dbb58c
Cleanup shutdown ( #6011 )
...
* 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
2021-05-26 12:18:12 -07:00
Michael Mann and GitHub
39aebe7b14
update permissions ( #6061 )
2021-05-26 11:33:26 -07:00
Nikolaj Kuntner and GitHub
cb1e5bdddf
rpc code simplifications ( #6059 )
...
* init
* nicer end to elif chain
* newlines after returns in elif chain
* pass comments
* error_msg
* simple error res
2021-05-26 11:15:26 -07:00
Nikolaj Kuntner and GitHub
0b3124821f
bytes formatting simplify ( #6021 )
...
* init
* Add dash in README
* add more test cases
* whitespace around ==
* explicit return
* add another large test case
2021-05-26 11:11:44 -07:00
Arvid Norberg and GitHub
ee35d85ad8
store tasks used to initiate peer connections ( #5557 )
...
to ensure they are kept alive and to be able to wait for them if we hit the upper limit on number of pending outgoing connections
2021-05-26 11:06:55 -07:00
Arvid Norberg and GitHub
203232e429
add profiler to wallet process ( #6019 )
2021-05-26 11:01:17 -07:00
Almog De Paz and GitHub
bbb02566ce
wallet complete blocks, check trusted peer ( #6027 )
...
* check is trusted peer
* clean
2021-05-26 10:51:01 -07:00
Arvid Norberg and GitHub
a522745ff1
rename semaphore variables to not be confused with mutexes ( #5604 )
2021-05-25 13:16:30 -07:00
Don Kackman and GitHub
af49bc32bd
call core init if needed when -c is specified ( #4823 )
...
* call core init if needed when `-c` is specified
* check and propagate return codes
2021-05-25 13:15:44 -07:00
Ruslan Skorb and GitHub
9e21716965
Add format_bytes(bytes:) function to convert bytes to human readable string. ( #5449 )
2021-05-24 22:14:29 -07:00
ChiaMineJP and GitHub
0fffed06f9
Support -f and -p options for plot creation via daemon API ( #5209 )
...
* Support -f and -p options for plot creation via daemon API
* use request.get for -f/-p options
* Added -c option handling
* Fixed lint error
2021-05-24 21:59:39 -07:00
Matt Hauff and GitHub
280488da7d
That's not a private key ( #5636 )
2021-05-24 13:26:21 -07:00
Arvid Norberg and GitHub
2ddc48d0b9
remove unused get_block_records() function ( #5016 )
...
* 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
2021-05-24 12:02:54 -07:00
x1957 and GitHub
c1f54cb13a
Update harvester_api.py ( #5185 )
...
remove unnessuary time.time()
2021-05-24 11:59:34 -07:00
Gian Luca Decurtins and GitHub
19216dcf3e
Keep mnemnic as secret as possible ( #5690 )
2021-05-24 11:58:07 -07:00
ChiaMineJP and GitHub
bc439fea7c
Removed dead code ( #5244 )
2021-05-24 11:55:19 -07:00
Arvid Norberg and GitHub
78f73b3d55
demote DNS failure log to a warning ( #5771 )
2021-05-24 11:53:31 -07:00
9aecb3cd4f
mozilla typo fixes ( #5303 )
...
* refactor is_fee_enough
* fix typo
Co-authored-by: Nikolaj Kuntner <>
2021-05-24 11:52:37 -07:00
elliottback and GitHub
6f06f047a5
Add an explicit error message ( #4758 )
...
* 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
2021-05-21 18:14:49 -07:00
9e9097b116
Chia Blockchian 1.1.6 ( #5644 )
...
* edited CHANGELOG
* Minor edits to CHANGELOG
Co-authored-by: Lipa Long <lipalong@Lipas-MacBook-Pro.local >
1.1.6
2021-05-20 19:28:09 -07:00
Florin Chirica and GitHub
bf3ffa6eeb
Initial commit. ( #5627 )
2021-05-20 15:03:59 -07:00
c3424ba655
Update gui ( #5623 )
...
Co-authored-by: Adam Kelly <aqk@aqk.im >
2021-05-20 12:49:44 -07:00
Almog De Paz and GitHub
f1120d9d5d
Different lock for compact proofs ( #5539 )
...
* test
* compact proof lock
* lint
* remove wrong commit
* remove wrong commit
* check vdf info for ip and sp
* return if no proof to replace
2021-05-20 11:51:58 -07:00
Mariano Sorgente and GitHub
431f15bf1a
Do not assert not spent ( #5612 )
2021-05-20 10:46:02 -07:00
Mariano Sorgente and GitHub
a76446eba9
Speedup normal sync and wallet sync ( #5590 )
...
* 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
2021-05-20 10:42:22 -07:00
Florin Chirica and GitHub
4ad8d9dcef
Speedup connections 2. ( #5421 )
...
* Decrease sleeps.
* Wait 30 minutes before retrying address.
* Address comments.
* Address comments.
* Sleep in node discovery if we don't need connections.
* Rename sleeps.
* Lint.
* Refactor sleeps.
* Don't query introducers at startup.
2021-05-20 10:38:35 -07:00
15d4938a8c
Please add comments ( #5565 )
...
* Please add comments
* Fix issue
* More blocks
Co-authored-by: Adam Kelly <aqk@aqk.im >
Co-authored-by: Mariano <sorgente711@gmail.com >
2021-05-20 11:40:36 +09:00
Mariano Sorgente and GitHub
ac59ec52c6
Fix pending transaction issue, and use a different lock to prevent ho… ( #5549 )
...
* Fix pending transaction issue, and use a different lock to prevent holding blockchain lock
* Force re-run of tests
2021-05-19 18:19:52 -07:00
Mariano Sorgente and GitHub
5ce56bce6d
Don't use a global ( #5553 )
...
* Don't use a global
* Only construct once
2021-05-19 17:41:53 -07:00
c9f942b5fe
Improve time_out_assert messages ( #5561 )
...
Co-authored-by: Adam Kelly <aqk@aqk.im >
2021-05-19 16:41:38 -07:00
Bill Blanke
207c83eabb
tweak timeouts
2021-05-19 16:25:58 -07:00
Bill Blanke
18ccda9310
wait after farm_new_transaction_block
2021-05-19 13:44:09 -07:00
Bill Blanke
50ff07e687
wait after farm_new_transaction_block
2021-05-19 13:40:36 -07:00
Bill Blanke
a0927402ac
wait after farm_new_transaction_block
2021-05-19 13:30:42 -07:00
Mariano
a352be20ee
Fix error log and handling of reject message
2021-05-20 04:51:52 +09:00
108647112c
Wallet ( #4887 )
...
* 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 >
2021-05-19 12:06:48 -07:00
Mariano Sorgente and GitHub
d46cd8eb07
Revert "sets up wallet before running farm summary ( #3235 )" ( #5546 )
...
This reverts commit 880df53f72 .
2021-05-19 12:05:12 -07:00
justinengland and Justin England
55dbe2676a
working false
2021-05-18 17:33:46 -06:00