grin/core/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
..
core Introduce CommitOnly variant of Inputs (#3419) 2020-09-07 16:58:41 +01:00
libtx Refactor Output Identifiers (#3371) 2020-09-03 10:59:54 +01:00
pow add test cases for C32 and C33 solutions (#3422) 2020-08-10 11:05:13 -04:00
consensus.rs Use mmr sizes in header to validate header weight (#3395) 2020-08-19 09:40:56 +01:00
core.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00
genesis.rs Refactor Output Identifiers (#3371) 2020-09-03 10:59:54 +01:00
global.rs Introduce CommitOnly variant of Inputs (#3419) 2020-09-07 16:58:41 +01:00
lib.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00
macros.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00
pow.rs header version 4 accompanied by new AR PoW (#3334) 2020-06-04 09:05:56 -04:00
ser.rs Introduce CommitOnly variant of Inputs (#3419) 2020-09-07 16:58:41 +01:00