[Wallet] FundRawTransaction can accept pre-set inputs whose parent is not yet broadcasted #10216

pull NicolasDorier wants to merge 7 commits into bitcoin:master from NicolasDorier:fundrawtransaction2 changing 6 files +236 −33
  1. NicolasDorier commented at 4:40 AM on April 15, 2017: contributor

    This PR is based on #10202, it allows the user to pre fund a transaction with inputs which have not yet been broadcasted. Please, review and ACK the first one independently from this PR.

    This is useful for second layer payment protocol which regularly build transaction on top of unbroadcasted transaction.

  2. [Wallet] Pass CCoinControl as parameter of CWallet::FundTransaction 2ad20a96df
  3. [Wallet] Fetch CInputCoins from CWallet before calling FundTransaction 2f2e25ddc0
  4. [Wallet] Fetch CInputCoins from CCoinView before calling FundTransaction 0855c46e58
  5. [Wallet] FundRawTransaction returns unknown-input error on invalid input 8fd0b6a0c9
  6. [Wallet] Test FundRawTransaction with inputs from the CoinView 8950e8afd6
  7. [Wallet] FundRawTransaction can accept pre-set inputs whose parent is not yet broadcasted caea518e44
  8. [Wallet] Test FundRawTransaction with input from a non existing transaction 8b1c4a3ae1
  9. fanquake added the label RPC/REST/ZMQ on Apr 15, 2017
  10. fanquake added the label Wallet on Apr 15, 2017
  11. jonasschnelli commented at 7:42 PM on August 15, 2017: contributor

    Needs rebase.

  12. NicolasDorier commented at 5:13 PM on March 6, 2018: contributor

    I workedaround this need for this.

  13. NicolasDorier closed this on Mar 6, 2018

  14. JeremyRand commented at 4:24 AM on March 17, 2018: contributor

    I workedaround this need for this. @NicolasDorier may I ask what your workaround was? I was very much hoping to see this PR merged, I'd love to see a workaround.

  15. NicolasDorier commented at 7:43 AM on March 18, 2018: contributor

    @JeremyRand I just gave up using the RPC for my projects, getting things merged here is a bit too much effort, it was easier for me to create NBXplorer which is a lightweight block explorer for bitcoin also working on pruned mode.

    Feel free to rebase and take this PR if you feel the strength to get it merged, I would review.

  16. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me