- Real block reward schedule:
Prefarm 21,000,000
0-3 years 2 chia per block
3-6 years 1 chia per block
6-9 years 0.5 chia per block
9-12 years 0.25 chia per block
after that 0.125 chia per block
- Fixed proof of space estimation formula (type). network space was overestimated by 2x
- Consolidated all genesis hashes into one GENESIS_CHALLENGE value
- Tables sub_block_record renamed into block_record, in anticipation of renaming of sub blocks to blocks
- Coin amounts stored as bytes since sqlite 3 does not fit 64 bit unsigned integers as ints
- Fix a bug with chia show and chia netspace
- Adds validation of end of sub slots
- RPC renames:
get_sub_block -> get_block
-parameter sub_block -> block
get_sub_block_record_by_height -> get_block_record_by_height
-parameter sub_block_record -> block_record
get_sub_block_record -> get_block_record
-parameter sub_block_record to block_record
get_sub_block_records -> get_block_records
-parameter sub_block_records -> block_records
get_unfinished_sub_block_headers -> get_unfinished_block_headers
Co-authored-by: Yostra <straya@chia.net>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
Co-authored-by: almog <almogdepaz@gmail.com>
Using compressed representation of quadratic forms reduces their
serialized size from 130 to 100 bytes (for forms with 1024-bit
discriminant). This shrinks the size of VDF outputs and VDF proofs, and
it's a breaking change as compressed representation is not compatible
with older uncompressed (a, b) representation.
Compressed forms are also used in calls to chiavdf and in timelord's
communication with VDF client.
Update to version 0.14.0 of chiavdf and version 0.2.0 of test-cache.
Older versions of these do not support compressed forms.
* cherrypicked add announcement opcodes
* remove unused import in test_mempool
* fixed broken test
* fix black superlint errors
* simple convert of coloured coins to announcements
announcements message now type bytes
* removed assert coin consumed
* updated RL higher level puzzle
* fix RL wallet to use announcement instead of lock
* rebase add announcement to blockchain_check_conditions
* lint and re-enable tests
* remove lingering reference to coin_consumed
* fixed bug with block validation
* fix RL wallet
* -update CC to use more simple announcement message
* lint fix for announcement class
* remove breakpoint
improve announcement set checking
delete TODO
* deleted commented out code
use .extend() instead of nested for
* fix mempool tests and aesthetic changes for richard
* fix mempool and add to debug_spend_bundle
* fixed test_blockchain_transactions
* flake
* update test_mempool annouce tests to use height not subheight
Co-authored-by: Yostra <straya@chia.net>
* First pass at removing height
* Fix test
* Remove useless files
* Rename sub_block_height to block_height everywhere
* A few more replaces. Don't migrate old addresses. Don't replace addresses
* lru cache for blocks
* cc fixes rebased
* race
* close check full node task
* lint
* more race
Co-authored-by: Yostra <straya@chia.net>
- removes cbor and instead uses streamable (https://trello.com/c/anzukjLs/901-remove-cbor)
- data types checked for payload ids and function (https://trello.com/c/4kPt98as/921-data-types-not-checked-on-payload-ids-and-function-names)
- Compressed format for messages: 1 byte for the message type / function, 2 optional bytes for the payload id
- Optimization to not fetch transactions for a block if we already have them
- RejectBlock message
- Software version sent in the handshake message (although ignored now)
- Removed mempool hack, big blocks can now be made with this codebase