Gregory Maxwell b3d7b1cbe7 Wallet: Do not perform ECDSA in the fee calculation inner loop.
Performing signing in the inner loop has terrible performance
 when many passes through are needed to complete the selection.

Signing before the algorithm is complete also gets in the way
 of correctly setting the fee (e.g. preventing over-payment when
 the fee required goes down on the final selection.)

Use of the dummy might overpay on the signatures by a couple bytes
 in uncommon cases where the signatures' DER encoding is smaller
 than the dummy: Who cares?
2017-01-05 18:15:01 +00:00
..
2016-12-24 11:29:33 -05:00
2016-12-24 11:29:33 -05:00
2016-12-24 11:29:33 -05:00
2016-12-24 11:29:33 -05:00
2016-12-27 13:52:07 +01:00
2016-12-27 13:52:07 +01:00