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
Mariano Sorgente
8bafbbaac7
Fix a few bugs
2019-10-29 12:33:32 +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
8e99f2cad9
Fix too slow block bug
2019-10-18 14:32:50 +09:00
Mariano Sorgente
b4baff9f4e
Fix tests
2019-10-16 17:38:49 +09:00
Mariano Sorgente
a22e606f75
Merge
2019-10-10 13:04:52 +09:00
Mariano Sorgente
397925d29e
Implement new formula, and added tests
2019-10-09 16:36:58 +09:00
fchirica
52a19e7aaf
Sync with master
2019-10-07 20:02:34 +03:00
Mariano Sorgente
4f89752d62
Implement difficulty adjustment
2019-09-30 22:15:32 +09:00
Mariano Sorgente
b3776814fa
Add tests for blockchain class
2019-09-24 17:46:03 +09:00