mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 11:32:46 +01:00
Merge #6444: fix: add platform transfer to "most common" filter
36893e4ba4
fix: add platform transfer to "most common" filter on transactions tab (Konstantin Akimov)d033a3ae06
refactor: change mask from Dec presentation to Hex for transaction filter (Konstantin Akimov) Pull request description: ## Issue being fixed or feature implemented Follow-up https://github.com/dashpay/dash/pull/6131 - missing 'Platform Transfer' in the list of most common. Reported by splawik. ## What was done? Updated filter, added comment to prevent similar mistakes in future, present filter in hex for better readability. ## How Has This Been Tested? Transaction with platform transfer appeared in filter "Most Common" ![image](https://github.com/user-attachments/assets/ccc17553-d71a-45f8-be2f-8ce5fb699c1a) Also they are added to Overview page (compare screenshots by 'address' field) ![image](https://github.com/user-attachments/assets/ea657672-46c8-4a66-a972-15768feb4d57) ## Breaking Changes N/A ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone ACKs for top commit: UdjinM6: utACK36893e4ba4
PastaPastaPasta: utACK36893e4ba4
Tree-SHA512: e072b78e257b2c262a912a3cc0daebde93aca655edfee9bbf4869f2528f10377d7d234c73c4fd7ab6006e87607d5a7c4eddd7634d55b16d1b3885d0bc48f225a
This commit is contained in:
commit
052da5080f
@ -23,7 +23,7 @@ public:
|
||||
/** Type filter bit field (all types) */
|
||||
static const quint32 ALL_TYPES = 0xFFFFFFFF;
|
||||
/** Type filter bit field (all types but Darksend-SPAM) */
|
||||
static const quint32 COMMON_TYPES = 4223;
|
||||
static const quint32 COMMON_TYPES = 0x307f;
|
||||
|
||||
static quint32 TYPE(int type) { return 1<<type; }
|
||||
|
||||
|
@ -82,6 +82,7 @@ public:
|
||||
class TransactionRecord
|
||||
{
|
||||
public:
|
||||
// Update COMMON_TYPES in TransactionFilterProxyWhen when adding a new type
|
||||
enum Type
|
||||
{
|
||||
Other,
|
||||
|
Loading…
Reference in New Issue
Block a user