design: Make parsing explicit in the design doc

This commit is contained in:
teor 2020-06-08 14:19:32 +10:00 committed by Henry de Valence
parent df656a8bf0
commit 088d0dc94b
1 changed files with 4 additions and 2 deletions

View File

@ -56,6 +56,7 @@ None: these are the core data structure definitions.
- `Transaction`,
- `Address`,
- `KeyPair`...
- parsing bytes into these data structures
- definitions of core traits, e.g.,
- `ZcashSerialize` and `ZcashDeserialize`, which perform
@ -113,8 +114,9 @@ routing outbound requests to appropriate peers.
### Responsible for
- block storage API
- operates on raw bytes for blocks
- block and transaction storage APIs
- operates on parsed block and transaction structs
- these structs can be converted from and into raw bytes
- primarily aimed at network replication, not at processing
- can be used to rebuild the database below
- maintaining a database of tx, address, etc data