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.
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Owners Package (Owns No Changed Paths) Restricted Project - Commits
- rSTAGINGe2c428c5b1fb: Backporting univalue. Also fix broken test data from previous commit.
rABCe2c428c5b1fb: Backporting univalue. Also fix broken test data from previous commit.
Tests pass (now).
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- master
- Lint
Lint Passed Severity Location Code Message Auto-Fix src/univalue/include/univalue.h:1 CFMT Code style violation Auto-Fix src/univalue/lib/univalue.cpp:1 CFMT Code style violation Auto-Fix src/univalue/lib/univalue_get.cpp:1 CFMT Code style violation Auto-Fix src/univalue/lib/univalue_read.cpp:1 CFMT Code style violation Auto-Fix src/univalue/lib/univalue_utffilter.h:1 CFMT Code style violation Auto-Fix src/univalue/lib/univalue_write.cpp:1 CFMT Code style violation Auto-Fix src/univalue/test/no_nul.cpp:1 CFMT Code style violation Auto-Fix src/univalue/test/object.cpp:1 CFMT Code style violation Auto-Fix src/univalue/test/test_json.cpp:1 CFMT Code style violation Auto-Fix src/univalue/test/unitester.cpp:1 CFMT Code style violation - Unit
No Test Coverage - Build Status
Buildable 1211 Build 1211: arc lint + arc unit
Event Timeline
src/rpc/server.cpp | ||
---|---|---|
29 | 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. |
src/rpc/server.cpp | ||
---|---|---|
29 | 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. |
src/rpc/server.cpp | ||
---|---|---|
29 | Makes sense. I'll split them apart. |
src/rpc/server.cpp | ||
---|---|---|
29 | Split into a separate diff: https://reviews.bitcoinabc.org/D749 and removed this change from this diff. |