Commit Graph

80 Commits

Author SHA1 Message Date
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 c6015c98aa Try to resolve the error in Ubuntu python 3.8 2020-07-16 13:05:43 -07:00
fchirica 03e0788e82 Yield sanitizer as well. 2020-07-16 13:05:43 -07:00
fchirica a9445fb8d1 Fix introducer task. 2020-07-16 13:05:43 -07:00
fchirica 284c5a50a0 Initial commit sanitizer 2020-07-16 13:05:43 -07:00
Mariano Sorgente c9bf65377f Apply black formatting 2020-06-08 17:17:48 -07:00
Richard Kiss 1c262ac77f Make `Timelord._shutdown` sync. 2020-06-08 17:17:48 -07:00
Richard Kiss 0335623368 Use `Harvester.__init__` instead of `create`. 2020-06-08 17:17:48 -07:00
Richard Kiss 4f67cc2641 Have `timelord._manage_discriminant_queue` push messages into queue itself. 2020-06-08 17:17:48 -07:00
Richard Kiss 62564b998d Refactor `start_harvester` into `start_service`. 2020-06-08 17:17:48 -07:00
Richard Kiss d1f0483023 Make `start_server` return an `asyncio.AbstractServer`. Wait
on that for servers.
2020-06-08 17:17:48 -07:00
Richard Kiss c65a78fb7f Factor out `start_server`. 2020-06-08 17:17:48 -07:00
Richard Kiss fff78556ab Move config out of `Introducer`. 2020-06-08 17:17:48 -07:00
Richard Kiss 1b1ee7bc4b Factor out `_start_bg_tasks` from timelord. 2020-06-08 17:17:48 -07:00
Mariano Sorgente 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 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
Yostra a41ca36054 fix db path 2020-04-28 13:39:11 -07:00
Mariano Sorgente ca8f8e1549
Fix test teardown 2020-04-28 19:17:32 +09:00
Mariano Sorgente f4d8c22f94
Store unfinished blocks on disk, tips/lca, db changes, cleanup 2020-04-28 17:09:18 +09:00
Mariano Sorgente ffd439e79b
Start refactor 2020-04-27 22:10:32 +09:00
Matthew Howard 12c3df3ffb -python black format
-investigating multicolour spends and parent discovery
2020-04-22 16:03:40 -07:00
Yostra 988d9935bb unlink correct path 2020-04-22 16:02:58 -07:00
Yostra 8e6662d8dc don't use random bytes for db name, unlink path for testing 2020-04-22 16:02:50 -07:00
Mariano Sorgente f6762b80fd
New hash to prime (breaking change) (#184)
* Uses new chia-vfd (chiavdf=0.12.7)
* Migration script replaces old puzzle hashes with new ones (as long as CHIA_ROOT is not set)
* New genesis block
* Fix bug in genesis block generation
* Increment protocol version to 0.14
2020-04-22 16:24:59 +09:00
Richard Kiss 2eb4fd7b8e Squashed commit of merge conflicts. 2020-04-21 23:31:20 -07:00
Mariano Sorgente 83635f7c01 Small networking fixes 2020-04-21 22:55:21 -07:00
Yostra 299753fd22 just use new ssl 2020-04-21 22:55:21 -07:00
Mariano Sorgente b2d3d9353b
Fix chia init plots issue 2020-04-08 18:33:42 +09:00
Mariano Sorgente 281b65a39c
Lint and fix wallet server startup 2020-04-08 17:02:04 +09:00
Richard Kiss 6ded806fa2
Add `chia init` and refactor out many global references to the config directory (#153)
* Tweak subcommand template.
* Don't hack the .chia/beta-* directory when invoking `chia`.
* Get `chia init` working. Factor out all global paths.
* Reverse order of migration bases.
* Update README.
2020-04-08 16:47:17 +09:00
Mariano Sorgente 02aa39a667
Fix race condition in select coins, and order coins by age 2020-04-08 15:29:34 +09:00
Yostra d4fe5e5cb3 Merge branch 'beta-1.1' into beta-1.2 2020-04-07 11:40:49 -07:00
Mariano Sorgente b5ebf6c494
Refactor puzzle store, tests, generate future puzzle hashes 2020-04-07 18:17:44 +09:00
Mariano Sorgente 2e47378ab7
Remove useless host configs. Run rpc servers not on localhost. 2020-04-05 18:08:40 +09:00
Yostra 8ebf55bff7 simplify setup 2020-04-04 14:12:03 -07:00
Mariano Sorgente 920043c1d4
Tweak block validation, rename some files, and concentrate error codes 2020-03-31 02:27:22 +09:00
Yostra 6e01eca711 db lock issue, use one connection 2020-03-29 18:32:51 -07:00
Mariano Sorgente 81f41f7764
Fix puzzle store bug, no recursive JSON, big ints as strings in JSON 2020-03-25 17:15:31 +09:00
Mariano Sorgente d7d3be2ab7
DB path for wallet, and search block field 2020-03-25 00:50:02 +09:00
Mariano Sorgente b3040a3623
Add full node display to electron 2020-03-24 21:18:07 +09:00
Yostra d881eafe41 format 2020-03-20 22:33:41 -07:00
Yostra 7e4bc9fae0 fix vdf 2020-03-20 22:29:39 -07:00
Yostra c7a4764c62 multipl wallets ui 2020-03-19 22:12:49 -07:00
Mariano Sorgente 324cae8dba
Progress on fast sync 2020-03-19 14:15:06 +09:00
Mariano Sorgente 90e8287926
Merge branch 'integration' of github.com:Chia-Network/chia-blockchain into light-verification 2020-03-18 17:18:20 +09:00
Mariano Sorgente b1778095d6
New difficulty change and min_iters change, and light header verification 2020-03-18 17:17:59 +09:00
Yostra 10f5300805 propagate mempool on connect, test 2020-03-17 12:38:36 -07:00
Yostra cc02b94560 test transaction broadcast; 2020-03-16 22:22:59 -07:00