Zebra/zebra-state
Jane Lusby 1b7c57371d
Fix format used to store transactions in sled (#1238)
## Motivation

While working on the block locator fix PR together with Henry we noticed that we'd accidentally serialized entire transactions in `tx_by_hash`, instead of serializing just the height of the block and the index of the transaction within the block, as described by the original RFC.

## Solution

We've fixed it by adding a `TransactionLocation` new type, which handles the sled format traits. We've removed the sled format impls for `Transaction` to prevent inserting the wrong data in the future. Finally we've bumped the database format to reflect the change in the format on the disk and its incompatibility with previous versions.
2020-10-30 15:24:39 -07:00
..
src Fix format used to store transactions in sled (#1238) 2020-10-30 15:24:39 -07:00
tests state: fill in RFC5-style Request, Response enums 2020-09-11 13:37:49 -07:00
Cargo.toml build(deps): bump futures from 0.3.6 to 0.3.7 2020-10-27 02:28:48 -04:00