rust-lightning/lightning/src/ln
Matt Corallo 35bb0f4676 Replace get_err_msg macro with a function
The `get_err_msg!()` macro has no reason to be a macro so here we
move its logic to a function and leave the macro in place to avoid
touching every line of code in the tests.

This reduces the `--profile=test --lib` `Zpretty=expanded` code
size from 322,183 LoC to 321,985 LoC.
2023-03-01 18:29:27 +00:00
..
chan_utils.rs Cache NodeId by converting their_node_id to tuple 2023-02-08 11:56:58 -06:00
chanmon_update_fail_tests.rs Disallow taking two instances of the same mutex at the same time 2023-02-28 01:06:35 +00:00
channel.rs Rename BestBlock::from_genesis to from_network for clarity 2023-02-24 00:22:58 +00:00
channelmanager.rs Replace get_err_msg macro with a function 2023-03-01 18:29:27 +00:00
features.rs Support negotiating anchors throughout channel open 2023-01-18 14:46:13 -08:00
functional_test_utils.rs Replace get_err_msg macro with a function 2023-03-01 18:29:27 +00:00
functional_tests.rs Merge pull request #2006 from TheBlueMatt/2023-02-no-recursive-read-locks 2023-02-28 00:24:16 -08:00
inbound_payment.rs Add new payment type and metadata bytes 2023-01-24 21:01:27 +02:00
mod.rs Move PendingOutboundPayment to new outbound_payment module 2022-12-19 14:09:59 -05:00
monitor_tests.rs Abandon payment on behalf of the user on payment path failure 2023-02-15 17:46:30 -05:00
msgs.rs Add an inbound flag to the peer_connected message handlers 2023-02-21 22:00:42 +00:00
onion_route_tests.rs Change PaymentPathFailed's optional network update to a Failure enum 2023-02-25 16:13:42 -05:00
onion_utils.rs Implement writeable for APIError 2023-02-25 16:13:42 -05:00
outbound_payment.rs Remove the final_cltv_expiry_delta in RouteParameters entirely 2023-02-27 22:33:21 +00:00
payment_tests.rs Merge pull request #2006 from TheBlueMatt/2023-02-no-recursive-read-locks 2023-02-28 00:24:16 -08:00
peer_channel_encryptor.rs Use NodeSigner::ecdh to compute SharedSecrets 2023-01-18 17:23:23 -08:00
peer_handler.rs Add an inbound flag to the peer_connected message handlers 2023-02-21 22:00:42 +00:00
priv_short_conf_tests.rs Replace get_err_msg macro with a function 2023-03-01 18:29:27 +00:00
reload_tests.rs Add an inbound flag to the peer_connected message handlers 2023-02-21 22:00:42 +00:00
reorg_tests.rs Add an inbound flag to the peer_connected message handlers 2023-02-21 22:00:42 +00:00
script.rs Use UserConfig to determine advertised InitFeatures by ChannelManager 2023-01-13 23:54:51 -08:00
shutdown_tests.rs Add an inbound flag to the peer_connected message handlers 2023-02-21 22:00:42 +00:00
wire.rs Bump workspace to rust edition 2018 2022-10-21 14:47:34 -07:00