lbrycrd/src/wallet
Wladimir J. van der Laan e3fec3cfa8
Merge #13419: [tests] Speed up knapsack_solver_test by not recreating wallet 100 times.
a679109be4 Speed up knapsack_solver_test by not recreating wallet 100 times. (lucash.dev@gmail.com)

Pull request description:

  Optimization of `knapsack_solver_test`by moving an expensive wallet creation to outside a 100x for loop.

  On my (slow) machine:

  ```
  before:        9.8s
  after:         6.2s
  --------------------
  saved:         3.6s (36%)
  ```

  This PR was split from #13050. Also see #10026.

Tree-SHA512: bde1a856b5f076a5845e14d1a924855c8c91742c3139b47903081289b21d01fef6f2d1fd8947058728a57de56f877bab3866af8cd1d25ba2daa44411752cdb2f
2018-09-11 10:22:36 +02:00
..
test Merge #13419: [tests] Speed up knapsack_solver_test by not recreating wallet 100 times. 2018-09-11 10:22:36 +02:00
coincontrol.cpp Add -avoidpartialspends and m_avoid_partial_spends 2018-07-24 15:05:37 +09:00
coincontrol.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
coinselection.cpp util: Replace boost::signals2 with std::function 2018-08-24 08:34:38 -04:00
coinselection.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
crypter.cpp Make objects in range declarations immutable by default. Avoid unnecessary copying of objects in range declarations. 2018-08-27 18:19:33 +02:00
crypter.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
db.cpp Merge #13954: Warn (don't fail!) on spelling errors. Fix typos reported by codespell. 2018-09-05 18:13:05 -04:00
db.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
feebumper.cpp [wallet] Kill accounts 2018-08-30 16:08:42 +02:00
feebumper.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
fees.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
fees.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
init.cpp [wallet] Kill accounts 2018-08-30 16:08:42 +02:00
rpcdump.cpp Merge #9332: Let wallet importmulti RPC accept labels for standard scriptPubKeys 2018-09-10 19:02:44 +02:00
rpcwallet.cpp Merge #14008: Preserve a format of RPC command definitions 2018-09-10 18:14:05 +02:00
rpcwallet.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
wallet.cpp Merge #13558: Drop unused GetType() from CSizeComputer 2018-09-11 09:29:38 +02:00
wallet.h Merge #10605: Add AssertLockHeld assertions in CWallet::ListCoins 2018-08-31 09:03:05 -04:00
walletdb.cpp Merge #13249: Make objects in range declarations immutable by default. Avoid unnecessary copying of objects in range declarations. 2018-09-04 15:50:08 +02:00
walletdb.h [wallet] Kill accounts 2018-08-30 16:08:42 +02:00
walletutil.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
walletutil.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00