Page MenuHomePhabricator

Finish conversion of rpc to use pushKV
ClosedPublic

Authored by Fabien on Nov 13 2018, 19:19.

Details

Summary

As per title. Fixes missed changes from D1990.

Test Plan
make VERBOSE=1 check && ./test/functional/test_runner.py

Diff Detail

Repository
rABC Bitcoin ABC
Branch
fix-pushkv
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3896
Build 5864: Bitcoin ABC Buildbot (legacy)
Build 5863: arc lint + arc unit

Event Timeline

src/wallet/db.cpp:355 make_pair => std::make_pair

src/qt/walletmodel.cpp
324

std::make_pair

src/rest.cpp
632

missed

src/rpc/blockchain.cpp
91

missed

111

dito

136

dito

1123

dito

src/rpc/mining.cpp
661

dito

663

dito

src/rpc/misc.cpp
116

dito

119

dito

132

dito

248

dito

272

dito

src/rpc/net.cpp
473

dito

496

dito

579

dito

586

dito

590

dito

592

dito

src/rpc/rawtransaction.cpp
70

dito

80

dito

87

dito

719

dito

src/wallet/rpcwallet.cpp
2997

dito

2999

dito

3289

dito

3296

dito

schancel marked an inline comment as done.

Address feedback on missed push_back(Pair('s

Fabien requested changes to this revision.Nov 13 2018, 21:13
Fabien added inline comments.
src/rpc/mining.cpp
255 ↗(On Diff #5815)

Missed

src/rpc/rawtransaction.cpp
117 ↗(On Diff #5815)

missed

src/wallet/rpcwallet.cpp
1515 ↗(On Diff #5815)

missed

1544 ↗(On Diff #5815)

missed

3006 ↗(On Diff #5815)

missed

3289 ↗(On Diff #5815)

missed

This revision now requires changes to proceed.Nov 13 2018, 21:13
schancel marked an inline comment as done.

Fix remaining push_backs

src/rpc/mining.cpp
636 ↗(On Diff #5817)

this ; get transformed into :

Fabien requested changes to this revision.Nov 16 2018, 23:21
This revision now requires changes to proceed.Nov 16 2018, 23:21
This revision is now accepted and ready to land.Nov 21 2018, 20:12
Fabien edited reviewers, added: schancel; removed: Fabien.
This revision was automatically updated to reflect the committed changes.