grin/chain/tests
Antioch Peverell 7dc94576bd
Introduce CommitOnly variant of Inputs (#3419)
* Introduce CommitOnly variant of Inputs.
Introduce CommitWrapper so we can sort commit only inputs correctly.

* rememebr to resort if converting

* write inputs based on variant and protocol version

* read and write protocol version specific inputs

* store full blocks in local db in v3
convert to v2 when relaying to v2 peers

* add debug version_str for inputs

* no assumptions about spent index sort order

* add additional version debug logs

* fix ser/deser tests for proto v3

* cleanup coinbase maturity

* rework pool to better handle v2 conversion robustly

* cleanup txpool add_to_pool

* fix nrd kernel test

* move init conversion earlier

* cleanup

* cleanup based on PR feedback
2020-09-07 16:58:41 +01:00
..
bitmap_accumulator.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00
chain_test_helper.rs pass slices around and not refs to vecs (#3404) 2020-07-27 11:07:18 +01:00
data_file_integrity.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00
mine_nrd_kernel.rs pass slices around and not refs to vecs (#3404) 2020-07-27 11:07:18 +01:00
mine_simple_chain.rs Refactor Output Identifiers (#3371) 2020-09-03 10:59:54 +01:00
nrd_validation_rules.rs pass slices around and not refs to vecs (#3404) 2020-07-27 11:07:18 +01:00
process_block_cut_through.rs Use mmr sizes in header to validate header weight (#3395) 2020-08-19 09:40:56 +01:00
store_indices.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00
store_kernel_pos_index.rs NRD rules and "recent" kernel pos index (#3302) 2020-06-10 16:38:29 +01:00
test_block_known.rs refactor apply_inputs and support converting block for v2 compatibility (#3409) 2020-07-31 14:36:20 +01:00
test_coinbase_maturity.rs Introduce CommitOnly variant of Inputs (#3419) 2020-09-07 16:58:41 +01:00
test_get_kernel_height.rs more robust handling of min_height and max_height in get_kernel_height() (#3387) 2020-07-13 11:31:52 +01:00
test_header_weight_validation.rs Use mmr sizes in header to validate header weight (#3395) 2020-08-19 09:40:56 +01:00
test_txhashset.rs thread local chain type vs global chain type (#3327) 2020-05-22 12:51:58 +01:00
test_txhashset_archive.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00