-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
lotus-lite: replace wallet / msig calls with thin client to gateway #4095
Conversation
998b83a
to
ab14f79
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a good start
ac077bf
to
0a5e1c2
Compare
086e06c
to
ffaaf9c
Compare
6b2bdd6
to
500d665
Compare
…pool, state methods
199054b
to
7f7c9e9
Compare
@@ -361,6 +362,23 @@ type WorkerStruct struct { | |||
} | |||
} | |||
|
|||
type GatewayStruct struct { | |||
Internal struct { | |||
// TODO: does the gateway need perms? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably not
// Full node or lite node | ||
ApplyIf(isFullOrLiteNode, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be able to move a fair bit of things from here to only full node after implementing more things on top of lotus-gateway
(Tested manually - the stuff that's supposed to work works really well!) |
Part of #3532
Replaces the Wallet's StateManager with a thin client to a gateway