Added RPC call estimatetxfee #285

pull sassame wants to merge 1 commits into bitcoin:master from sassame:estimatetxfee changing 1 files +28 −0
  1. sassame commented at 10:33 PM on May 29, 2011: none

    This change is per discussion at http://forum.bitcoin.org/index.php?topic=8153.0;

    Added ability to estimate the transaction fee for a given transfer amount. Use case concerns transferring BTC out of an "account", and being able to determine if the account has enough BTC to cover transfer + fees.

    *Accidentally closed previous pull request trying to rebase to one commit.

  2. Added RPC call estimatetxfee 03a3e51aa5
  3. jgarzik commented at 8:47 AM on June 14, 2011: contributor

    Seems OK, but I'd have to glance at CreateTransaction() callee's, to make 100% certain there are no side effects.

    The only other question I have is whether or not there is a driving need? (yes, I did review the thread)

  4. sipa commented at 9:18 AM on June 17, 2011: member

    I prefer an option to create transactions without committing them, allowing to inspect them, and then decide to commit+send or to abort.

  5. gavinandresen commented at 3:23 PM on June 24, 2011: contributor

    I agree w. sipa, I like the create...inspect...commit paradigm better.

  6. TheBlueMatt commented at 4:06 PM on June 29, 2011: member

    Im just not a huge fan of this as its an estimate and could very well be far off the estimate. I agree with gavin and sipa here and had done it in one of the commits in #289

  7. jgarzik commented at 3:45 AM on July 15, 2011: contributor

    consensus seems to be against

  8. jgarzik closed this on Jul 15, 2011

  9. dexX7 referenced this in commit 45137cc26c on Nov 13, 2015
  10. CodeShark referenced this in commit 068de5d4cc on May 4, 2017
  11. destenson referenced this in commit 668012f545 on Nov 18, 2017
  12. classesjack referenced this in commit e6011eb778 on Jan 2, 2018
  13. DrahtBot 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-05-02 12:16 UTC

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