Commit Graph

276 Commits

Author SHA1 Message Date
dependabot[bot] a8badefddf Bump clvm-tools from 0.1.1 to 0.1.4 (#342)
Bumps [clvm-tools](https://github.com/Chia-Network/clvm_tools) from 0.1.1 to 0.1.4.
- [Release notes](https://github.com/Chia-Network/clvm_tools/releases)
- [Commits](https://github.com/Chia-Network/clvm_tools/compare/0.1.1...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-18 10:59:45 -07:00
dependabot[bot] 11e8e0066f Bump cbor2 from 5.1.0 to 5.1.2 (#344)
* Bump cbor2 from 5.1.0 to 5.1.2

Bumps [cbor2](https://github.com/agronholm/cbor2) from 5.1.0 to 5.1.2.
- [Release notes](https://github.com/agronholm/cbor2/releases)
- [Changelog](https://github.com/agronholm/cbor2/blob/master/docs/versionhistory.rst)
- [Commits](https://github.com/agronholm/cbor2/compare/5.1.0...5.1.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Move to cbor2 to 5.1.2 in install.sh

*Add ARM64 cbor2 wheels to download.chia.net/simple/

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com>
2020-08-18 10:59:45 -07:00
dependabot[bot] 21d8869722 Bump colorlog from 4.1.0 to 4.2.1
Bumps [colorlog](https://github.com/borntyping/python-colorlog) from 4.1.0 to 4.2.1.
- [Release notes](https://github.com/borntyping/python-colorlog/releases)
- [Commits](https://github.com/borntyping/python-colorlog/compare/v4.1.0...v4.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-18 10:59:45 -07:00
dependabot[bot] 487c5d6dda Bump keyring from 21.2.1 to 21.3.0
Bumps [keyring](https://github.com/jaraco/keyring) from 21.2.1 to 21.3.0.
- [Release notes](https://github.com/jaraco/keyring/releases)
- [Changelog](https://github.com/jaraco/keyring/blob/master/CHANGES.rst)
- [Commits](https://github.com/jaraco/keyring/compare/v21.2.1...v21.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-18 10:59:45 -07:00
Gene Hoffman 0c662ac523 Add sandybridge optimizations to Windows blspy and chiavdf 2020-07-27 16:01:18 -07:00
Mariano Sorgente 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
Gene Hoffman 3f6401d4c1 chiabip158 to 0.16 2020-07-27 16:01:18 -07:00
Gene Hoffman 25e0068224 revert blspy pull until cibuildwheel is fixed 2020-07-27 16:01:18 -07:00
Gene Hoffman 74699635be Update blspy interim 2020-07-27 16:01:18 -07:00
Gene Hoffman 3f6cea6844 Move cryptography to 3.0 - less old openssl - Update workflow name for lint (#323)
* cryptography to 3.0 - less openssl dependency
* Rename worklflow to Lint and upload.
* Actually change workflow name in both places
2020-07-27 16:01:18 -07:00
Gene Hoffman 84e6a4da18 Add final bls-signatures and set CHANGELOG for release. 2020-07-16 13:05:43 -07:00
Gene Hoffman 8a7f064758 Downgrade to gmp 6.1.2 to deal w lzcnt on old cpus 2020-07-16 13:05:43 -07:00
Gene Hoffman c720b0a033 test aiosqlite 0.15.0 2020-07-16 13:05:43 -07:00
Gene Hoffman 29ce4798e2 chiavdf to 0.12.21 - should have been using manylinux2010 and build gmp 2020-07-16 13:05:43 -07:00
Gene Hoffman b9ff2d57f2 release candidate of chaipos added 2020-07-16 13:05:43 -07:00
Mariano Sorgente 4eb508ed92 New signatures 2020-07-16 13:05:43 -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
Yostra bd30e559ef typo 2020-07-16 13:05:43 -07:00
Yostra 4fa03c4e62 lint 2020-07-16 13:05:43 -07:00
Mariano Sorgente fc1015531a Remove chia-create-plots from setup.py 2020-07-16 13:05:43 -07:00
Mariano Sorgente 0e0b4bfda9 Update build script with chia command instead of create_plots 2020-07-16 13:05:43 -07:00
Mariano Sorgente 2ee946c371 chia plots cli program 2020-07-16 13:05:43 -07:00
Gene Hoffman 981756c45c Move to chacha8 chiapos and interim sub repo releases 2020-07-16 13:05:43 -07:00
Gene Hoffman b3ff1c1c51 Lower dev dependencies and sync setup.py to dev-reqs.txt (#298)
* Match requirements-dev to setup.py
* new flake8 create_plots.py, keys.py
* setup-python@v2 - build_macos.sh needs setuptools_scm
* Update setuptools_scm, remove isort, autoflake deps
* Switch upload-pypi-source to ubuntu from macos
2020-07-16 13:05:43 -07:00
Gene Hoffman 7bc4e36c18 prettier on js - reorder setup.py - rm obsolete and dupes. Vers updates (#297) 2020-07-16 13:05:43 -07:00
Florin Chirica bca2aeb263 Tag chiavdf with the new code. 2020-07-16 13:05:43 -07:00
Bill Blanke f6495e9845 update blspy for skylake nonavx fix 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
Bill Blanke 79dce255b3 switch back to beta vdf to see if tests pass 2020-07-16 13:05:43 -07:00
Bill Blanke 186e44dd94 update vdf and pos for non skylake and filehandle fixes 2020-07-16 13:05:43 -07:00
fchirica 98cafe5a4a Flake8 2020-07-16 13:05:43 -07:00
fchirica 284c5a50a0 Initial commit sanitizer 2020-07-16 13:05:43 -07:00
Bill Blanke f56308f827 updated chiapos 2020-06-08 17:17:48 -07:00
Bill Blanke e27de23c77 update chiapos 2020-06-08 17:17:48 -07:00
Bill Blanke bee2e7a2a8 update for new pos 2020-06-08 17:17:48 -07:00
Richard Kiss ba049fc5e2 Factor into start_wallet. 2020-06-08 17:17:48 -07:00
Yostra 002d6597c2 update setup 2020-06-01 08:56:59 -07:00
Gene Hoffman a157054ece Bump chiapos for Pi src distro issue, CHANGELOG on aggsig change 2020-06-01 08:56:59 -07:00
Gene Hoffman 5453ea046e install-timelord handles cmake, python3.8 - rename and clean build-ubuntu-mac.yml (#234)
* cleanup and rename build-ubuntu-mac.yml
* Remove vestiges of GH workaround for ubunutu/node and update Changelog
* timelord-install now handles cmake installation on Ubuntu b4 20.04LTS
* Bump chiavdf to fix timelord install, and bump chiapos for a fix
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
Gene Hoffman f258d7086d bump chiapos, chiavdf, blspy for release 2020-06-01 08:56:59 -07:00
Gene Hoffman 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 Hoffman 73b9c01bb1 chiapos to 0.12.14 2020-06-01 08:56:59 -07:00
Gene Hoffman c3eae20b87 Bump PyYAML, cyrptography, aiosqlite to current versions 2020-06-01 08:56:59 -07:00
Gene Hoffman 86a4f3ff61 Update chiapos to 0.12.13 2020-06-01 08:56:59 -07:00
Richard Kiss 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
Bill Blanke 0704f4917f update chiapos to 24 2020-06-01 08:56:59 -07:00
Bill Blanke f9ba295c9a updated blspy 2020-06-01 08:56:59 -07:00
Bill Blanke 01f11303c1 updated bls for lzc 2020-06-01 08:56:59 -07:00
Bill Blanke 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
fchirica 9a348f3fa3 Fix overflow in timelord 2020-05-04 20:15:55 +03:00
Gene Hoffman 9a408eb3b3
Move chiapos to 0.12.10 2020-04-30 15:58:59 -07:00
Gene Hoffman 8bbd0d38fe
Bump chiapos to 12.8 2020-04-29 00:23:33 -07:00
Gene Hoffman 35f0c92375
Add missing comma 2020-04-25 11:53:45 -07:00
Gene Hoffman 6fb64850ee
Add cc_wallet to setup.py packages 2020-04-25 11:47:41 -07:00
Bill Blanke b46ae0b4db update blspy to fat gmp for windows 2020-04-25 10:54:01 -07:00
Richard Kiss abd76c86c7 Rename cli.py to chia.py. 2020-04-24 14:23:37 -07:00
Bill Blanke 81ef2251e4 use FAT MPIR ChiaVDF on Windows 2020-04-24 09:18:24 -07:00
Gene Hoffman 7058b8d220
blspy to 0.1.20 for a test fix and libsodium on Mac and Linux 2020-04-24 02:45:05 -07:00
Gene Hoffman 0491330490
Increment blspy for uploaded source in Pypi 2020-04-23 22:58:24 -07:00
Gene Hoffman 5e091fb900
Incrementing vdf, pos, and bip158 2020-04-23 20:05:00 -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
Richard Kiss 93c9092a47 Add `chia start`, and remove a bunch of shell scripts. 2020-04-21 23:11:53 -07:00
Gene Hoffman ba8208e21c Update chiavdf to 12.6, Windows installer to 0.1.9 2020-04-21 22:55:21 -07:00
Yostra 0452675fc1 migrate config, initialize ssl 2020-04-21 22:55:21 -07:00
Mariano Sorgente b7e15ac765 Stop wallet when starting it on WSL script, to prevent DB races 2020-04-21 22:55:21 -07:00
Gene Hoffman fccb8f8889 Let's try building a big wheel 2020-04-21 22:55:20 -07:00
Gene Hoffman d6e43b6f9e install setuptools, add url, correct venv creation 2020-04-21 22:55:20 -07:00
Gene Hoffman e1dac4c261 Bump chiavdf, blspy up to fix windows wheel versioning 2020-04-21 22:38:51 -07:00
Gene Hoffman 4722121d06 bump chiapos to 0.12.6 - fix windows wheels and macos sync problem 2020-04-21 22:38:51 -07:00
Gene Hoffman 0cc350feb7 Move chiapos to 0.12.5 for Windows and Mojave 2020-04-21 22:38:51 -07:00
Richard Kiss 7259937159 Use cbor2==5.1.0. 2020-04-21 22:38:51 -07:00
Gene Hoffman 31a486339f New releases of chiavdf, blspy, cbor2, chiabip158, miniupnpc 10.14 & Win 2020-04-21 22:38:49 -07:00
Richard Kiss 6cb99d6543 Change name of scripts to what we were using setproctitle for. 2020-04-21 22:38:26 -07:00
Gene Hoffman 3f9157246d
Bump chiavdf==0.12.3 2020-04-08 11:21:16 -07:00
Gene Hoffman 8f06913e7e
Require blspy==0.1.16 2020-04-08 11:01:55 -07:00
Gene Hoffman 2c125cb951
Don't check in dev dependencies 2020-04-08 09:50:21 -07:00
Gene Hoffman 1b215105d2
Still install gmp until static linking resolved 2020-04-08 09:50:20 -07:00
Mariano Sorgente fb3a7318dd
Fix create_plots, improve sync efficiency, update pos 2020-04-08 22:43:19 +09:00
Gene Hoffman 7f8590a495
add re-start-harvester to setup.py 2020-04-08 02:04:46 -07:00
Mariano Sorgente 851cf96627
Fix simulation script 2020-04-05 05:43:36 +09:00
Gene Hoffman f876ea7022
Add chia-start-wallet-server and update docs 2020-04-02 10:18:33 -07:00
Gene Hoffman 1623935242
Move to blspy 0.1.15 2020-04-01 14:12:48 -07:00
Richard Kiss 6d58160e98 Use clvm-tools from pypi. 2020-03-31 18:12:31 -07:00
Richard Kiss 4e785969b5 Get the desired version of chiavdf out of setup.py. 2020-03-31 18:12:31 -07:00
Richard Kiss 155d14aff9 Load setproctitle as runtime. 2020-03-31 18:12:31 -07:00
Richard Kiss a0437b5acb Dynamically install UPnP so the full node works even on platforms
where miniupnp is unsupported.
2020-03-31 17:12:55 -07:00
Bill Blanke 4143c856da update chiapos, again 2020-03-31 10:26:51 -07:00
Richard Kiss 075465c179 Bump chiavdf version. 2020-03-30 18:25:55 -07:00
Richard Kiss 51d5f9436d Move and rename scripts, making them available from the venv. 2020-03-30 12:42:51 -07:00
Richard Kiss b26088a637 Have setup.py download all necessary dependencies. 2020-03-30 12:33:08 -07:00
Mariano Sorgente 920043c1d4
Tweak block validation, rename some files, and concentrate error codes 2020-03-31 02:27:22 +09:00
Mariano Sorgente e328f01f10
Lint properly, and fix Paths 2020-03-30 18:03:03 +09:00
Richard Kiss af75fd55d3 Get wallet working again, hack. 2020-03-29 16:34:27 -07:00
Richard Kiss 9b0e257580 Fix tests. 2020-03-29 15:23:27 -07:00
Richard Kiss 2a681d0521 Change names of tools so they all start with "chia". 2020-03-29 14:25:28 -07:00
Richard Kiss 6868839a74 Use package_data and an initial config file. 2020-03-29 12:44:27 -07:00
Richard Kiss 05906e1a13 Add packages. 2020-03-29 12:44:26 -07:00
Gene Hoffman 5483488941
Add websockets back & ignore activate 2020-03-27 18:32:25 -07:00
Richard Kiss ef59bb2823 Reduce stuff installed for non-developers. 2020-03-27 16:52:49 -07:00
Richard Kiss f8c02aa57f Add some more dependencies. Run black on setup.py. 2020-03-27 12:19:57 -07:00
Richard Kiss fd6b53883f Put command-line tools into venv. 2020-03-27 12:17:34 -07:00
Mariano Sorgente e83aa36b44
Add cli script, remove SSH ui and dependencies 2020-03-19 15:28:17 +09:00
Mariano Sorgente 88e991c67f
Optional uvloop (#83)
* uvloop is an optional dependency
2020-01-23 14:19:47 +09:00
Mariano Sorgente 9426e00d8f
Fixes the setproctitle bug and the wheel bug. (#75)
Fixes the setproctitle bug, and the wheel bug.
2020-01-17 17:36:01 +09:00
Mariano Sorgente 4a736883ca
Full sync test and color logging (#69)
* Adds color logging, and test for full sync
2020-01-14 23:47:40 +09:00
Mariano Sorgente 49e4629935
Sqlite, RPC server, and other changes (#68)
* Switches to sqlite and remove all mongo stuff
* Starts RPC server on port 8555
* UI is in new process, communicates to node through rpc
* JSON serialization for streamables
* Harvester periodically prints its plot names and sizes
* Process names are set to chia_full node, chia_harvester, etc
* CONTRIBUTING.md, and remove docs from git (put in wiki)
* Adds the SmallHeaderBlock type, it's header block without the PoT and PoSpace
* Fix harvester bug (allows two harvesters in the same machine)
2020-01-13 22:19:53 +09:00
Mariano Sorgente cc7a12ef1a
Remove python toolkit from lib, install from pypi 2020-01-13 21:26:57 +09:00
Richard Kiss 90ce913ac1
Fix problem with zip download. 2019-12-13 14:57:51 -08:00
Richard Kiss 541b409b99 Use setuptoools_scm for version numbers. (#42) 2019-12-09 21:29:37 +09:00
Mariano Sorgente 1e3e0a4342 Moved things from disk to memory, clear old blocks 2019-11-28 13:00:17 +09:00
Mariano Sorgente dba0a17228 Attempt to fix VDF timeout, and add upnp 2019-11-25 17:35:43 +09:00
Mariano Sorgente dfd3fd9676 Merge with latest master, bug fixes, cleanup 2019-11-20 16:28:26 +09:00
Alex Wice 4f9ba50b15 pyblack autoformatting 2019-11-18 13:50:31 +09:00
Alex Wice 3c3df3776e persist should work 2019-11-18 13:40:20 +09:00
Mariano Sorgente ff2f4a30d5 Merge branch 'challenge_hash' into networking 2019-11-03 16:42:05 -08:00
Mariano Sorgente 85b1b04173 Remove CBOR tags 2019-10-31 18:33:03 -07:00
Mariano Sorgente 44fdd743db Start on prompt 2019-10-29 09:39:02 +09:00
Mariano Sorgente 0fef0b933e Changed to mypy from pyright, fix tests (full node still broken) 2019-10-22 16:44:01 +09:00
Mariano Sorgente 139e5defe7 Separate config 2019-09-17 18:17:11 +09:00
Mariano Sorgente 348cadf6f0 Implement plotter protocol 2019-07-25 19:01:56 +09:00
Mariano Sorgente 0ac150a29b More changes 2019-07-23 23:11:07 +09:00
Mariano Sorgente 8d4b98ed30 Basic client and server 2019-07-22 15:05:31 +09:00
Mariano Sorgente 66e9677a62 Some basic boilerplate, and start with plotter.py 2019-07-19 12:30:31 +09:00