Files
bitcoin/src
Wladimir J. van der Laan 470664f2b7 Merge #17746: refactor: rpc: Remove vector copy from listtransactions
25bc17fceb refactor: rpc: Remove vector copy from listtransactions (João Barbosa)

Pull request description:

  Current approach
   - copy accumulated `ret` vector to `arrTmp`
   - drop unnecessary elements from `arrTmp`
   - reverse `arrTmp`
   - clear `ret`
   - copy `arrTmp` to the `ret`

  New approach
   - create a vector from the accumulated `ret` with just the necessary elements already reversed
   - copy it to the result

  This PR doesn't change behavior.

ACKs for top commit:
  ryanofsky:
    Code review ACK 25bc17fceb. Just comment and commit message tweaks since last review

Tree-SHA512: 87906561e3accdbdb0f4a8194cbcd76ea53ae53d0ce135b90bc54a5f77e300b14ef08505e7daf1fe52426f135442a743da5a027416a769bd454922357cebe7c0
2020-02-13 18:50:02 +01:00
..
2020-02-10 12:00:10 -08:00
2020-02-10 12:00:10 -08:00
2020-02-09 07:44:29 -08:00
2020-02-10 12:00:10 -08:00
2020-02-10 12:00:10 -08:00
2020-02-05 13:59:42 +01:00
2019-12-23 06:12:10 +07:00
2020-01-31 14:51:37 -08:00
2020-01-31 14:51:37 -08:00
2019-10-02 10:39:14 -04:00
2020-01-16 18:25:11 -08:00
2020-02-10 12:00:10 -08:00
2020-02-10 12:00:10 -08:00