grin/pool/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
..
lib.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00
pool.rs Introduce CommitOnly variant of Inputs (#3419) 2020-09-07 16:58:41 +01:00
transaction_pool.rs Introduce CommitOnly variant of Inputs (#3419) 2020-09-07 16:58:41 +01:00
types.rs Introduce CommitOnly variant of Inputs (#3419) 2020-09-07 16:58:41 +01:00