Skip to content
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

node: don't store pythnet VAAs in the database #1643

Merged
merged 5 commits into from Sep 27, 2022

Conversation

bruce-riley
Copy link
Contributor

@bruce-riley bruce-riley commented Sep 22, 2022

This PR stores PythNet VAAs in memory rather than writing them to the guardiand database. It does this for ChainID == Pythnet rather than using the new IsUnreliable flag because that flag is not present in the SignedVAAWithQuorum gossip message (and changing that message might break various things).

Change-Id: Ief4357ab4c909d25dc9182490c322ef253ac23d3

node/pkg/processor/processor.go Outdated Show resolved Hide resolved
node/pkg/publicrpc/publicrpcserver.go Show resolved Hide resolved
node/pkg/processor/observation.go Outdated Show resolved Hide resolved
node/pkg/processor/cleanup.go Outdated Show resolved Hide resolved
Change-Id: Ief4357ab4c909d25dc9182490c322ef253ac23d3
Change-Id: I46efea96d6c2ba65459254ffeb21f5d65abebb01
Change-Id: Ib7f521ecff62b1bd13efcb627f88413f4141de59
Change-Id: I067f8364042f494ad56ed88919cd917f18423073
Change-Id: I22ccb56ac330bd557b6e8438cfe9c02d7593361d
@bruce-riley bruce-riley merged commit ddd8b78 into dev.v2 Sep 27, 2022
@bruce-riley bruce-riley deleted the node/dont_store_pythnet_vaas branch September 27, 2022 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants