-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncouple the Domain Model from Neo Core #1865
Comments
How about combining this issue with #1866 , to create somthing as follows? Here Neo.Model only includes data structure (similiar to .proto files) of payloads as well as basic types like UInt160, etc, and corresponding logic stored in Neo.Nucleus |
Neo.Models proposal from #1866 is a namespace change. This issue is about moving a small subset of the type definitions in neo.dll into the neo.nucleus.dll (final name of this assembly to be determined) |
It's good for me, as neo.dll is too large to be a sdk. If we need it, we need to do it ASAP. |
Does this have to be done before preview 4 or is there still a window after preview 4 ships where we could do this work? |
FYI, I'm not as worried about getting it done ASAP. This type of relayering shouldn't affect behavior. Assemblies that take a dependency on neo.dll would still work once neo-nucleus.dll is introduced. downstream projects like RpcClient and Neon could move to the nucleus dependency whenever it was available, even if it came after 3.0 (say in 3.1 or something). I'm more worried about getting #1866 done ASAP because once we ship 3.0, our ability to break 3rd part code drops dramatically. |
It seems this one is related to this request: neo-project/neo-modules#749 Isn't it? 😄 There's demand. |
cc @erikzhang @Liaojinghui |
Well, i am always thumbs up on this and would be happy to see any progress and glad to contribute. |
Objective
Reduce the dependency tree for libraries and tools that need access to the Neo
core domain model but don't need all the dependencies to run a full node.
Problem
Tools like NEON and libraries like RpcClient depend on neo.dll. However, the neo.dll
package has a large dependency tree of libraries needed to run a full node such as
Akka and AspNetCore. These dependencies needlessly bloat the size of NEON and RpcClient.
Proposals
would live in main Neo repository.
Transaction and Wallet) into Neo.Nucleus
would likely include:
Neo Version
The text was updated successfully, but these errors were encountered: