1
0
Files
electrum/electrum
ThomasV 1d498eeefc Change the semantics of get_balance:
It does not make sense to count change outputs in our unconfirmed balance,
because our balance will not be negatively affected if the transaction does
not get confirmed.

It is also incorrect to add signed values of get_addr_balance in order to compute
the balance over a domain. For example, this leads to incoming and outgoing
transactions cancelling out in our total unconfirmed balance.

This commit looks at the coins that are spent by a transaction. If those
coins belong to us and are confirmed, we do not count the transaction outputs
in our unconfirmed balance.

As a result, get_balance always returns positive values for unconfirmed balance.
2022-05-11 08:50:09 +02:00
..
2022-05-04 01:53:21 +02:00
2021-04-30 19:43:53 +02:00
2020-06-23 19:25:07 +02:00
2022-04-29 17:04:16 +02:00
2022-04-11 17:40:22 +02:00
2021-03-21 00:36:23 -04:00
2021-04-08 19:49:43 +02:00
2022-04-11 17:40:22 +02:00
2022-04-20 12:48:22 +02:00
2021-09-24 17:36:33 +02:00
2021-03-21 00:36:23 -04:00
2022-04-27 10:06:05 +02:00
2021-07-15 14:52:25 +00:00
2021-07-16 11:27:36 +02:00
2021-03-21 00:36:23 -04:00
2021-03-21 00:36:23 -04:00
2022-04-11 17:40:22 +02:00
2019-02-11 20:21:24 +01:00
2021-05-06 19:47:22 +09:00
2021-06-22 19:24:16 +02:00
2022-04-20 12:48:22 +02:00
2022-03-24 15:59:14 +01:00
2022-05-11 08:50:09 +02:00