Commit Graph

112 Commits

Author SHA1 Message Date
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
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
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
Rostislav
933736be92 Add logging about replacing SpendBundles in mempool 2021-04-22 10:45:22 -07:00
Mariano Sorgente
b37305e85e
Fix adding double signage points (#2340) 2021-04-21 22:43:00 -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
Yostra
eb86104139 introducers 2021-04-21 00:29:33 -04:00
Yostra
1e42b5596b ports 2021-04-21 00:27:21 -04:00
Yostra
207aed704f mainnet now 2021-04-21 00:26:18 -04:00
Yostra
b674f19203 fee part 2021-04-20 21:11:25 -07:00
Yostra
eb57fa7a77 remove 2021-04-20 21:11:13 -07:00
Yostra
7dcea45926
Pass correct blocks (#2229)
* Pass correct blocks

* Fix `mypy` lint.

Co-authored-by: Richard Kiss <him@richardkiss.com>
2021-04-20 19:19:15 -07:00
Mariano Sorgente
9fce41cfb7
Assert small messages (#2213)
* Assert small messages

* Update condition_tools.py

Add `TODO`.

Co-authored-by: Richard Kiss <him@richardkiss.com>
2021-04-20 17:51:48 -07:00
Adam Kelly
bc5efbbee9 Test passing multiple arguments as arguments to block generators 2021-04-20 17:07:36 -07:00
Arvid Norberg
f074f517e6
ping the introducer at least once on startup (#2214) 2021-04-20 15:20:09 -07:00
Mariano Sorgente
e62be6c422
Ms.block body tests (#2203)
* Start block body tests

* More tests

* More tests

* Improvements and security fixes to block body validation

* Revert bad test changes

* Fix check for ref list size
2021-04-20 12:18:16 -07:00
Gene Hoffman
1c62b1e4d7 Move Add rem to INFO log level, update GUI 2021-04-19 16:50:01 -07:00
Yostra
827af0b3dc
Testnet5 (#2153)
* testnet5

* testent5
2021-04-19 17:14:30 -04:00
Richard Kiss
170d451b7c
ROM now outputs (coin-spends . block-level-extras) (#2149)
* Change input to ROM to `(coin-solution-inputs . extras)`.

* Add `deserializer` to `generator_for_single_coin`.

* Fix last test.

* ROM now outputs `(coin-spends . block-level-extras)`
2021-04-19 14:04:55 -07:00
Lipa
3313edd7b4
Did for merge (#2144)
* 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

* add wallet id to return in get recovery info

* remove bad try statement

* fix DID recovery

* lint formatting, blacked

* use theirs for macos installer

Co-authored-by: matt <matt@chia.net>
2021-04-19 16:16:31 -04:00
Almog De Paz
e2459dae54
wp timeout from config (#2119) 2021-04-19 12:48:30 -07:00
Arvid Norberg
dca9936f1d
fix typo in condition opcode calculation (#2142) 2021-04-19 12:47:37 -07:00
Mariano Sorgente
a3fd085924
Ms.double blocks fix 2 (#2129)
* Fix issue with double blocks

* Fix shadow variable name, and lint

* improve debug log

* Fix case of empty block

* Test for recursive handling

* pytest level
2021-04-19 12:47:00 -07:00
Mariano Sorgente
e04b1eec7c
Don't run clvm twice for each block (#2135) 2021-04-19 12:46:23 -07:00
Richard Kiss
c3ebafdd31 Remove some obsolete comments. 2021-04-19 02:28:01 -07:00
Richard Kiss
212f5c7a61 Pass through spend_level_extras. 2021-04-19 02:28:01 -07:00
Richard Kiss
08b1dd3135 Improve format of COIN_SPEND output from ROM. 2021-04-18 23:40:06 -07:00
Richard Kiss
b3880d7ea7 Simplify CSE input format.
It was `((parent amount) (puzzle solution))`.
It is now `(parent puzzle amount solution . *spend_level_extras)`
2021-04-18 22:57:00 -07:00
Florin Chirica
17ff9166da Blank line. 2021-04-18 20:36:22 -07:00
Florin Chirica
68a11e5161 Initial commit cherry-pick #1398. 2021-04-18 20:36:22 -07:00
Richard Kiss
166ab7c99a Remove the tree abomination. 2021-04-18 18:58:56 -07:00
Richard Kiss
44ba53550d Rewrite "ROM" in clvm, including deserialization. 2021-04-18 16:02:53 -07:00
Yostra
03304d22dc timestamp 2021-04-18 15:43:34 -04:00