SomberNight
94b721baa4
wallet: fix type error in _bump_fee_through_decreasing_outputs
...
fixes #5483
7 years ago
SomberNight
4f51308eab
coinchooser: clarify docs for make_tx
7 years ago
SomberNight
fd5d1dab4f
coinchooser: clear up what "fee_estimator" expects
7 years ago
SomberNight
cb69aa80f7
coinchooser: don't spend buckets with negative effective value
...
Calculate the effective value of buckets, and filter <0 out.
Note that the filtering is done on the buckets, not per-coin.
This should better preserve the user's privacy in certain cases.
When the user "sends Max", as before, all UTXOs are selected,
even if they are not economical to spend.
see #5433
7 years ago
SomberNight
e864fa5088
coinchooser: tweak heuristic scoring.
...
transactions without any change now get better scores.
transactions with really small change get worse scores.
7 years ago
SomberNight
f409b5da40
coinchooser: refactor so that penalty_func has access to change outputs
7 years ago
SomberNight
cb204dd969
coinchooser: better account for fees in penalty_func
7 years ago
SomberNight
3385a94753
logging: basics
7 years ago
SomberNight
d56917f4b1
coinchooser: improve performance significantly
...
existing code was n^2 in number of UTXOs
this is now mostly linear
(linear if shortcut is hit; otherwise in rare cases still quadratic)
tested using wallet with 800 UTXOs, most of which were needed to make payment
coinchooser.make_tx() went from 18 sec to 0.8 sec
7 years ago
SomberNight
71ac3bb305
RBF batching: some fixes
7 years ago
ThomasV
2b8d801b36
if possible, batch new transaction with existing rbf transaction
7 years ago
SomberNight
9037f25da1
kill old-style namedtuples
7 years ago
SomberNight
b7178f2d21
coinchooser: small clean-up (use TxOutput.value)
7 years ago
SomberNight
2eb72d496f
transaction: introduce TxOutput namedtuple
7 years ago
Janus
097ac144d9
file reorganization with top-level module
8 years ago
SomberNight
46fdbbbce5
change partial txn serialization format for imported addresses txins
...
offline signing with segwit WIF keys now works.
offline seed + online address signing now works.
8 years ago
Dimitris Apostolou
989c9c2b55
Fix typos
8 years ago
SomberNight
72a443b688
fix: disabling "use change addresses" did not work correctly
8 years ago
SomberNight
710eda1a56
coinchooser: make output value rounding configurable (config var, qt)
8 years ago
SomberNight
3ae1dd3e64
allow coinchooser to spend local txns
8 years ago
SomberNight
7033125186
fee ui - rounding: display info icon with tooltip. show pre-rounding values in ui.
8 years ago
SomberNight
aaf5e32207
coinchooser fee calculation now uses tx weights. more precise fee calculation for segwit and mixed-segwit txns.
8 years ago
SomberNight
2a3c41b24f
coinchooser: "privacy" policy now prefers confirmed coins. removed "priority" policy.
8 years ago
SomberNight
a2a25e4738
better segwit tx size estimation
8 years ago
Justin Turner Arthur
857eb4ac1d
Remove unused imports. Explicitly import a few deep imports.
8 years ago
Justin Turner Arthur
9a0aa9b478
Remove Python 2 support imports.
8 years ago
ThomasV
216e9403be
cleanup six (no python2 support)
8 years ago
ThomasV
e02687bcf2
python3 updates
8 years ago
ThomasV
d8e37644d3
python3 updates
8 years ago
Dmitry Sorokin
0693403358
sending fixed
8 years ago
Dmitry Sorokin
5be78950ca
py3
8 years ago
ThomasV
31cd9753aa
fix #2270 : height sorting can use negative value
9 years ago
ThomasV
43c037cc10
follow-up 0ae04a6419
10 years ago
ThomasV
0ae04a6419
fix #1703
10 years ago
ThomasV
bca0f31fca
coinchooser methods should not belong in wallet class
10 years ago
Justin Turner Arthur
46907e97c1
Remove penalty_func from CoinChooserPrivacy that is later implemented/redefined.
...
Probably a copy pasta from the development process.
10 years ago
ThomasV
305843999e
Relicensing
10 years ago
Neil Booth
97bc1b2788
Don't split small change
10 years ago
ThomasV
d200b236ae
replace tx.input, tx.output by methods, so that deserialize calls are encapsulated
10 years ago
Neil Booth
f1bb3e846d
Remove unused import
10 years ago
Neil Booth
15707b5590
Coin chooser: use deterministic randomness
10 years ago
ThomasV
eb085c2e23
Clarify preferences dialog:
...
* rename 'Oldest First' policy as Priority
* show multiple change and fee multiplier on separate lines
10 years ago
Neil Booth
6bf91b8ae2
Update comments and tooltips.
10 years ago
Neil Booth
53fa973898
Move change_amounts() to base class.
...
Update tooltip of the preference.
10 years ago
ThomasV
0d52911561
define constants for tx output types
10 years ago
Neil Booth
0a3d74de8f
Avoid index-out-of-range
...
Also add sanity assertion
10 years ago
Neil Booth
25a2ceda23
Fix copyright.
10 years ago
Neil Booth
5c3a6db445
Fix negative amounts assertion
...
Change amounts could be negative after deducting the cost of the extra
change output; floor them at zero. Move the assertion to the main
code. Simplify rounding logic.
10 years ago
Neil Booth
cead9cd7c6
Ensure zeroes is always non-empty.
10 years ago
Neil Booth
1c528af433
Description tweaks.
...
Mention loss of priority, and rename Classic to Oldest First.
10 years ago