Zebra/book/src
Alfredo Garcia d1ab8a8946
Value pools design (#2430)
* add a draft for value pools design

* add some `ValueBalance` operators

* add `value_balance` methods to modules

* fix some minors

* finalize the last part of the implementation design

* replace wrong AllowNegative with correct NegativeAllowed

* add design PR to header

* update scope

* remove details from transaction `value_balance()`

* update definitions

* change method name

* return Result in operators

* fix the TODOs

* implement `UpdateWith<PreparedBlock>` for `ValueBalance`

* add details to `ValueBalance` serialization

* add a panic to block value balance

* fix `remaining_transaction_value()`

* add the block value balance into `FinalizedState`

* populate the `Chain` with the finalized tip value balance

* remove redundant text from definition

* add docs to `Chain` field

* trigger the `remaining_transaction_value()` check

* fix mistake

* add some tests, remove some not needed sections

* add a summary of the implementation

* do some minor fixes to consensus rules text

* clarify some names

* fix `UpdateWith`

* move the remaining transaction value consensus rule

* fix serialization bug

* fix typo

* Add a missing test

* typo

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>

Co-authored-by: teor <teor@riseup.net>
Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2021-07-09 09:53:14 +10:00
..
dev Value pools design (#2430) 2021-07-09 09:53:14 +10:00
user Add journald support through tracing-journald (#2034) 2021-04-22 09:31:06 +10:00
CONTRIBUTING.md Reorganize the book. (#843) 2020-08-06 15:39:54 -07:00
README.md Reorganize the book. (#843) 2020-08-06 15:39:54 -07:00
SUMMARY.md Update Zebra Book TOC (#2124) 2021-05-07 10:50:51 -03:00
api.md Reorganize the book. (#843) 2020-08-06 15:39:54 -07:00
dev.md Add issue and PR templates, document RFC process 2020-08-31 00:58:50 -04:00
user.md Add issue and PR templates, document RFC process 2020-08-31 00:58:50 -04:00

README.md

{{#include ../../README.md}}