Commit Graph

4701 Commits

Author SHA1 Message Date
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 2d4159d0b6
show syncing on long sync (#2985) 2021-04-28 10:50:44 -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 cb054ef72b
Hopefully reduce chances of nonce collision (#2161)
* Hopefully reduce chances of nonce collision

* No collisions
2021-04-28 13:34:32 -04:00
Yostra 92cd23cbaf
Filter test (#2980)
* reenable

* lint
2021-04-28 17:17:09 +09:00
Yostra 4ef3777119
Avoid multiple requests (#2860)
* avoid dupe requests

* move to store, clean tasks

* linting

* limit

* 10peers,5sec
2021-04-28 02:58:45 -04: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
matt-o-how c1846b0f49
Singleton improvements (#2286)
* Changed singleton to take puzzlehash as origin.
Updated DID wallet to use this

* fixed hex and sha256tree for singleton puzzle

* require more signature for DID spends

* fix singleton tests
black format did wallet

* fix broken test
fix linting
switch to inline functions

* remove unused defuns from singleton_top_layer
2021-04-27 11:25:33 -07:00
Almog De Paz 50164d16d3
Farm while syncing (#2195)
* add long sync lock

* lint

* test getting new high peak while synced

* lint

* fix logs
2021-04-27 11:05:16 -07:00
An Long cb625117db
add more type hints (#2816) 2021-04-27 11:00:41 -07:00
Mariano Sorgente cdf9e1aaaa
Add tests for LRU and coin store (#2925) 2021-04-27 10:58:59 -07:00
Arvid Norberg 8717ca4b02
Leave programs in SpendBundle serialized (#2380) 2021-04-27 10:52:21 -07:00
Dave Johnson a2401ccfd4
Allow install as root on minimal attack surface OSes (#2871)
pip is not accessible to root on many limited core OS distros. Launching explicitly via python resolves for all
2021-04-27 01:24:24 -07:00
Will Bendick c75b826808
bytes to hex (#2856)
* converts bytes to hex

* line too long
2021-04-26 23:22:44 -07:00
Yostra a929ec889e
Use lru cache (#2433)
* use lru cache

* use new func

* cache block after write is done

* dont iterate as orederd dict
2021-04-26 23:21:58 -07:00
Yostra d88697ef42
more speed (#2223) 2021-04-26 23:21:24 -07:00
Yostra 4c98dd2b71
decorator (#2221) 2021-04-26 23:21:04 -07:00
Zlatko c8a7cb4b89 node version 10.x => 12.x 2021-04-26 16:40:30 -07:00
Rostislav Skudnov 1f16bca87f
Update and re-enable Merkle set test (#2824)
Co-authored-by: Rostislav <rostislav@users.noreply.github.com>
2021-04-26 11:20:08 -07:00
Mariano Sorgente cc1aba8c3b
Ms.ph scan (#2808)
* Work on offline signing

* Fix lint
2021-04-26 11:18:29 -07:00
Mariano Sorgente e76bf3dad5
Create puzzle hashes in normal operation (#2783) 2021-04-26 11:16:31 -07:00
Martin Mihaylov 59de4ffe9f
Add back logging for added coins (#2720)
It was removed in commit ee3dfb9eb1 for
unknown reason. A few people on keybase have learned to rely on it to
check for new coins being received by their wallet. Arguably not the
best way to do so but seems like a useful log output to have in general.
2021-04-26 01:23:25 -07:00
An Long e6f3db4e6a
Using the top level exceptions from aiohttp (#2700) 2021-04-26 01:23:06 -07:00
An Long 6027e8707c
fix type hint of harvester rpc client (#2706) 2021-04-26 01:22:31 -07:00
Martin Mihaylov e7304c594b
CONTRIBUTING: Update with src -> chia renaming (#2721) 2021-04-25 09:46:34 -07:00
An Long 1ec9444950
Fix type hint error (#2605) 2021-04-24 22:33:26 -07:00
An Long 6b0a70ff8e
Raise error when convertbits got invalid data (#2612) 2021-04-24 22:32:40 -07:00
Gene Hoffman 82c39c4077 Update chglg for 1.1.2 release 2021-04-24 20:50:09 -07:00
Christopher d0649fb574
change default buffer size to 3389 (#2320) 2021-04-24 14:56:19 -07:00
Chida82 79ecc40d15
Add max files in rotation (#2502) 2021-04-24 02:17:36 -07:00
An Long 560074dc2c add more type annotations 2021-04-23 21:26:19 -07:00
Yostra 788b630487
More accurate fork point (#2428) 2021-04-23 14:08:15 -07:00
Yostra 4af65c328c avoid rollback when just advancing 2021-04-23 00:54:09 -07:00
Yostra b3cc6bfe93 retry 2021-04-23 00:53:08 -07:00
dependabot[bot] d590e08745 Bump colorlog from 4.8.0 to 5.0.1
Bumps [colorlog](https://github.com/borntyping/python-colorlog) from 4.8.0 to 5.0.1.
- [Release notes](https://github.com/borntyping/python-colorlog/releases)
- [Commits](https://github.com/borntyping/python-colorlog/compare/v4.8.0...v5.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 17:00:23 -07:00
Gene Hoffman 8d7a667d7e Correctly get to Ubuntu 21.04 steps 2021-04-22 15:11:50 -07:00
Rostislav 33c4529f61 Add extra tests for replacing conflicting SpendBundles in mempool 2021-04-22 10:45:22 -07:00
Rostislav 933736be92 Add logging about replacing SpendBundles in mempool 2021-04-22 10:45:22 -07:00
Gene Hoffman ad29ac6f3c
Changelog for 1.1.1 (#2341) 2021-04-21 23:20:49 -07:00
Mariano Sorgente b37305e85e
Fix adding double signage points (#2340) 2021-04-21 22:43:00 -07:00
Gene Hoffman d3e52c82f8
Changelog for the 1.1.0 release 2021-04-21 17:19:56 -07:00
Yostra 328e4cd276
Blockchain timestamps fix (#2302)
* incomplete push for debugging

* block timestamp in mempool

* rename

* farm tx block

Co-authored-by: matt <matt@chia.net>
2021-04-21 16:43:02 -07:00
Arvid Norberg 572110b7df
delay 5 seconds after connecting the introducer to give it a chance to add any peers we got from it (#2299) 2021-04-21 12:17:08 -07:00
Arvid Norberg e55988479b
More tests (#2295)
Co-authored-by: Mariano <sorgente711@gmail.com>
2021-04-21 11:17:21 -07:00
Mariano Sorgente c5595e280c
New puzzle hashes were not being created (#2270) 2021-04-21 10:45:43 -07:00
Almog De Paz 6af86811e5
fix unconfirmed tx race (#2266)
* add tx lock

* init lock

* call with async
2021-04-21 10:41:18 -07:00
Arvid Norberg 8c24306f88
exponentially back-off contacting the introducer (#2250)
* exponentially back-off contacting the introducer (until reaching 5 minute delay)

* bump introducer connection timeout from 10 to 30 seconds
2021-04-21 03:48:44 -07:00
Mariano 111edd71bc Also lock in removals 2021-04-21 18:17:40 +09:00
Mariano 9c11d41984 Remove blockchain lock 2021-04-21 18:06:43 +09:00