Page MenuHomePhabricator

[mining] Add fields for tracking package data.
Needs ReviewPublic

Authored by schancel on Apr 23 2019, 01:06.

Details

Reviewers
deadalnix
jasonbcox
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Summary

Add additional fields to allow tracking package information

Depends on D2862

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chains-for-real2 (branched from master)
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 5789
Build 9640: Bitcoin ABC Teamcity Staging
Build 9639: arc lint + arc unit

Event Timeline

schancel created this revision.Apr 23 2019, 01:06
Owners added a reviewer: Restricted Owners Package.Apr 23 2019, 01:06
Herald added a reviewer: Restricted Project. · View Herald TranscriptApr 23 2019, 01:06
schancel retitled this revision from Add fields for tracking package data. to [mining] Add fields for tracking package data..Apr 23 2019, 01:12
schancel updated this revision to Diff 8226.Apr 23 2019, 01:15

Change name of packageCount and add some explanatory comments

jasonbcox requested changes to this revision.Wed, Apr 24, 23:05
jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
src/miner.h
39 ↗(On Diff #8226)

I have no sense of scale for this value. Is order == # of dependencies? If so, why not just call it pacakageDependencies?

41 ↗(On Diff #8226)

The note is the only reference to double counting. There needs to be an explanation in this comment for this behavior otherwise the (>= real size) comments mean nothing without that context.

This revision now requires changes to proceed.Wed, Apr 24, 23:05
jasonbcox added inline comments.Wed, Apr 24, 23:07
src/miner.h
39 ↗(On Diff #8226)

Also: There should be a comment in this diff or the summary with a link to the other diff where this is used so reviewers can appropriate evaluate it. Otherwise we're just looking at variable names with no context.

schancel added inline comments.Thu, Apr 25, 05:54
src/miner.h
39 ↗(On Diff #8226)

There is a stack of all the diffs provided.

schancel updated this revision to Diff 8545.Thu, May 9, 02:20

Rebase and fix a couple errors in the comments.

schancel updated this revision to Diff 8547.Thu, May 9, 02:22

Update comment on the order field

schancel added inline comments.Thu, May 9, 06:08
src/miner.h
51 ↗(On Diff #8547)

packageOrder(1) should be packageOrder(0)

jasonbcox requested changes to this revision.Thu, May 9, 20:55
jasonbcox added inline comments.
src/miner.h
51 ↗(On Diff #8547)

Fix this?

This revision now requires changes to proceed.Thu, May 9, 20:55
schancel updated this revision to Diff 8576.Fri, May 10, 01:48

packageOrder(1) -> packageOrder(0)