Open placer14 opened 4 years ago
Had a meeting with the folks from Textileio and got some additional insight. Updated the description with this gained insight. Will begin exploring how to close the dependency gap as that appears to be unavoidable if we want to run these two systems side-by-side.
To this end, I'll see if I can somehow get the existing Threads impl to use our custom IPFS node instance... will report back as progress is made.
Purpose
I've been poking at Textile's ThreadsV2 repo and interested in leveraging some of the patterns it provides. I see some benefit to adopting these patterns within the daemon. A non-exhaustive list of benefits/goals:
Concerns
This approach (if fruitful) would supercede/conflict the following efforts which are already in progress:
ethereum-master
. Threads provides it's own datastore of state updates and would even provide the pattern needed (a reducer) for these updates to be applied on top of any version of the existing state to bring it up to the latest state.ContractStore
.Approach
In order to explore Threads in a parallel fashion as mentioned, here is the idea for how we might approach this:
ContractStore
.ContractStore
state is eventually-consistent with the existing impl in the online case. (How?)