Skip to content

Commit

Permalink
Update book/src/dev/rfcs/0003-state-updates.md
Browse files Browse the repository at this point in the history
Co-authored-by: teor <teor@riseup.net>
  • Loading branch information
yaahc and teor2345 authored Aug 31, 2020
1 parent b6cc1af commit 7828879
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions book/src/dev/rfcs/0003-state-updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ We use the following Sled trees:

| Tree | Keys | Values |
|----------------------|-----------------------|-------------------------------------|
| `blocks_by_hash` | `BlockHeaderHash` | `Block` |
| `hash_by_height` | `BE32(height)` | `BlockHeaderHash` |
| `tx_by_hash` | `TransactionHash` | `BlockHeaderHash || BE32(tx_index)` |
| `blocks_by_hash` | `block::Hash` | `Block` |
| `hash_by_height` | `BE32(height)` | `block::Hash` |
| `tx_by_hash` | `transaction::Hash` | `block::Hash || BE32(tx_index)` |
| `utxo_by_outpoint` | `OutPoint` | `TransparentOutput` |
| `sprout_nullifiers` | `sprout::Nullifier` | `()` |
| `sapling_nullifiers` | `sapling::Nullifier` | `()` |
Expand Down

0 comments on commit 7828879

Please sign in to comment.