You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IPLD schema says that entity id is bytes, but then int is used to in the examples. This is really confusing and I'm not sure which one out of two is correct
Could you please provide some rational for the 128bit limit rational ? I'm under impression that perhaps use ofy u128 was intention which might explain my first question
Links to other facts MUST be placed in an array in the `causedBy` field.
```ipldsch
type CausedBy = [&Fact]
```
I think something is missing in this sentence, is trivial to handle ?
the same fact entered into the store twice is trivial for operations that only depend on the graph structure of the store
Perhaps it's better idea to recommend using multihashes instead ? IPFS stack through experience settled on using multihashes (stripping codec and cid tags) for block stores as that information usually does not affect most operations. In case of DB it makes little sense IMO to have even hashing algorithm retained, individual DB could probably choose whatever algorithm it cares and use untagged digests for keys. When communicating with others DB could choose to add prefixes etc...
Certain aggregate functions (e.g. counts, sums, averages) and stateful queries (e.g. graph colorings) depend on a node being present no more than once per graph. Deduplication is thus imperative for many use cases. It is RECOMMENDED that all facts added to a store have a canonical CID. This MAY be of any CID configuration. To reduce the amount of recomputation, using the following parameters are RECOMMENDED:
| Parameter | Recommended Setting |
|--------------|---------------------|
| CID Version |[CIDv1]|
|[Multicodec]|[DAG-CBOR]|
|[Multihash]|[SHA2-256]|
Note that the [multibase] of a CID is defined by the codec and CID version.
The text was updated successfully, but these errors were encountered:
I also have been talking to @expede on discord about what were limits for causedBy and how to handle cases where you may need to have more than that number. I think spec should probably cover that
pomo-ipld/README.md
Lines 51 to 64 in 6548480
pomo-ipld/README.md
Line 68 in 6548480
CausedBy
canonicalization be prescribed, or better yet be defined as aMap<CIDBytes, Unit>
to ensure that same fact will hash the same ?pomo-ipld/README.md
Lines 105 to 109 in 6548480
digests
for keys. When communicating with others DB could choose to add prefixes etc...pomo-ipld/README.md
Lines 145 to 153 in 6548480
The text was updated successfully, but these errors were encountered: