Zebra/zebra-consensus/src
Henry de Valence 342eb166ff state: track UTXO provenance
This commit changes the state system and database format to track the
provenance of UTXOs, in addition to the outputs themselves.
Specifically, it tracks the following additional metadata:

- the height at which the UTXO was created;
- whether or not the UTXO was created from a coinbase transaction or
  not.

This metadata will allow us to:

- check the coinbase maturity consensus rule;
- check the coinbase inputs => no transparent outputs rule;
- implement lookup of transactions by utxo (using the height to find the
  block and then scanning the block) for a future RPC mechanism.

Closes #1342
2020-11-23 22:18:43 -08:00
..
block Remove test attributes and allow(dead_code) for test code that tests currently unimplemented functionality 2020-11-21 05:40:25 -05:00
chain state: don't pre-buffer the service 2020-10-26 12:05:35 -07:00
checkpoint state: introduce PreparedBlock, FinalizedBlock 2020-11-23 14:16:39 +10:00
parameters Refactor block target spacing into NetworkUpgrade methods 2020-11-12 12:30:54 +10:00
primitives deps: move to tokio 0.3, tower 0.4 2020-11-20 10:08:16 -08:00
transaction consensus: remove incorrect check 2020-11-21 14:09:15 -05:00
block.rs state: track UTXO provenance 2020-11-23 22:18:43 -08:00
chain.rs consensus,state: document cancellation contracts for services 2020-11-17 14:56:27 -08:00
checkpoint.rs state: introduce PreparedBlock, FinalizedBlock 2020-11-23 14:16:39 +10:00
config.rs consensus: minimize API, clean docs 2020-10-20 11:16:22 -04:00
error.rs consensus: fix bug in tx input/output presence check 2020-11-21 14:09:15 -05:00
lib.rs Remove allow(dead_code) on transaction module] 2020-10-28 21:44:13 -04:00
parameters.rs move genesis parameters to zebra-chain (#1151) 2020-10-12 14:08:23 -07:00
primitives.rs consensus: add stub groth16::Verifier 2020-10-20 11:16:22 -04:00
script.rs state: track UTXO provenance 2020-11-23 22:18:43 -08:00
transaction.rs state: track UTXO provenance 2020-11-23 22:18:43 -08:00