HomePhabricator

[Cashtab] Airdrop Option - ignore airdrops below dust

Description

[Cashtab] Airdrop Option - ignore airdrops below dust

Summary:
As per T2140:
Option to parse the recipient airdrop amounts and filter out drops which are below dust (5.5 XEC).

Test Plan:
Without ticking the 'ignore airdrops below min. payment dust' checkbox:

  • calculate an airdrop with at least 1 sub-dust airdrop and ensure the 'At least one airdrop is below the...' alert is displayed
  • calculate an airdrop with no sub-dust airdrops and ensure no such alert is displayed

Tick the 'ignore airdrops below min. payment dust' checkbox:

  • calculate an airdrop with at least 1 sub-dust airdrop and ensure it is not in the payment output list of airdrops
  • ensure this filtered payment output can be copied to clipboard
  • ensure this filtered payment output can be sent to the Send screen, sent successfully and block explorer showing the correct outputs
  • calculate an airdrop with no sub-dust airdrops and ensure no regression

Ensure no regression on routing from eToken Send screen to the airdrop screen.

Reviewers: bytesofman, #bitcoin_abc

Reviewed By: bytesofman, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D11257

Details

Provenance
emackAuthored on Mar 24 2022, 13:35
emackPushed on Apr 6 2022, 02:31
Reviewer
Restricted Project
Differential Revision
D11257: [Cashtab] Airdrop Option - ignore airdrops below dust
Parents
rABC0142e0e83a99: [Cashtab] Airdrop Option - ignore own address
Branches
Unknown
Tags
Unknown