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

Rollforward: Keep track of previously processed posts #115

Merged
merged 4 commits into from
Nov 11, 2021

Conversation

eonwarped
Copy link
Contributor

@eonwarped eonwarped commented Oct 29, 2021

Rollforward of #111 with fix.

Fixes interval adding all posts within range, and allows comments to paid out posts to be properly indexed, and does not allow comments to re-activate after payout.

Adds new table called 'postMetadata' that maps authorperm to rewardPoolIds. Can be extended to store more in the future if needed. Lookups are by primary key _id, should be efficient, and does not affect the index for posts for a given reward pool.

This also adds a node change to make it so that MongoErrors properly error out completely rather than allow the node to infinite loop.

@eonwarped eonwarped changed the base branch from master to hive-engine November 1, 2021 04:10
Copy link
Collaborator

@bt-cryptomancer bt-cryptomancer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good.

@bt-cryptomancer bt-cryptomancer merged commit 84190b3 into hive-engine Nov 11, 2021
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

2 participants