ChainMovers / dtp

DTP - Decentralized Transport Protocol
https://dtp.dev/
Apache License 2.0
4 stars 0 forks source link

Verify weak reference for object tracking #10

Closed mario4tier closed 7 months ago

mario4tier commented 1 year ago

Goal is to keep track of shared objects in a way that parallelism can still happen.

The Node object must keep track of all its active TransportControl (TC).

Some transaction may require both a Node object and a TC, and that must be done in parallel to another tracked TC involve in another transaction with other objects. So TC can't be child object to Node, yet, Node needs to keep track of them.

(TODO: Update description as related Sui Move notion are learn).

mario4tier commented 7 months ago

This is not a problem.

Just use ID as a weak reference to any object.