grin/chain/src
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
..
txhashset Introduce CommitOnly variant of Inputs (#3419) 2020-09-07 16:58:41 +01:00
chain.rs Introduce CommitOnly variant of Inputs (#3419) 2020-09-07 16:58:41 +01:00
error.rs Use mmr sizes in header to validate header weight (#3395) 2020-08-19 09:40:56 +01:00
lib.rs NRD rules and "recent" kernel pos index (#3302) 2020-06-10 16:38:29 +01:00
linked_list.rs NRD rules and "recent" kernel pos index (#3302) 2020-06-10 16:38:29 +01:00
pipe.rs Introduce CommitOnly variant of Inputs (#3419) 2020-09-07 16:58:41 +01:00
store.rs Introduce CommitOnly variant of Inputs (#3419) 2020-09-07 16:58:41 +01:00
txhashset.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00
types.rs further tweaks to block_accepted logs for clarity (#3379) 2020-08-20 17:28:35 +01:00