Add RPC command listtransactionsaftertime #355

pull pixelglow wants to merge 1 commits into bitcoin:master from pixelglow:listtransactionsaftertime changing 1 files +44 −0
  1. pixelglow commented at 8:45 AM on June 27, 2011: none

    When a process is polling bitcoind for new transactions, the existing RPC command listtransactions is not adequate. In particular, since there's no way for listtransactions to report all transaction AFTER a certain point in time, the polling process will necessarily have to grab more and more transactions and sort through them, or risk missing transactions if it uses a limit that's too small.

    This new command listtransactionsaftertime solves the issue.

    In particular, you use listtransactionsaftertime to get all transactions after a particular time (as timestamped on all transactions). A typical polling process can then grab all transactions after the last seen transaction time and be guaranteed a complete transaction log.

  2. Add RPC command listtransactionsaftertime e779a17b79
  3. gavinandresen commented at 1:30 PM on June 27, 2011: contributor

    See #199

    I like the other pull's approach better because times in bitcoin are fuzzy-- transactions take on the time of the block that they're included in, and will change as block-chain re-orgs happen.

  4. pixelglow commented at 4:02 PM on June 27, 2011: none

    How do we know which transactions belong in which block, in order for us to call listsinceblock with the correct block?

  5. pixelglow commented at 4:10 PM on June 27, 2011: none

    Ah ok, he's returning the block id as well. When are you integrating this?

  6. gavinandresen commented at 3:40 PM on August 9, 2011: contributor

    Consensus seems to be pull 199 is a better approach. I'm going to close this.

  7. gavinandresen closed this on Aug 9, 2011

  8. ptschip referenced this in commit 6218ac2087 on Mar 11, 2017
  9. classesjack referenced this in commit 66029b38d1 on Jan 2, 2018
  10. lateminer referenced this in commit 66ddfbce18 on Oct 16, 2019
  11. Losangelosgenetics referenced this in commit b96ceee8b6 on Mar 12, 2020
  12. 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-04-13 21:16 UTC

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