Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Erasure-code namespace ID #146

Merged
merged 7 commits into from
Mar 19, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion specs/data_structures.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ For leaf node `node` of [share](#share) data `d`:
```C++
node.n_min = d.namespaceID
node.n_max = d.namespaceID
node.v = h(0x00, d.rawData)
node.v = h(0x00, d.namespaceID, d.rawData)
adlerjohn marked this conversation as resolved.
Show resolved Hide resolved
adlerjohn marked this conversation as resolved.
Show resolved Hide resolved
```

The `namespaceID` message field here is the namespace ID of the leaf, which is a [`NAMESPACE_ID_BYTES`](consensus.md#system-parameters)-long byte array.
Expand Down