replikativ.p2p.fetch
Fetching middleware for replikativ. This middleware covers the
exchange of the actual content (commits and transactions, not
metadata) of CRDTs.
fetch
(fetch [S peer [in out]])
fetch-and-store-txs-blobs!
(fetch-and-store-txs-blobs! S out binary-fetched-ch store txs pub-id)
fetch-and-store-txs-values!
(fetch-and-store-txs-values! S out fetched-ch store txs pub-id)
fetch-commit-values!
(fetch-commit-values! S out fetched-ch cold-store mem-store [user crdt-id] pub pub-id ncs)
Resolves all commits recursively for all nested CRDTs. Starts with commits in pub.
fetch-values
(fetch-values S fetched-ch)
store-commits!
(store-commits! S store cvs)