Skip to content

Backport Bitcoin#9424, Bitcoin#10123 and Bitcoin#10153#2918

Merged
UdjinM6 merged 22 commits into
dashpay:developfrom
PastaPastaPasta:backport-9424-10123
May 22, 2019
Merged

Backport Bitcoin#9424, Bitcoin#10123 and Bitcoin#10153#2918
UdjinM6 merged 22 commits into
dashpay:developfrom
PastaPastaPasta:backport-9424-10123

Conversation

@PastaPastaPasta

@PastaPastaPasta PastaPastaPasta commented May 12, 2019

Copy link
Copy Markdown
Member

decided to break this one off since 9424 is quite big and could conflict with a lot of stuff. See individual commits. Due to the new setup I can't think of an easy way to do a -debug dash so yeah...

@UdjinM6

UdjinM6 commented May 15, 2019

Copy link
Copy Markdown
util.h:130:31: error: enumerator value -2147483648 is outside the range of underlying type 'uint32_t {aka unsigned int}'
         SPORK       = (1 << 31),

https://travis-ci.org/dashpay/dash/jobs/531324485#L1871

@UdjinM6 UdjinM6 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Comment thread src/util.cpp Outdated
Comment thread src/util.cpp Outdated
Comment thread src/util.cpp Outdated
Comment thread src/init.cpp Outdated
Comment thread src/init.cpp Outdated
@UdjinM6

UdjinM6 commented May 17, 2019

Copy link
Copy Markdown

Pls see commits in https://github.com/UdjinM6/dash/commits/pr2918 (note: it's based on 31570c2, so you have to drop ab74a79 if you want to cherry-pick them without conflicts).

Travis: https://travis-ci.org/UdjinM6/dash/builds/533565523

@PastaPastaPasta
PastaPastaPasta force-pushed the backport-9424-10123 branch 2 times, most recently from caf42a3 to 460fdc3 Compare May 17, 2019 16:21
@PastaPastaPasta

Copy link
Copy Markdown
Member Author

Applied commits

@UdjinM6 UdjinM6 added this to the 14.1 milestone May 17, 2019
@UdjinM6

UdjinM6 commented May 17, 2019

Copy link
Copy Markdown

missed UdjinM6@966f9db

UdjinM6
UdjinM6 previously approved these changes May 19, 2019

@UdjinM6 UdjinM6 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

utACK

PastaPastaPasta and others added 17 commits May 21, 2019 08:53
Merge bitcoin#9424: Change LogAcceptCategory to use uint32_t rather than sets of strings.

6b3bb3d Change LogAcceptCategory to use uint32_t rather than sets of strings. (Gregory Maxwell)

Tree-SHA512: ebb5bcf9a7d00a32dd1390b727ff4d29330a038423611da01268d8e1d2c0229e52a1098e751d4e6db73ef4ae862e1e96d38249883fcaf12b68f55ebb01035b34
Signed-off-by: Pasta <Pasta@dash.org>

31 -> 32

Signed-off-by: Pasta <Pasta@dash.org>
…omponent

3bde556 Add -debugexclude option to switch off logging for specified components (John Newbery)

Tree-SHA512: 30202e3f2085fc2fc5dd4bedb92988f4cb162c612a42cf8f6395a7da326f34975ddc347f82bc4ddca6c84c438dc0cc6e87869f90c7ff88105dbeaa52a947fa43
Signed-off-by: Pasta <Pasta@dash.org>
Signed-off-by: Pasta <Pasta@dash.org>
Signed-off-by: Pasta <Pasta@dash.org>
Signed-off-by: Pasta <Pasta@dash.org>
Specifically:
- use PRIVATESEND in `CPrivateSendClientManager::GetRandomNotUsedMasternode()`
- use ZMQ in `CZMQPublishRawGovernanceVoteNotifier::NotifyGovernanceVote()` and `CZMQPublishRawGovernanceObjectNotifier::NotifyGovernanceObject()`
… potential future conflicts with bitcoin ones
faab624 logging: Fix off-by-one for shrinkdebugfile (MarcoFalke)

Tree-SHA512: d6153e06067906172ff0611af9e585a3ecf0a7d56925b6ad7c12e75aa802441047059b9b6f6c78e79916c3f2abc8f1998bfd2d5b84201ec6421f727c08da3c21
@PastaPastaPasta

Copy link
Copy Markdown
Member Author

rebased on develop

Comment thread src/init.cpp Outdated
@UdjinM6 UdjinM6 changed the title Backport Bitcoin#9424 and Bitcoin#10123 Backport Bitcoin#9424, Bitcoin#10123 and Bitcoin#10153 May 22, 2019
Signed-off-by: Pasta <Pasta@dash.org>
UdjinM6
UdjinM6 previously approved these changes May 22, 2019

@UdjinM6 UdjinM6 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

utACK

@PastaPastaPasta

Copy link
Copy Markdown
Member Author

Travis building :) possibly @codablock review

@UdjinM6
UdjinM6 requested a review from codablock May 22, 2019 16:52
@UdjinM6

UdjinM6 commented May 22, 2019

Copy link
Copy Markdown

Yep, Travis looks ok-ish - 64 bit linux build failed by timeout (as usual :/) but 32 bit succeeded so I think we should be good.

@codablock codablock left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

See these commits/fixes:

Also, what about bitcoin#10150 and the logging RPC? Should we backport it as well or only stick with our custom debug RPC?

codablock added 4 commits May 22, 2019 12:40
When adding new entries here, we'll otherwise get confused with ordering
and might end up forgetting that adding something Dash specific must
continue with the bit after 43.

@codablock codablock left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

utACK

Ignoring that we haven't clarified my question about bitcoin#10150 yet as we can do this in a later PR.

@codablock

Copy link
Copy Markdown

Lets wait for #2932 to be merged and then merge this one. I'd like to make sure that Travis actually becomes constantly green again (last time we ignored this, a whole bunch of flaky test failures creeped in)

@UdjinM6

UdjinM6 commented May 22, 2019

Copy link
Copy Markdown

develop is green https://travis-ci.org/dashpay/dash/builds/535988472.

@UdjinM6
UdjinM6 merged commit 29194b1 into dashpay:develop May 22, 2019
@PastaPastaPasta
PastaPastaPasta deleted the backport-9424-10123 branch May 22, 2019 22:13
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.

4 participants