Commit Graph

75 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
Bill Blanke bee2e7a2a8 update for new pos 2020-06-08 17:17:48 -07:00
Richard Kiss 14792e840e Always use `~/.chia/test-plots` as test-plotting directory. 2020-06-08 17:17:48 -07:00
Richard Kiss bd8d20aeb3 Use test plots in `$CHIA_ROOT/test_plots` if it exists. Use
a temporary directory for `root_path` in `BlockTools`.
2020-06-08 17:17:48 -07:00
Richard Kiss fb53c59247 Factor out `DEFAULT_ROOT_PATH`. 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 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
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
Richard Kiss 4e742a4a6b If `CHIA_TEST_PLOT_ROOT` is set, use that path for plots in tests. 2020-06-01 08:56:59 -07:00
Bill Blanke d29884c335 Specify secondary temporary plotting folder 2020-05-05 20:10:05 -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
Yostra d0b8a852c5 use tree hash 2020-04-21 22:55:21 -07: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 b077a7a02e Fee parent val (#145)
* Add validation of parent ids for coinbase and fees, and add 1 to height for fees
* Increment protocol version
* Add 1 to fee calculation
* Fix test
2020-04-03 05:26:00 +09:00
Richard Kiss e9299f8f73 Move src.path to src.util.path. 2020-03-31 18:31:01 -07:00
Mariano Sorgente 920043c1d4
Tweak block validation, rename some files, and concentrate error codes 2020-03-31 02:27:22 +09:00
Richard Kiss 9b0e257580 Fix tests. 2020-03-29 15:23:27 -07:00
Richard Kiss 0df69d52b1 Use chiavdf from pypi instead of from lib. 2020-03-27 11:03:29 -07:00
Mariano Sorgente b3040a3623
Add full node display to electron 2020-03-24 21:18:07 +09:00
Mariano Sorgente 3bb3e9e4d6
Remove inkfish, use c++ prover for tests 2020-03-23 18:57:05 +09:00
Mariano Sorgente e83aa36b44
Add cli script, remove SSH ui and dependencies 2020-03-19 15:28:17 +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 bb3ce76d8a
More wallet protocol tests, fix bbugs 2020-03-09 22:44:01 +09:00
Mariano Sorgente 95981eaafc
Redefine wallet protocol and start implementing 2020-03-04 17:53:51 +09:00
Mariano Sorgente 3b0b7dfb72
Complete removal of body 2020-03-02 15:06:03 +09:00
Mariano Sorgente cc3b51a1a1
Merge branch 'integration' of github.com:Chia-Network/chia-blockchain into integration 2020-02-27 11:23:03 +09:00
Mariano Sorgente 521c476094
Full node tests 2020-02-26 15:42:30 +09:00
Yostra d53b4c9ca8 add addition and removal root to header 2020-02-25 16:15:23 -08:00
Yostra f02ea59d5d include filter in header data 2020-02-24 10:24:54 -08:00
Mariano Sorgente 4b98c3706d
Continue full node tests 2020-02-24 14:40:36 +09:00
Mariano Sorgente 179ccbb1b7
New full node protocol 2020-02-14 10:03:56 -08:00
Mariano Sorgente 48901a02a7
Use standard hash everywhere 2020-02-10 19:07:20 -05:00
Mariano Sorgente ca14e9ed18
New objects 2020-02-07 18:18:25 -05:00
Mariano Sorgente 1116329fd0
Reduce number of test plots 2020-02-07 10:16:45 -05:00
Mariano Sorgente a04282a916
Merge branch 'integration' of github.com:Chia-Network/chia-blockchain into new-protocol 2020-02-06 19:18:52 -05:00
Mariano Sorgente 31465b0269
Simulation test, vdf with variable discriminant size, farmer puzzle ahsh 2020-02-06 19:01:18 -05:00
Yostra 696345538c calculate block/base fee 2020-02-06 15:20:42 -08: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
Mariano Sorgente 96f2e25867
Merge 2020-02-06 07:59:00 +09:00
Mariano Sorgente 52b42ecc88
Move height to header, and get everything running 2020-02-06 00:21:48 +09:00
Mariano Sorgente 70c93ebe66
Merge branch 'db_headers' into integration 2020-02-05 21:07:18 +09:00
Mariano Sorgente 5468c25a09
Db headers, locks, pos dirs, and config (#88)
* New database table to store headers
* Loading blockchain only loads headers into memory instead of header blocks (header + proofs), speeds up the startup, and reduces normal operation memory usage by 80%
* Fix deadlock issues with store class
* Make memory store access synchronous, to reduce use of locks, this improves performance of block and unfinished block processing
* Remove locks from reads of DB, only lock for writes
* Cleaner configuration system with argparse
* Log to file by default, configurable to stdout
* Proof of space binary and create_plots scripts allow passing in temp and final directories
2020-02-05 09:42:57 +09:00
Yostra 7ed451836d clean, mypy, flake8 2020-02-04 11:39:49 -08:00
Yostra 374d82df8a add test for blockchain 2020-02-04 11:39:49 -08:00
Yostra 82a611aad6 add option to mine transaction in blocktools 2020-02-04 11:39:49 -08:00