Safety Margin and Broadcast Reliability
WAproxy requires a safety margin to ensure reliable transaction broadcast under dynamic network conditions.
Execution condition:
wallet_balance >= amount_sat + safety_margin
The safety margin is not part of amount_sat.
It protects against fluctuating network fees.
Protocol fee:
- deducted from amount_sat
Network fee:
- deducted from wallet balance
Safety margin:
- protects execution reliability
Example:
amount_sat = 15000
recommended_margin = 500
Required wallet balance:
15500
If wallet_balance = 15000
Execution must not proceed.
Network fees vary based on mempool state and miner policy.
WAproxy does not predict network fees.
It enforces minimum economic safety boundaries.
Applications may increase margin dynamically.
WAproxy only validates deterministic execution conditions.
Sending full wallet balance without margin
risks broadcast rejection.
Safety margin ensures:
- stable retries
- predictable execution
- no partial drain attempts
- deterministic behavior
WAproxy prioritizes execution stability over aggressive balance usage.