Gene Hoffman and fchirica
8168aeda9a
Breaking changes to prepare for peer gossip later ( #401 )
...
* Initial commit breaking changes.
* Import some missing types.
* mypy.
* Lint.
Co-authored-by: fchirica <fchirica96@gmail.com >
2020-09-14 15:38:55 -07:00
Gene Hoffman
57c5e19353
Move to Super Linter 3.9.2 - now lint Black, flake8, mypy ( #390 )
...
* Try Super Linter at 3.9.0 and add linters
* 3.9.1 and set validate all to false
* Back to 3.9.1 and use only true VALIDATE_
* Place superlint in debug mode
* Try fix from 3.9.2
* black source. Start fixing flake8 issues
* Black tests, out of debug
* Black setup.py do to merge conflict
2020-09-14 15:38:55 -07:00
Mariano Sorgente and Gene Hoffman
774307dce1
Changes for bls 0.2.3 ( #354 )
...
* Start of changes for bls 0.2.3
* Make remaining changes for new blspy
* Add migration for 1.0b9
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com >
2020-08-18 10:59:45 -07:00
700eaad9e0
Ms.1.8bugs3 ( #326 )
...
* harvester fixes
* Improve networking stability
* Fix wallet shutdown
* Allow chia keys sign and chia keys verify
* Dislpay the public key also
* Retry loading invalid plots, handle drive disconnection
* Confirm before deleting plots
* Improve error message WIP
* XImproved error message for importing keys
* Uncomment process.kill
* Fix merge error with restore backup
* Fixed markdown
* Switch button order, and fix request_peers
* Consolidate styles
* Set ci's to timeout after 60 minutes has elapsed
* plot directories and memory buffer
* Fix flake8
* Update chiapos, chiavdf, chiabip158, and blspy
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com >
Co-authored-by: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com >
2020-07-27 16:01:18 -07:00
Richard Kiss and Gene Hoffman
392b21bdaf
Make MAX_COIN_AMOUNT an int. Remove obsolete helpers.
2020-07-27 16:01:18 -07:00
Richard Kiss and Gene Hoffman
470b0c8c76
Use attributes instead of dictionary keys.
2020-07-27 16:01:18 -07:00
Richard Kiss and Gene Hoffman
52091044e4
Use constants instead of dic overrides for tests set-up.
2020-07-27 16:01:18 -07:00
Richard Kiss and Gene Hoffman
423efbc448
Don't use copy for constants.
2020-07-27 16:01:18 -07:00
Richard Kiss and Gene Hoffman
a263cc1c8c
Use clvm via src.util.clvm to better control what API is accessed.
2020-07-16 13:05:43 -07:00
194e0c24ea
New blspy, key formats, and new plot format ( #309 )
...
* Bump blspy-ietf
* wip lots of errors
* Respond to bram feedback, use eip 2334 for keys
* Fix most tests, use latest blspy
* Improve simulation test constants
* Fixed issue with plotting and reading plots
* Fix simulation test
* Override puzzle hash if we don't have key, for safety. Bump protocol version
* Fix superlint issue
* Switch to 1.0 proof of space format
* Temporary genesis block
* Update chiabip158, chiavdf versions
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com >
Co-authored-by: Alex Wice <alex@chia.net >
2020-07-16 13:05:43 -07:00
Yostra and Gene Hoffman
49deb0d93b
post merge cleanup
2020-07-16 13:05:43 -07:00
Yostra and Gene Hoffman
b74a030d22
flake8 tests
2020-07-16 13:05:43 -07:00
Yostra and Gene Hoffman
8b13aa0810
correct path
2020-07-16 13:05:43 -07:00
Yostra and Gene Hoffman
7edc7bf660
more time
2020-07-16 13:05:43 -07:00
Yostra and Gene Hoffman
24297ff26e
formatting and constants for simulation
2020-07-16 13:05:43 -07:00
Yostra and Gene Hoffman
e90866ffa9
tests cleanup
2020-07-16 13:05:43 -07:00
Mariano Sorgente and Gene Hoffman
22bca02451
Don't recreate block tools in simulator
2020-07-16 13:05:43 -07:00
Mariano Sorgente and Gene Hoffman
04edeb5255
Speed up tests
2020-07-16 13:05:43 -07:00
Gene Hoffman and Gene Hoffman
0034838ffa
Modify some test clean ups - fix Ubuntu 20.04 bug in install.sh
2020-07-16 13:05:43 -07:00
Gene Hoffman and Gene Hoffman
7b34716ef4
Fix test_block_store - fix self._get_fingerprint_and_entropy - pylint
2020-07-16 13:05:43 -07:00
Gene Hoffman and Gene Hoffman
2e25ca131c
Fix flake8 - clean up tests and add to flake8 - lint src upload to pypi
2020-07-16 13:05:43 -07:00
Mariano Sorgente and Gene Hoffman
a1b4392bb1
Tests passing
2020-07-16 13:05:43 -07:00
Mariano Sorgente and Gene Hoffman
4ec019411a
Fix more tests
2020-07-16 13:05:43 -07:00
Mariano Sorgente and Gene Hoffman
1d59fee788
New Bram protocol changes and full node tests
2020-07-16 13:05:43 -07:00
Mariano Sorgente and Gene Hoffman
73398e0159
Remove challenge signature
2020-07-16 13:05:43 -07:00
Mariano Sorgente and Gene Hoffman
0dea6db7cd
Remove raw keychain keys, update block tools with new protocol
2020-07-16 13:05:43 -07:00
Mariano Sorgente and Gene Hoffman
e0d55993fe
Implement new farmer and harvester protocol
2020-07-16 13:05:43 -07:00
Richard Kiss and Gene Hoffman
0175cf64eb
Use constants_for_dic.
2020-07-16 13:05:43 -07:00
Richard Kiss and Gene Hoffman
f8d06946cd
Use make_test_constants_with_genesis.
2020-07-16 13:05:43 -07:00
Richard Kiss and Gene Hoffman
e4f3050667
Use ConsensusConstants in many more places.
2020-07-16 13:05:43 -07:00
Richard Kiss and Gene Hoffman
be8f973fa2
Pass constants into Farmer.
2020-07-16 13:05:43 -07:00
Mariano Sorgente and Gene Hoffman
7d87638b8b
Remove localhost references, and fix connection bug
2020-07-16 13:05:43 -07:00
Mariano Sorgente and Gene Hoffman
8ae737e74a
Change logging level to WARNING in tests
2020-07-16 13:05:43 -07:00
Mariano Sorgente and Gene Hoffman
9c748cfec4
Try to speed up with new BlockTools
2020-07-16 13:05:43 -07:00
Mariano Sorgente and Gene Hoffman
b0356d5810
Use setup_nodes constants everywhere
2020-07-16 13:05:43 -07:00
Mariano Sorgente and Gene Hoffman
116ee138b8
Remove sleeps from tests
2020-07-16 13:05:43 -07:00
Mariano Sorgente and Gene Hoffman
c0441391b8
Start working on test speeds
2020-07-16 13:05:43 -07:00
Mariano Sorgente and Gene Hoffman
51889d3601
Improve unfinish blocks load test
2020-07-16 13:05:43 -07:00
Mariano Sorgente and Gene Hoffman
35822c8796
Ms.networking2 ( #284 )
...
* Improve test speed with smaller discriminants, less blocks, less keys, smaller plots
* Add new RPC files
* Refactor RPC servers and clients
* Removed websocket server
* Fixing websocket issues
* Fix more bugs
* Migration
* Try to fix introducer memory leak
* More logging
* Start client instead of open connection
* No drain
* remove testing deps
* Support timeout
* Fix python black
* Richard fixes
* Don't always auth, change testing code, fix synced display
* Don't keep connections alive introducer
* Fix more LGTM alerts
* Fix wrong import clvm_tools
* Fix spelling mistakes
* Setup nodes fully using Service code
* Log rotation and fix test
2020-07-16 13:05:43 -07:00
Richard Kiss and wjblanke
9090ef0176
Refactor some messages into introducer_protocol.
2020-06-08 17:17:48 -07:00
Mariano Sorgente and wjblanke
0da0a630ae
Create plots filenames, chia keys API, and harvester reload plots fix ( #243 )
...
* Create plots filenames, chia keys API, and harvester reload plots fix
* Colon to hyphen
* Only refresh config file when reload_plots is called
* Use test root, and pass in root to wallet_node
2020-06-01 08:56:59 -07:00
Yostra and wjblanke
85882f06a5
Breaking changes - fix aggsig, new genesis, new protocol version ( #235 )
...
* ouch - fix aggsig merge issues
* Block tools with keychain
* Use load_plots for Prover
* New genesis
* introducer
Co-authored-by: Mariano Sorgente <sorgente711@gmail.com >
2020-06-01 08:56:59 -07:00
Mariano Sorgente and wjblanke
1d21a6d777
Ms.sync full sync improvements ( #218 )
...
* Refactor blockchain.py into a few different files (difficulty_adjustment.py, block_header_validation.py)
* Faster sync pipelining of requests, and parallel verification (13 minutes to 9 minutes on 2 cores)
* Memory usage of node during sync is significantly reduced, only the latest blocks are in memory
* Networking fixes and logging levels changed
* SPECIFIC delivery which allows you to send messages to a specific node id
* Check plots acts like the normal harvester
2020-06-01 08:56:59 -07:00
Gene Hoffman and GitHub
159a09a70f
Improved blockchain database - Merge pull request #197 from Chia-Network/ms.refactor
...
Improved blockchain database
2020-04-29 18:36:30 -07:00
Yostra
5ce203ee8d
unique test name
2020-04-29 13:45:05 -07:00
Yostra
0f65c3ec22
mempool fix
2020-04-29 13:41:42 -07:00
Mariano Sorgente
2d3c85f7f3
Add genesis to DB
2020-04-28 17:19:38 +09:00
Mariano Sorgente
f4d8c22f94
Store unfinished blocks on disk, tips/lca, db changes, cleanup
2020-04-28 17:09:18 +09:00
Yostra
a54931d735
transaction history /value
2020-04-27 18:42:08 -07:00
Mariano Sorgente
ffd439e79b
Start refactor
2020-04-27 22:10:32 +09:00