-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Payout Operations Analysis and Patch for Setup
Two main additions: * The operations types author_payout, curator_payout and benefactor_payout are now analysed, formatted and inserted to MongoDB. This gives the payout amounts for the analysis by application. "Upsert" has been used which creates a new record even if the initial comment has not been processed. This is to allow blocks to be processed in any order. * A patch was required for the blockDates setup following the accidental move to hardfork20 and reset. This was simply due to the large number of missing blocks making the estimation of the first block of the day inaccurate. The workaround estimation technique has been improved. mongoblock.js * processAuthorReward, processBenefactorReward, processCuratorReward: These functions analyse and format each block operation of the stated type. * mongoAuthorReward, mongoBenefactorReward, mongoCuratorReward: These functions upsert the records to MongoDB. * reportBlocksProcessed: This function reports on the status of blocks processed. blockOps.js updateBlockDates: The blockDates setup patch is here.
- Loading branch information
1 parent
0f2d51e
commit 120fc51
Showing
3 changed files
with
113 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters