Commit Graph

18 Commits

Author SHA1 Message Date
Arvid Norberg 203232e429
add profiler to wallet process (#6019) 2021-05-26 11:01:17 -07:00
Almog De Paz bbb02566ce
wallet complete blocks, check trusted peer (#6027)
* check is trusted peer

* clean
2021-05-26 10:51:01 -07:00
Yostra 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 d46cd8eb07
Revert "sets up wallet before running farm summary (#3235)" (#5546)
This reverts commit 880df53f72.
2021-05-19 12:05:12 -07:00
Will Bendick 880df53f72
sets up wallet before running farm summary (#3235)
* sets up wallet before running farm summary

* fixes call to summary

* moves wallet peers discovery to after backup is initialized
2021-05-18 11:38:06 -07:00
Florin Chirica 413d29083f Initial commit. 2021-05-14 14:05:12 -06:00
Nikolaj Kuntner cbc9141689
add all none's (#4503)
Co-authored-by: Nikolaj Kuntner <>
2021-05-10 22:05:45 -07:00
wjblanke ec48e968a9
increase wp timeout from 3 minutes (2 megabit) to 6 minutes (1 megabit) (#3022) 2021-04-28 10:51:18 -07:00
Almog De Paz eae1cb6220
check summaries on long sync (#2894)
* check summaries against wp on long sync

* lint

* move summary check to receive_block

* lint

* lint

* ban peer if bad response during batch sync

* fix typo
2021-04-28 10:50:16 -07:00
Mariano Sorgente e76bf3dad5
Create puzzle hashes in normal operation (#2783) 2021-04-26 11:16:31 -07:00
Yostra 788b630487
More accurate fork point (#2428) 2021-04-23 14:08:15 -07:00
Mariano Sorgente c5595e280c
New puzzle hashes were not being created (#2270) 2021-04-21 10:45:43 -07:00
Mariano Sorgente ee3dfb9eb1
Fix wallet performance if have many coins (#2047) 2021-04-18 10:52:07 -07:00
Yostra 773adfade5
Lock for all writes (#1758)
* lock for all writes

* use async  with where convinant

* wrapper

* more

* lint

* update wallet

* rl wallet

* indentation

* fix tests

* bad path merged into main

* wallet lock

* refacoted by mistake

* re-raise

* memory/disk inconsistency

* more inconsitency

* asyncio.cancelled is baseexception in 3.8 and 3.9
2021-04-10 19:07:02 -07:00
matt-o-how 5e1bf6d5f3
Merge DID into main (#1720)
* rebase DID off main

* fix indentation and imports

* lint fixes

* fix test_compilation paths for new puzzles

* added _init__.py for did_wallet

* mypy typing fixes

* included did_wallet in setup.py module list

* stored pubkey & puzhash so that recovery_spend can choose not take them

* black missing comma
2021-04-06 19:31:44 -07:00
Yostra a69abb1717 don't start with api requests before ready 2021-04-06 17:50:25 -04:00
Gene Hoffman f9487f576d Fix various lgtm.com issues 2021-04-05 02:10:29 -07:00
Richard Kiss f2b577dda1 `git mv src chia` 2021-04-04 21:41:39 -07:00