core-lightning/tests
lisa neigut 087ab166b3 coins, fix: don't crash if the to_us amount is greater than our_msat
It's possible for our peer to publish a commitment tx that has already
updated our balance for an htlc before we've completed removing it from
our commitment tx (aka before we've updated our balance). This used to
crash, now we just update our balance (and the channel balance logs!)
and keep going.

If they've removed anything from our balance, we'll end up counting it
as chain_fees below. Not ideal but fine... probably.
2020-05-12 15:46:58 +09:30
..
data pytest: test db upgrade. 2019-09-06 14:19:14 +02:00
plugins coin moves: actually record the blockheight for all chain moves 2020-05-12 15:46:58 +09:30
vectors pytest: Add tests for the sphinx onion generation and processing 2020-03-12 10:25:01 +10:30
benchmark.py py-tests: rename 'announce' to 'wait_for_announce' 2018-12-08 15:15:55 -08:00
conftest.py pytest: Pass result to fixtures and keep directories of failed tests 2018-08-07 00:54:19 +00:00
db.py pytest: Have the DB provider search for the postgres binary 2019-09-22 02:03:43 +00:00
fixtures.py pytest: Configure logging in a fixture to match stdout capturing 2020-03-24 09:52:33 +10:30
test_closing.py coins, fix: don't crash if the to_us amount is greater than our_msat 2020-05-12 15:46:58 +09:30
test_connection.py coin moves tests: push_msat and the wallet withdrawal 2020-05-12 15:46:58 +09:30
test_db.py pytest: Fix optimistic locking in valgrind - developer config 2020-01-13 08:55:32 +08:00
test_gossip.py gossipd: return channel_announcement features for listchannels. 2020-05-07 08:44:58 +09:30
test_invoices.py invoice: ignore dead-end heuristic on explicitly specified channels. 2020-04-14 14:13:26 -05:00
test_misc.py coin moves: log all withdrawals when confirmed in a block 2020-05-12 15:46:58 +09:30
test_onion.py pytest: Actually make sure that the direcory exists 2020-03-24 09:52:33 +10:30
test_pay.py pay: respect maxfeepercent when choosing a shadow route 2020-05-05 14:10:42 +09:30
test_plugin.py coin moves: persist the coin movement index counter to disk 2020-05-12 15:46:58 +09:30
test_wallet.py wallet: allow to withdraw with unconfirmed utxos 2020-04-01 22:58:18 -05:00
utils.py coin moves: persist the coin movement index counter to disk 2020-05-12 15:46:58 +09:30