Commit Graph
113 Commits
Author SHA1 Message Date
YostraandGene Hoffman d37a8978ce don't run in tests 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
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 KissandGene Hoffman 470b0c8c76 Use attributes instead of dictionary keys. 2020-07-27 16:01:18 -07:00
YostraandGene Hoffman 4042871ae6 user setitngs 2020-07-27 16:01:18 -07:00
Richard KissandGene Hoffman 52091044e4 Use constants instead of dic overrides for tests set-up. 2020-07-27 16:01:18 -07:00
Richard KissandGene Hoffman afb5d32fb2 Use ConsensusConstants in Harvester. 2020-07-27 16:01:18 -07:00
Mariano SorgenteandGene Hoffman 550642c789 Minor repairs and fix BIP39 and add tests (#310)
* Logging of plot num, num proofs found, and fix rpc edge case
* Revert add -> append, and python black
* Fix list/set issue
* Correct BIP39 spec and test vectors
* Fix create mnemonic UI
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
YostraandGene Hoffman 49deb0d93b post merge cleanup 2020-07-16 13:05:43 -07:00
YostraandGene Hoffman 24297ff26e formatting and constants for simulation 2020-07-16 13:05:43 -07:00
Mariano SorgenteandGene Hoffman 04edeb5255 Speed up tests 2020-07-16 13:05:43 -07:00
Mariano SorgenteandGene Hoffman 2ee946c371 chia plots cli program 2020-07-16 13:05:43 -07:00
Mariano SorgenteandGene Hoffman 4367ed36e7 Fix local simulation 2020-07-16 13:05:43 -07:00
Mariano SorgenteandGene Hoffman 2fc6f89603 Keychain with pbkdf2 and passphrase support 2020-07-16 13:05:43 -07:00
Mariano SorgenteandGene Hoffman a1b4392bb1 Tests passing 2020-07-16 13:05:43 -07:00
Mariano SorgenteandGene Hoffman 0dea6db7cd Remove raw keychain keys, update block tools with new protocol 2020-07-16 13:05:43 -07:00
Mariano SorgenteandGene Hoffman fdee2f2d5c Replace plots.yaml with in-file keys 2020-07-16 13:05:43 -07:00
Richard KissandGene Hoffman 7dd0df2a50 Use bt.root_path instead of global. 2020-07-16 13:05:43 -07:00
Richard KissandGene Hoffman 617d6896e2 Pass starting_height explicitly, not in dic. 2020-07-16 13:05:43 -07:00
Richard KissandGene Hoffman 9220b90373 Explicitly pass discriminant_size_bits to TimeLord. 2020-07-16 13:05:43 -07:00
Richard KissandGene Hoffman 0175cf64eb Use constants_for_dic. 2020-07-16 13:05:43 -07:00
Richard KissandGene Hoffman f8d06946cd Use make_test_constants_with_genesis. 2020-07-16 13:05:43 -07:00
Richard KissandGene Hoffman e4f3050667 Use ConsensusConstants in many more places. 2020-07-16 13:05:43 -07:00
Richard KissandGene Hoffman 13525e824f Pass in consensus_constants to TimeLord. 2020-07-16 13:05:43 -07:00
Richard KissandGene Hoffman be8f973fa2 Pass constants into Farmer. 2020-07-16 13:05:43 -07:00
Richard KissandGene Hoffman aa66d1d13d Remove from src.consensus.constants import constants. 2020-07-16 13:05:43 -07:00
Mariano SorgenteandGene Hoffman 8c67ead4f4 Fix connection issues 2020-07-16 13:05:43 -07:00
Mariano SorgenteandGene Hoffman 7d87638b8b Remove localhost references, and fix connection bug 2020-07-16 13:05:43 -07:00
Mariano SorgenteandGene Hoffman 2c8efb7db2 Some more small improvements 2020-07-16 13:05:43 -07:00
Mariano SorgenteandGene Hoffman fa39350758 Fix some more tests 2020-07-16 13:05:43 -07:00
Mariano SorgenteandGene Hoffman 116ee138b8 Remove sleeps from tests 2020-07-16 13:05:43 -07:00
Mariano SorgenteandGene Hoffman c0441391b8 Start working on test speeds 2020-07-16 13:05:43 -07:00
Mariano SorgenteandGene 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
fchiricaandGene Hoffman c6015c98aa Try to resolve the error in Ubuntu python 3.8 2020-07-16 13:05:43 -07:00
fchiricaandGene Hoffman 03e0788e82 Yield sanitizer as well. 2020-07-16 13:05:43 -07:00
fchiricaandGene Hoffman a9445fb8d1 Fix introducer task. 2020-07-16 13:05:43 -07:00
fchiricaandGene Hoffman 284c5a50a0 Initial commit sanitizer 2020-07-16 13:05:43 -07:00
Mariano Sorgenteandwjblanke c9bf65377f Apply black formatting 2020-06-08 17:17:48 -07:00
Richard Kissandwjblanke 1c262ac77f Make Timelord._shutdown sync. 2020-06-08 17:17:48 -07:00
Richard Kissandwjblanke 0335623368 Use Harvester.__init__ instead of create. 2020-06-08 17:17:48 -07:00
Richard Kissandwjblanke 4f67cc2641 Have timelord._manage_discriminant_queue push messages into queue itself. 2020-06-08 17:17:48 -07:00
Richard Kissandwjblanke 62564b998d Refactor start_harvester into start_service. 2020-06-08 17:17:48 -07:00
Richard Kissandwjblanke d1f0483023 Make start_server return an asyncio.AbstractServer. Wait
on that for servers.
2020-06-08 17:17:48 -07:00
Richard Kissandwjblanke c65a78fb7f Factor out start_server. 2020-06-08 17:17:48 -07:00
Richard Kissandwjblanke fff78556ab Move config out of Introducer. 2020-06-08 17:17:48 -07:00
Richard Kissandwjblanke 1b1ee7bc4b Factor out _start_bg_tasks from timelord. 2020-06-08 17:17:48 -07:00
Mariano Sorgenteandwjblanke 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
b964d86a5f Electron react (#226)
* clean react
* add material ui
* add word list
* mnemonic v0
* jeepney backup
* keychain usage
* wallet api
* mnemonic ui
* mnemonics redux state
* handle exceptions correctly
* dashboard
* wallets
* get puzzle hash
* tx history
* sidebar
* start stop wallet node
* use existing mnemonics
* status info
* create cc wallet
* theme should be outside of switch
* create offer
* dbus alternative for linux
* key migration
* don't autocomplete, don't reset simulator db
* reset mnemonics
* Refactor keychain, and key migration
* Implement UI for changing keys
* Removing keys and mnemonic button
* Start making farmer and harvester RPCs
* start rpx for simulator
* Harvester and farmer websocket, and basic UI
* Plot display and deletion
* launch daemon on start
* State changes from full node, harvester, farmer, and full node ui improvements
* split balances in react
* pending change balance
* plotter
* dev config
* maintain connection / retry
* Remove electron-ui, and style fixes
* Better farmer and full node control
* Remove electron ui references
* Uncomment out starting the dameon
* Remove timelord tab, and change full node style
* Clean up new wallet login
* Refactor RPCs
* Now that the GH runner uses python 3.7.7 - use for windows installer
* add balance split to coloured coin wallet
* spendable balance fix
* Import private key from UI fix
* mac build/installer

Co-authored-by: Mariano Sorgente <sorgente711@gmail.com>
Co-authored-by: Lipa Long <lipa@chia.net>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
2020-06-01 08:56:59 -07:00
Mariano Sorgenteandwjblanke 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