Zebra/zebra-state/src
Jane Lusby 352721bd88
Implement RFC5: State updates `Chain` type (#1069)
* Begin work on RFC5 implementation

* I think this is necessary

* holy shit supertrait implemented via subtrait

* implement most of the chain functions

* change to slightly better name

* implement fork

* fix outpoint handling in Chain struct

* update expect for work

* resolve review comment

* split utxo into two sets

* update the Chain definition

* just a little more

* update comment

* Apply suggestions from code review

Co-authored-by: teor <teor@riseup.net>

* apply changes from code review

* remove allow attribute in zebra-state/lib.rs

* Update zebra-state/src/memory_state.rs

Co-authored-by: teor <teor@riseup.net>

* merge ChainSet type into MemoryState

* rename state impl types

* Add error messages to asserts

* add module doc comment

* update RFC for utxos

* add missing header

Co-authored-by: teor <teor@riseup.net>
2020-09-24 15:46:04 -07:00
..
config.rs state: split into modules and reorganize 2020-09-11 13:37:49 -07:00
constants.rs state: split into modules and reorganize 2020-09-11 13:37:49 -07:00
lib.rs Implement RFC5: State updates `Chain` type (#1069) 2020-09-24 15:46:04 -07:00
memory_state.rs Implement RFC5: State updates `Chain` type (#1069) 2020-09-24 15:46:04 -07:00
request.rs state: fill in RFC5-style Request, Response enums 2020-09-11 13:37:49 -07:00
response.rs state: make Response::Tip return (height, hash) 2020-09-11 13:37:49 -07:00
service.rs Implement RFC5: State updates `Chain` type (#1069) 2020-09-24 15:46:04 -07:00
sled_state.rs Implement RFC5: State updates `Chain` type (#1069) 2020-09-24 15:46:04 -07:00
tests.rs state: partial implementation of new sled layout 2020-09-11 13:37:49 -07:00
util.rs state: partial implementation of new sled layout 2020-09-11 13:37:49 -07:00