Page MenuHomePhabricator

Backporting univalue. Also fix broken test data from previous commit.
ClosedPublic

Authored by jasonbcox on Dec 2 2017, 02:04.

Details

Summary

Backport latest univalue version to fix minor bugs and cleanup namespaces. This change also fixes the test data that broke from the previously reverted change.

Test Plan

Tests pass (now).

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a reviewer: Restricted Owners Package.Dec 2 2017, 02:04
Herald added a reviewer: Restricted Project. · View Herald Transcript
deadalnix requested changes to this revision.Dec 3 2017, 15:38
deadalnix added inline comments.
.arclint
7 ↗(On Diff #1888)

Revert.

src/rpc/server.cpp
29 ↗(On Diff #1888)

This has nothing to do with updating univalue.

This revision now requires changes to proceed.Dec 3 2017, 15:38

Reverted change to .arclint

jasonbcox added inline comments.
src/rpc/server.cpp
29 ↗(On Diff #1888)

I removed it as part of the initial task, which was to remove namespace usage. The univalue change was also intended to do the same, as there were a few imported namespaces in the univalue code.

deadalnix requested changes to this revision.Dec 3 2017, 19:32
deadalnix added inline comments.
src/rpc/server.cpp
29 ↗(On Diff #1888)

Please keep diff into logically separated units. Upgrading univalue is one. Remove this is another.

If it turns out there is a problem with removing this import, do you think we should also revert everything related to univalue ? Or the ther way around, if upgrading univalue has some side effect, should we reintroduce this as well ? Nope, these are two different things. They belong in two separate diffs.

This revision now requires changes to proceed.Dec 3 2017, 19:32
src/rpc/server.cpp
29 ↗(On Diff #1888)

Makes sense. I'll split them apart.

jasonbcox marked 4 inline comments as done.

Split this review into two diffs.

src/rpc/server.cpp
29 ↗(On Diff #1888)

Split into a separate diff: https://reviews.bitcoinabc.org/D749 and removed this change from this diff.

jasonbcox retitled this revision from Get rid of namespace imports & backporting univalue. Also fix broken test data from previous commit. to Backporting univalue. Also fix broken test data from previous commit..
jasonbcox edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Dec 4 2017, 11:07
This revision was automatically updated to reflect the committed changes.