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
Yostra
6d0ba89dd4
use run_program
2020-02-04 11:39:49 -08:00
Yostra
b7bff1585d
enable passign puzzlehash for rewards
2020-02-04 11:39:49 -08:00
Yostra
47665886e4
correct coinbase reward / fee reward
2020-02-04 11:39:48 -08:00
Yostra
b43be9bf4f
some moretest unspent db
2020-02-04 11:39:20 -08:00
Yostra
a16a755554
fix stuff
2020-02-04 11:39:20 -08:00
Mariano Sorgente
89c84674a0
Fix tests
2020-02-03 15:44:58 +09:00
Mariano Sorgente
8c20241273
Change block time to 5 min, 128 block epoch, default upnp
2019-11-28 00:35:48 +09:00
Alex Wice
4f9ba50b15
pyblack autoformatting
2019-11-18 13:50:31 +09:00
Alex Wice
8be7181c9d
sort and remove unused imports
2019-11-18 13:49:39 +09:00
Alex Wice
1aab0de425
persistence, pass all pytests
2019-11-18 13:31:48 +09:00
Mariano Sorgente
fc99e4c39f
New protocol changes from bram
2019-11-14 17:26:18 -05:00
Mariano Sorgente
db3eac9fb9
Allow specifying an alternate plot directoey
2019-11-08 16:53:29 -05: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
ff2f4a30d5
Merge branch 'challenge_hash' into networking
2019-11-03 16:42:05 -08:00
Mariano Sorgente
38d8038b01
Added challenge hash
2019-11-01 17:57:30 -07:00
Mariano Sorgente
e65d9bad71
__bytes__, cbor, etc
2019-11-01 14:53:48 -07:00