Commit Graph

9 Commits

Author SHA1 Message Date
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
Nikolaj Kuntner cbc9141689
add all none's (#4503)
Co-authored-by: Nikolaj Kuntner <>
2021-05-10 22:05:45 -07:00
Yostra 47e6f0d4c6 count and time 2021-04-28 02:44:52 -04:00
Yostra a614430952 cache and retry after 10 min and on startup 2021-04-28 02:29:15 -04: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
Mariano Sorgente 07a6ba5274
Retrieve transaction using bytes tx_id, and add comment (#1729) 2021-04-08 00:31:33 +09:00
Yostra 43c02e513a use wal and full sync mode 2021-04-06 18:22:01 -07:00
Richard Kiss f2b577dda1 `git mv src chia` 2021-04-04 21:41:39 -07:00