Commit Graph

56 Commits

Author SHA1 Message Date
Kyle Altendorf
026d4671af
add cache to speed up manage_clvm/clvm_hex pre-commit check (#14177)
* add cache to speed up manage_clvm/clvm_hex pre-commit check

* Update tools/manage_clvm.py

* add version to cache along with handling of incorrect versions

* force skipping the cache in ci
2023-01-03 14:59:09 -06:00
Kyle Altendorf
b2a553bbe8
data layer - remove old .gitignore (#13198) 2022-08-30 02:59:54 -05:00
Florin Chirica
1e1be5eda4
Merge branch 'atari' into fc.new_server 2022-05-06 15:30:33 +03:00
Chris Marslender
3ea3a4dc0c
Use get latest release endpoint for plotters, so that we ignore any pre-releases that could be returned by listReleases (#11165) 2022-04-13 18:06:50 -05:00
Florin Chirica
8711b741f4
Merge branch 'atari' into fc.new_server 2022-03-24 13:25:34 +02:00
Florin Chirica
576fcc811b
Add mock client. 2022-03-24 13:23:26 +02:00
Kyle Altendorf
fc95c638a3
Update to handle the NodeJS 16 dependency (#9921)
* preliminary testing of in-directory n on ubuntu always

* Use more n chiaminejp (#9971)

* Added n as a local npm dependency

* Fixed an issue where `install.sh` always tried to run `sudo apt install bc -y` even if `bc` is installed already

* Added validations and useful outputs for `start-gui.sh`

* Fixed lint error and use shell functions for readability

* Replace tags with spaces

* Skip installing python39 on RH like OS if it is already installed

* Fixed an issue where start-gui.sh failed silently if venv is not activated

* Suppressed message from pacman

* Support CentOS7

* Fixed typo

* Reduced unnecessary install messages

* Fixed end of file

* Added npm_global/__init__.py to pass CI

* Fixed lint errors

* Install python/sqlite from source on AMZN2. Clear old venv when changing python version on install

* Suppress unnecessary command outputs

* Suppress outputs

* Added centos7/8 to install test

* A minor fix

* Fixed yaml syntax error

* Fixed an issue where test-install-scripts failed in CentOS

Co-authored-by: ChiaMineJP <admin@chiamine.jp>
2022-02-11 18:30:19 -08:00
Kyle Altendorf
42ead07211
more gitignore (pytest-monitor, git, vim) (#10012)
* more gitignore (pytest-monitor, git, vim)

* /

* tidy

* .gitignore *.prof

* also ignore *.pstats
2022-02-07 13:14:23 -08:00
Jack Nelson
137f108671
Exclude Files created by wheel. (#9806)
* Exclude Files created by wheel.

* end of line

* Update .gitignore
2022-01-13 17:43:27 -08:00
matt-o-how
5e1bf6d5f3
Merge DID into main (#1720)
* rebase DID off main

* fix indentation and imports

* lint fixes

* fix test_compilation paths for new puzzles

* added _init__.py for did_wallet

* mypy typing fixes

* included did_wallet in setup.py module list

* stored pubkey & puzhash so that recovery_spend can choose not take them

* black missing comma
2021-04-06 19:31:44 -07:00
Gene Hoffman
67f5cd5b92
spec file changes (#1266)
* spec file changes

* Clean up installer build process

* revert as PR 1267 is right
2021-03-12 15:19:33 -08:00
Adam Kelly
68c1493e54
Change coin ids (#1225)
* change to coin ID calculation

* Generator_for_single_coin uses coin info to generate coin IDs live

* update sha256tree of generator for single coin

* Update changelog for more stringent coin ID calculation

Co-authored-by: matt <matt@chia.net>
Co-authored-by: Adam Kelly <aqk@aqk.im>
2021-03-11 18:58:16 -08:00
Mariano
589b225b5d Revert gitignore 2021-03-06 09:39:06 -08:00
Mariano
c5f2e58ff7 Fix fns 2021-03-06 09:39:06 -08:00
Gene Hoffman
2ef68723d7
Fix bad version numbering from scm for installers (#1029)
* Search for bad version numbering from scm

* pollution is in the sub repo. Dir to check

* test-cache fetch depth 1 - clean debug installers
2021-02-23 19:40:14 -08:00
Gene Hoffman
fd7c974069 Fix winstaller version 2021-02-18 21:07:40 -08:00
Gene Hoffman
0febb5136b
GUI to a separate repo (#859)
* GUI to a separate repo

* correct repo name, codeql to just python

* fetch-depth: 0 is indeed needed

* remove debug ls's

* Switch to a submodule

* update blockchain gitignore

* Return omitted cd to install-gui.sh
2021-02-07 20:39:59 -08:00
Matthew Howard
c7f4128ac1 update to cvppairs extensibility 2021-01-12 17:00:50 -05:00
Zlatko Fedor
a1d9de769b Ui farm (#537)
* added farm cards

* updated farming page
updated card, accordion and table components

* updated formating

* added @chia/core and @chia/icons packages
small refactoring

* replaced brand with chia icon
removed modal dialog

* removed old pages
added WalletType into the constants

* added craco for local alias
fixed typos

* fixed app provdier and typos

* eslint format

* updated deps

* added minimum K=32 for mainnet
added precision = 3 for plot size and total net size
refactored plot page
added hooks for open and select directory via electron api
added react-form-hooks components for material-ui

* updated format of the code

* fix simulator

* black

* deps

* added plot list

* removed unused components
moved plot list from farmer into the plot page
removed unused console.logs
updated format for fee, reward and total number

* Bump colorlog to 4.5.0

* Bump colorlog to 4.6.2

* Farm crash fixes (#512)

* Bump blspy to 0.2.5

Incorporate @wjblanke's potential bls fix for farming crashes

* blspy to 0.2.6

* move to blspy 0.2.7

* added tooltip into the table cell
fixed list of the plots
added farming visualisation and hook for the farming state

* renamed back index to selectKey

* transaction type

* Bump cbor2 from 5.1.2 to 5.2.0

Bumps [cbor2](https://github.com/agronholm/cbor2) from 5.1.2 to 5.2.0.
- [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.2...5.2.0)

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

* Add cbor 5.2.0 to install.sh

* Don't forget azure pipelines

* Bump sortedcontainers from 2.2.2 to 2.3.0

Bumps [sortedcontainers](https://github.com/grantjenks/python-sortedcontainers) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/grantjenks/python-sortedcontainers/releases)
- [Changelog](https://github.com/grantjenks/python-sortedcontainers/blob/master/HISTORY.rst)
- [Commits](https://github.com/grantjenks/python-sortedcontainers/compare/v2.2.2...v2.3.0)

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

* Bump clvm-tools from 0.1.6 to 0.1.7

Bumps [clvm-tools](https://github.com/Chia-Network/clvm_tools) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/Chia-Network/clvm_tools/releases)
- [Commits](https://github.com/Chia-Network/clvm_tools/compare/0.1.6...0.1.7)

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

* Have Cbor2 version only rely on setup.py (#518)

* cbor2 version should only be in setup.py

* Build and install wheels in one step on Azure

* swapped standard puzzle to use aggsig_me

fixed bug in sign_coin_solutions where aggsig_me would not be signed 
correctly

* cc_wallet and trade_manager use aggsig_me

* fixed aggsig_me bug in wallet_tool

* appeased superlinter black requests

* added aggsig_me to cost_calculator, same as aggsig

* black fix cost calculator

* Bump chiapos to 0.12.35, catch up changelog

* Appease the markdown lint

* used new type enum from transaction
simplified modals and added new type of modals

* updated format of the UI files

* added failed and not found plots
fixed plot header
added delete action for plot

* typo

* fixed scroll bar in the wallets list

* removed unused code and fixed windows build

* fixed all known scroll bar issues

* added layout sidebar
simplified layout flexbox

* added radio button to chia/core
added box shadow for layout sidebar
showed plot in parallel (disabled until we add support)

* npm run buil

* removed additional fields from queue item

* first version of refactored trade part

* call get_plots after harvester
updated format
removed unused console.logs

* added plot queue

* upnp

* Bump pos/vdf/bip158/bls for python 3.9 wheels

* downgrade to last good chiavdf - no 3.9 ubuntu yet

* Build python 3.8 and 3.9 on MacOS - temporarily compile chiavdf on Mac

* Don't build vdf_client at first on Mac 3.9

* Modify typing for python 3.9 (#532)

* Give MacOS 3.9 more time to test

* try get_args

* 3.7

* sys

* tuple

* is not none

* pretty printer versus flake

* black

* Revert MacOS testing time to 60m max

Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
Co-authored-by: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com>

* Bump concurrent-log-handler from 0.9.17 to 0.9.19 (#530)

Bumps [concurrent-log-handler](https://github.com/Preston-Landers/concurrent-log-handler) from 0.9.17 to 0.9.19.
- [Release notes](https://github.com/Preston-Landers/concurrent-log-handler/releases)
- [Changelog](https://github.com/Preston-Landers/concurrent-log-handler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Preston-Landers/concurrent-log-handler/compare/0.9.17...0.9.19)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/upload-artifact from v2.2.0 to v2.2.1 (#528)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.0 to v2.2.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.0...726a6dcd0199f578459862705eed35cda05af50b)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump keyring from 21.4.0 to 21.5.0 (#529)

Bumps [keyring](https://github.com/jaraco/keyring) from 21.4.0 to 21.5.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.4.0...v21.5.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Try pyinstaller-4.1 (#533)

* Try aiohttp 3.7.3

* fixed mac build

* updated formating
fixed eslint
updated deps
compiled locales

* fixed locale file format

* removed unused code

* added "add plot directory" when plots are already there

* slovak translation correction

* use electron starter from dev branch

* updated router and fixed electron build

* used TXCH for testnet

* removed eslintcache from the git

* used correct translation (TXCH) for English locale

* added missing plurals library

* used same visualization for total size

* removed unused code

* update package-lock.json

* start harvester and farmer

* Bump blspy to 0.2.9 and brute force Python 3.9 timelord issue (#540)

* Is a bad chiavdf cached?

* Bump blspy

* Check the env

* rm unexpected vdf_client in python 3.9

* Remove debug echo

* Bump pos/vdf/bip158/bls for python 3.9 wheels

* downgrade to last good chiavdf - no 3.9 ubuntu yet

* Bump pos/vdf/bip158/bls for python 3.9 wheels

* downgrade to last good chiavdf - no 3.9 ubuntu yet

Co-authored-by: Yostra <straya@chia.net>
Co-authored-by: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthew Howard <matt@chia.net>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
Co-authored-by: Bill Blanke <wjb2002@flex.com>
Co-authored-by: wjblanke <wjb98672@gmail.com>
2021-01-12 17:00:50 -05:00
Zlatko Fedor
e599b655c5 removed locales _build from the git 2020-10-19 21:02:03 +02:00
Matthew Howard
94a06e2b8c include .hex files 2020-09-14 15:38:55 -07:00
Matthew Howard
0882821c4c first pass at updating cc_wallet
trades do not work
2020-09-14 15:38:55 -07:00
Will Bendick
7f340123d7 removes pycharm files 2020-08-18 10:59:45 -07:00
Gene Hoffman
e55a9fa1e5 Clean up installers (#239)
* Clean up win, mac installers
* Build Catalina DMG on GitHub Actions
* gitignore dmg builds
* Manage mac artifacts
* Correct Mac artifact, temp disable azure pytest
* Re-enable pytest on azure pipeline
2020-06-01 08:56:59 -07:00
Mariano Sorgente
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
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
Matthew Howard
398810f2e7 added .offer files to .gitignore
removed alert json_data
2020-04-22 16:23:19 -07:00
Gene Hoffman
e2a69b9741 Correctly detect brew/boost and add vdf_bench to .gitignore 2020-04-21 22:38:51 -07:00
Gene Hoffman
5483488941
Add websockets back & ignore activate 2020-03-27 18:32:25 -07:00
Richard Kiss
b319691916 Rename .venv to venv, and create "activate" soft link to venv activate. 2020-03-27 15:41:17 -07:00
Richard Kiss
791303b780
Use chiabip158 from pypi. (#126) 2020-03-25 13:52:23 +09:00
Mariano Sorgente
2a388d3545
Fix tests 2020-03-21 01:24:48 +09:00
Yostra
5115577da2 expose api to bip158 binding 2020-02-24 10:24:54 -08:00
Yostra
3be69a6073 ignore node_modules 2020-02-14 12:38:57 -08:00
Mariano Sorgente
082eeac2f9
db gitignore 2020-01-29 10:59:50 +09:00
wjblanke
d01cbcb901
Verifierwjb (#77)
C PoT improvements, partly using modified code from Flint/Antic

On Mon, Jan 13, 2020 at 11:03 PM Bill Hart <goodwillhart[at sign]googlemail.com> wrote:
Dear Bram Cohen,

I cannot relicense all of Flint and Antic as I don't own the copyright for all files.

However, I wrote the files you mention and therefore you can also use them under BSD 2-Clause. In addition, I hereby license you to use these files under the MIT license for your project. Please ensure that my copyright is retained on the files, as per the MIT license.

Best Wishes,

William Hart.

On Tue, 14 Jan 2020 at 01:10, Bram Cohen <bram[at sign]chia.net> wrote:
Hello Dr. Hart. As you likely already know in Chia's VDF implementation competition Antic and Flint were able to produce meaningful
improvements in how fast our VDF runs. We're now working on integrating those changes and making further improvements which we'd like
to upstream but we're having some licensing issues.

On all of Chia's code we use MIT, Apache2 and public domain. If you're willing to relicense using one of those or even relicense just the
following files that would be very helpful

https://github.com/wbhart/antic/blob/trunk/qfb/nudupl.c
https://github.com/wbhart/antic/commits/trunk/qfb/nucomp.c
https://github.com/wbhart/flint2/blob/trunk/fmpz/xgcd_partial.c

Please let me know what you think.

Thank you,

-Bram
2020-01-18 16:10:06 -08:00
Gene Hoffman
0f9ddfb2bb
Ignore blockchain_test 2020-01-14 22:27:34 -08:00
Mariano Sorgente
69c808a33f
Async waiting for processes, fix networking bug, reorganize blockchain class 2020-01-14 17:35:51 +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
a5329005e0
Fix self connection leak (#43)
* Fix self connection leak
* Increase sleep to improve performance
* Add load test for unfinished blocks
* Fix flake8 lint
2019-12-10 08:27:38 +09:00
Mariano Sorgente
0cefcc8b4a Disbale upnp by default 2019-11-25 18:07:42 +09:00
Mariano Sorgente
381258097c More work on docs 2019-11-25 13:45:48 +09:00
Mariano Sorgente
96531cc332 Small tweaks 2019-11-22 17:04:23 +09:00
Mariano Sorgente
fdfcad387d Gitignore 2019-11-22 15:53:45 +09:00
Mariano Sorgente
45be0ab0b8 Attempt to fix timeout issue 2019-11-22 15:53:04 +09:00
Mariano Sorgente
a722920d36 Merge branch 'install_scripts' into persist 2019-11-22 12:30:16 +09:00
Rostislav
0201e13baa Fix .gitignore for chiavdf and chiapos
Do not track files generated in the build process.
2019-11-21 10:01:39 +09:00
Mariano Sorgente
dfd3fd9676 Merge with latest master, bug fixes, cleanup 2019-11-20 16:28:26 +09:00
Mariano Sorgente
a479a506f9 Scripts (#14)
* Start block UI stuff

* Start with block search

* Create connections from the UI

* Add plot directory

* Add scripts for key generation, and plotting

* Remove keys and plot config

* Add scripts for key generation, and plotting

* Readme, comments
2019-11-08 16:51:01 -05:00
Mariano Sorgente
c480a1c914 Clean up scripts for linux 2019-11-03 08:24:49 -08:00