Commit Graph

34 Commits

Author SHA1 Message Date
Richard Kiss
52091044e4 Use constants instead of dic overrides for tests set-up. 2020-07-27 16:01:18 -07:00
Richard Kiss
423efbc448 Don't use copy for constants. 2020-07-27 16:01:18 -07:00
Mariano Sorgente
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
Mariano Sorgente
8dca011f5e Change simulation constants and initialize correct height for full node (#308)
* Change simulation constants and initialize correct height for full node
2020-07-16 13:05:43 -07:00
Yostra
24297ff26e formatting and constants for simulation 2020-07-16 13:05:43 -07:00
Mariano Sorgente
04edeb5255 Speed up tests 2020-07-16 13:05:43 -07:00
Mariano Sorgente
392c045e7e Attempt to fix tests 2020-07-16 13:05:43 -07:00
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
14f1970f8e Improve daemon 2020-07-16 13:05:43 -07:00
Mariano Sorgente
5df7a189e6 Update changelog 2020-07-16 13:05:43 -07:00
Mariano Sorgente
a1b4392bb1 Tests passing 2020-07-16 13:05:43 -07:00
Mariano Sorgente
4ec019411a Fix more tests 2020-07-16 13:05:43 -07:00
Richard Kiss
f8d06946cd Use make_test_constants_with_genesis. 2020-07-16 13:05:43 -07:00
Mariano Sorgente
2c8efb7db2 Some more small improvements 2020-07-16 13:05:43 -07:00
Mariano Sorgente
fa39350758 Fix some more tests 2020-07-16 13:05:43 -07:00
Mariano Sorgente
116ee138b8 Remove sleeps from tests 2020-07-16 13:05:43 -07:00
Mariano Sorgente
c0441391b8 Start working on test speeds 2020-07-16 13:05:43 -07:00
Mariano Sorgente
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
fchirica
03e0788e82 Yield sanitizer as well. 2020-07-16 13:05:43 -07:00
fchirica
284c5a50a0 Initial commit sanitizer 2020-07-16 13:05:43 -07:00
Yostra
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 Sorgente
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
Mariano Sorgente
1c8815ab1a
Ms.double handshake (#203)
* Fix create plot issue, do not recreate plots that exist on another drive
* Fix double harvester handshake with farmer
* Full node sends ping to wallet
* Async constructor for harvester, and instance threadpool
2020-04-30 14:02:35 +09:00
Mariano Sorgente
83635f7c01 Small networking fixes 2020-04-21 22:55:21 -07:00
Mariano Sorgente
3bb3e9e4d6
Remove inkfish, use c++ prover for tests 2020-03-23 18:57:05 +09:00
Mariano Sorgente
b1778095d6
New difficulty change and min_iters change, and light header verification 2020-03-18 17:17:59 +09:00
Mariano Sorgente
41bc8b0798
Fix timelord asyncio bug 2020-02-10 12:08:58 -05:00
Mariano Sorgente
7777661f5e
Peer protocol to full node protocol, and too many open plots no crash 2020-02-08 16:21:03 -05:00
Mariano Sorgente
3542dcd273
Close down VDF server after handling requrest 2020-02-07 10:32:36 -05:00
Mariano Sorgente
40c751ba72
Try to fix server 2020-02-07 01:08:17 -05:00
Mariano Sorgente
893e2198fd
Fix error in VDF server 2020-02-06 19:56:00 -05:00
Mariano Sorgente
31465b0269
Simulation test, vdf with variable discriminant size, farmer puzzle ahsh 2020-02-06 19:01:18 -05:00
Mariano Sorgente
264bf5e485
Use pathlib.Path instead of os.path 2020-02-06 11:02:27 -05:00
Mariano Sorgente
bda8f0e75e
Allow bytes in streamable 2020-02-06 10:12:33 -05:00