Commit Graph
14659 Commits
Author SHA1 Message Date
c73300b225 Ms.transaction fixes (#227)
* dbus alternative for linux

* key migration

* reset mnemonics

* Fix tests, and start working on key selection

* Implement UI for changing keys

* Removing keys and mnemonic button

* Start making farmer and harvester RPCs

* routing, daemon, react
* Fix rpc shutdown

* Harvester and farmer websocket, and basic UI
* Plot display and deletion
* use proper config:
* don't crash on nondefined
* local test false
* launch daemon on start
* farmer clean
* get blocks
* header table
* Start with farmer callback, fix bug in getting latest blocks
* State changes from full node, harvester, farmer, and full node ui improvements
* split balances in react
* pending change balance
* plotter
* dev config
* gitignore fail..
* maintain connection / retry
* Fix tests
* Remove electron-ui, and style fixes
* Better farmer and full node control
* Remove electron ui references
* Uncomment out starting the dameon
* Add to changelog
* Remove timelord tab, and change full node style
* Clean up new wallet login
* Refactor RPCs
* Fix flake8 import issues in full_node_rpc_server.py
* add balance split to coloured coin wallet
* spendable balance fix
* Import private key from UI fix
* Various fixes to transaction sending, and UI tweaks
* Fix merge issues

Co-authored-by: Yostra <straya@chia.net>
Co-authored-by: Lipa Long <lipa@chia.net>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
2020-06-01 08:56:59 -07:00
Gene Hoffmanandwjblanke 75e442db60 Initial cleanups to CHANGELOG 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
Gene Hoffmanandwjblanke f258d7086d bump chiapos, chiavdf, blspy for release 2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke 4e742a4a6b If CHIA_TEST_PLOT_ROOT is set, use that path for plots in tests. 2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke e877a5fbe0 Remove a couple redundant items from requirements-dev.txt. 2020-06-01 08:56:59 -07:00
Gene Hoffmanandwjblanke 2405aa654b Updates to Timelord.md 2020-06-01 08:56:59 -07:00
Gene Hoffmanandwjblanke fc89144160 Use FetchContent to get pybind11 for chiavdf, chiapos, and blspy (#225)
Sub repos now require CMake 3.14+
2020-06-01 08:56:59 -07:00
Gene Hoffmanandwjblanke 73b9c01bb1 chiapos to 0.12.14 2020-06-01 08:56:59 -07:00
Florin Chiricaandwjblanke d2764badfc Fix compact pot protocol (#215)
* DB for challenge_hash. Refactor
* Store challenge_hash in headers db.
* Address review comments.
2020-06-01 08:56:59 -07:00
Gene Hoffmanandwjblanke c3eae20b87 Bump PyYAML, cyrptography, aiosqlite to current versions 2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke ffe5c33edb Remove some instance variables from ChiaServer that it doesn't need. 2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke 0ac2a5611a Factor out pipeline. 2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke 9399c023ae Remove pipeline from ChiaServer. 2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke f5efc64a48 Removed every self from pipeline except in asserts and method invocation. 2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke f3adba7b30 Add log property to Connection and use it. 2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke 9e093fb2e9 Generate outbound_handshake once. 2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke 83d32349f6 Factor out self._local_type and self._swrt_aiter. 2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke 489b406954 Pass global_connections through the pipeline. 2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke f896645ae3 Refactor a bunch of self. properties to tops of methods. 2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke e8bd39ebb3 Remove unnecessary serve_forever task. 2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke 4e7cabc89a Get rid of self._on_inbound_connect. 2020-06-01 08:56:59 -07:00
Gene Hoffmanandwjblanke f561fea075 Fix type errors in netspace rpc 2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke d216249e1c Fix daemon problem: start now checks is_running. 2020-06-01 08:56:59 -07:00
Gene Hoffmanandwjblanke 6de2c764d5 Adding Azure pipeline MacOS Mojave build runner (#222)
* Set up CI with Azure Pipelines
* Upgrade node w/ npm - break out deps, build, test
* Actually install the wheels for py.test to test
* Install timelord - requires boost - and upload wheels. Run all branches
* Skip p38 to punt on artifact conflict - add back dev reqs
* Add commentary
2020-06-01 08:56:59 -07:00
Gene Hoffmanandwjblanke 6db0bc0ee2 Modify show for changes to /get_blockchain_status and place in CHANGELOG 2020-06-01 08:56:59 -07:00
Gene Hoffmanandwjblanke 86a4f3ff61 Update chiapos to 0.12.13 2020-06-01 08:56:59 -07:00
Gene Hoffmanandwjblanke 4660182c3b Correct typing in get_total_miniters and get_network_space 2020-06-01 08:56:59 -07:00
Gene Hoffmanandwjblanke 2c3c8d99cf Move netspace calculations to rpc-server. Refactor cli. 2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke 225c6b88cb Don't unlock lockfile until our port is open. Exit server cleanly.
Improve log message.
2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke a178b29fbf Fix mypy warnings. 2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke 88314a2719 Fix flake8 warnings. 2020-06-01 08:56:59 -07:00
Richard Kissandwjblanke 8f3bddcff4 Improve start (#217)
* Checkpoint.

* Add start_daemon_client.

* First crack at `chia daemon`.

* Improve UI.

* More improvements.

* Fix stop problem with groups.

* Simplify stop.

* Having problems with argparse.

* Try hard to prevent multiple chia daemon instances from running.

* Add a semaphore.

* Use UNIX sockets on platforms that have them.

* Fix problem with UNIX sockets.

* Remove lockfile on Windows.

* API server is now an aiter.

* Don't print anything when launching chia_farmer.

* Validate services before starting.

* Add comments.

* Close lockfile. Deal with subprocess launching errors better.

* Move service_groups file.

* Remove pid_path_killed if it exists before renaming.

* Bind to localhost.

* Fix flake8.

* Fix some PEP8.

* First crack at http RPC.

* Move client over to http RPC.

* Checkpoint. Remove proxy API.

* Use UNIX sockets.

* Remove obsolete file.

* Comments, minor improvements.

* Remove another file.

* LGTM tweaks.
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
Gene Hoffmanandwjblanke 2d0f1986b7 Change cli to use "Latest Common Ancestor" 2020-06-01 08:56:59 -07:00
Gene Hoffmanandwjblanke a18fbfacaf Bring CHANGELOG current and into conformance 2020-06-01 08:56:59 -07:00
Gene Hoffmanandwjblanke 8ae88834b0 Add CHANGELOG.md and adopt keepachangelog.com practices 2020-06-01 08:56:59 -07:00
Bill Blankeandwjblanke 0704f4917f update chiapos to 24 2020-06-01 08:56:59 -07:00
Gene Hoffmanandwjblanke c2f1e68f98 Add logo to README.md 2020-06-01 08:56:59 -07:00
Bill Blankeandwjblanke f9ba295c9a updated blspy 2020-06-01 08:56:59 -07:00
Bill Blankeandwjblanke 01f11303c1 updated bls for lzc 2020-06-01 08:56:59 -07:00
Gene Hoffmanandwjblanke 6ed9727368 Oops. Fix README.md 2020-06-01 08:56:59 -07:00
wjblankeandGitHub 0eae1e0a6b Merge pull request #213 from Chia-Network/dev
# Beta 1.5

1. This release is primarily a maintenance release for Beta 1.4. There was a regression in Chia Proof of Space (chiapos) that came from our efforts to speed up plotting on Windows native. Now k>=32 plots work correctly. We made additional bug fixes and corrected limiting small k size generation.

2. We have implemented a workaround for the `chia start` issues some were having upon crash or reboot. We will be rebuilding start and stop to be robust across platforms. This release re-includes `chia-start-harvester`.

3. Coloured coins now have a prefix to help identify them. When sending transactions, the new prefix is incompatible with older clients. Additionally, the user interface now refers to chia coins with their correct currency code of XCH.

4. We have made significant changes to the full node database to make it more reliable and quicker to restart. This requires re-syncing the current chain. If you use `chia init` then sync on first start will happen automatically. "$CHIA_ROOT" users will need to delete `$CHIA_ROOT/db/*` before starting Beta 1.5. This also fixes the simulation issue in Beta 1.4 where tips could go "back in time."

5. We have added an option to `chia-create-plots` to specify the second temporary directory. Creating a plot is a three step process. First a working file ending in `.dat.tmp` is created. This file is usually 5 times larger than the final plot file. In the later stages of plotting a second temp file is created ending in `.dat.2.tmp` which will grow to the size of the final plot file. In the final step, the `.dat.2.tmp` is copied to the final `.dat` plot file. You can now optionally set the directory for the `.dat.2.tmp` file with the `-2` flag. An example use case is plotting on a ramdisk and writing both the second temp file and the final file out to an SSD - `chia-crate-plots -n 1 -k 30 -t /mnt/ramdisk -2 /mnt/SSD -d /mnt/SSD`.

6. There was a bug in Timelord handling that could stop all VDF progress.

7. `chia init` properly migrates from previous versions including the k>=32 workaround. Additionally, the farming target key is checked to make sure that it is the valid and correct public key format.

## Known issues

1. uPnP support on Windows may be broken. However, Windows nodes will be able to connect to other nodes and, once connected, participate fully in the network.

2. Currently, there is no way to restore a Coloured Coin Wallet.
1.0beta5
2020-05-05 21:11:20 -07:00
Gene HoffmanandGene Hoffman 1004b87f53 start wallet shouldn't use a relative directory - thx @mariano54 2020-05-05 20:10:05 -07:00
Bill BlankeandGene Hoffman d29884c335 Specify secondary temporary plotting folder 2020-05-05 20:10:05 -07:00
Gene Hoffman f77973e0b0 chiapos==0.12.11, cleaner README 2020-05-05 10:56:09 -07:00
Gene Hoffman a72f12c005 Move Windows installer to 0.1.12 2020-05-04 17:04:08 -07:00
Gene Hoffman f10f518ab2 Fix typo in init 2020-05-04 16:45:21 -07:00
Gene Hoffman 7e2aa4bfb9 Correct args.force assingment and lint 2020-05-04 15:59:40 -07:00
Gene Hoffman 2c5021776e Edits to migrate UI. Grubby hack to make -r and -f equivalent in stop 2020-05-04 15:48:49 -07:00