zebra/zebra-chain/src/transaction
Jane Lusby 86ed13060f
Add tests for `Chain` implementation (#1093)
* 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

* checkpoint so I can split off arbitrary changes into a PR

* export proptest impls for use in downstream crates

* add testjob for disabled feature in zebra-chain

* run rustfmt

* try to fix github actions syntax

* differentiate name

* prove that github action tests zebra-chain build without features

* revert change from last commit now that test is running

* remove accidentally introduced newline

* checkpoint

* add module doc comment

* update RFC for utxos

* add missing header

* working proptest for Chain

* apply change from chain impl PR

* setup config for proptests

* Update zebra-chain/src/block/arbitrary.rs

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

* run rustfmt

Co-authored-by: teor <teor@riseup.net>
2020-10-02 15:51:51 -07:00
..
tests export proptest impls for use in downstream crates (#1092) 2020-09-23 18:52:52 -07:00
arbitrary.rs Add tests for `Chain` implementation (#1093) 2020-10-02 15:51:51 -07:00
hash.rs export proptest impls for use in downstream crates (#1092) 2020-09-23 18:52:52 -07:00
joinsplit.rs chain: tweak docs for JoinSplitData, ShieldedData 2020-08-17 11:46:34 -07:00
lock_time.rs Rename old references to BlockHeaderHash and BlockHeight (#1002) 2020-09-04 15:40:48 -07:00
memo.rs chain: move Memo into transaction 2020-08-17 11:46:34 -07:00
serialize.rs Implement sighash (#870) 2020-09-05 19:31:11 -04:00
shielded_data.rs chain: tweak docs for JoinSplitData, ShieldedData 2020-08-17 11:46:34 -07:00
sighash.rs Implement sighash (#870) 2020-09-05 19:31:11 -04:00
tests.rs export proptest impls for use in downstream crates (#1092) 2020-09-23 18:52:52 -07:00