Page MenuHomePhabricator

[backport#13932] Implement utxoupdatepsbt RPC and tests
ClosedPublic

Authored by majcosta on May 12 2020, 15:20.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
pr13932
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 10714
Build 19222: Default Diff Build & Tests
Build 19221: arc lint + arc unit

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

deadalnix added inline comments.
test/functional/rpc_psbt.py
27

It looks like you removed it anyways. Does this work?

test/functional/rpc_psbt.py
27

yes, with or without -txindex.

deadalnix requested changes to this revision.May 12 2020, 16:30
deadalnix added inline comments.
src/rpc/rawtransaction.cpp
1746

This belongs inside the loop.

1756

size_t

1756

This loop skip over non null utxos.

test/functional/rpc_psbt.py
27

Well then... Update accordingly.

This revision now requires changes to proceed.May 12 2020, 16:30

addressed comments, left in TODO comment in rpc_psbt.py for now (to be removed in https://github.com/bitcoin/bitcoin/pull/15404)

majcosta retitled this revision from [backport#13939] Implement utxoupdatepsbt RPC and tests to [backport#13932] Implement utxoupdatepsbt RPC and tests.May 12 2020, 20:01
deadalnix requested changes to this revision.May 12 2020, 21:02
deadalnix added inline comments.
test/functional/rpc_psbt.py
27 ↗(On Diff #19955)

It doesn't look like there is any call to getrawtransaction as you pointed out, this doesn't seems to be required here. So quite clearly, something is missing somewhere. Adding random flags is not the solution.

This revision now requires changes to proceed.May 12 2020, 21:02

removed unnecessary -txindex in tests

This revision is now accepted and ready to land.May 13 2020, 00:01