Repo Added
|
Files
88
|
Badge
README BADGES
|
CirrusCI
txbatcher: be careful when removing local transactions 1. Do not remove local transaction in find_base_tx. This logic was intended to cleanup claim transactions that are never broadcast (for example, if the counterparty gets a refund) (see 1bf1de36c) However, this code is too unspecific and may result in fund loss, because the transaction being removed may contain outgoing payments. For example, if the electrum server is not responsive, the tx will be seen as local and deleted. In that case, another payment will be attempted, thus paying twice. 2. Do not remove tx after try_broadcasting returns False. The server might be lying to us. We can only remove the local tx if there is a base_tx, because the next tx we create will try to spend the same output.
3 of 6 new or added lines in 1 file covered. (50.0%)
159 existing lines in 48 files now uncovered.22769 of 37076 relevant lines covered (61.41%)
3.06 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|