mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-20 10:55:37 -05:00
* wip * filter out destinations with zero amount * add changelog entry * do not use subtract_fee_from_outputs for multi lock tx * make developer tip address configurable * create developer_tip_monero_wallet in integration test * add happy_path_alice_developer_tip integration test * run happy_path_alice_developer_tip integration test in ci * make stub tests * document `developer_tip` and add log at startup * take tip consideration when crafting quote * remove double g++ * fix bash * full stack trace in logs * add DEFAULT_DEVELOPER_TIP_ADDRESS_STAGENET * fix issue where --testnet could not be detected * triple bitcoin testnet timelocks * assert hardcoded developer tip address is on the correct network * fix: interpret developer_tip = 0 as no tip in log at startup * change developer_tip type to non-option, clamp tips below 100_00 piconero to 0 * create dedidcated TipConfig struct to replace (Decimal, monero::Address) * small refactorings * move tip config init out of of function call params * refactoring * unit tests wrong arguments passed in * document `developer_tip` allows configuring your maker to donate a small part of swaps to funding further development of the project. This is disabled by default. You can manually enable it if you choose to do so. Set it to a number between 0 and 1. Setting it to 0.02 will donate 2% of each swap to the donation address of the project. The tip is sent by adding an additional output the Monero lock transaction of a swap. This means this will not impact document `maker.developer_tip` in docs/pages/becoming_a_maker/overview.mdx * do not panic if cxx_addrs / cxx_amounts is null * formatting, full error stack trace in swap/src/asb/event_loop.rs when we cannot construct a quote * increase MIN_USEFUL_TIP_AMOUNT_PICONERO to 30m piconero (usd), correct params in unit tests * prompt for developer_tip in orchestrator and asb wizard * just fmt * fmt * address comments * fmt * spelling mistakes --------- Co-authored-by: binarybaron <binarybaron@mail.mail> |
||
|---|---|---|
| .. | ||
| harness | ||
| alice_and_bob_refund_using_cancel_and_refund_command.rs | ||
| alice_and_bob_refund_using_cancel_and_refund_command_timelock_not_expired.rs | ||
| alice_and_bob_refund_using_cancel_then_refund_command.rs | ||
| alice_broken_wallet_rpc_after_started_btc_early_refund.rs | ||
| alice_empty_balance_after_started_btc_early_refund.rs | ||
| alice_manually_punishes_after_bob_dead.rs | ||
| alice_manually_punishes_after_bob_dead_and_bob_cancels.rs | ||
| alice_manually_redeems_after_enc_sig_learned.rs | ||
| alice_punishes_after_restart_bob_dead.rs | ||
| alice_refunds_after_restart_bob_refunded.rs | ||
| bdk.sh | ||
| concurrent_bobs_after_xmr_lock_proof_sent.rs | ||
| concurrent_bobs_before_xmr_lock_proof_sent.rs | ||
| ensure_same_swap_id.rs | ||
| happy_path.rs | ||
| happy_path_alice_developer_tip.rs | ||
| happy_path_bob_offline_while_alice_redeems_btc.rs | ||
| happy_path_restart_alice_after_xmr_locked.rs | ||
| happy_path_restart_bob_after_xmr_locked.rs | ||
| happy_path_restart_bob_before_xmr_locked.rs | ||
| punish.rs | ||