data-items-cleanup #203
No reviewers
Labels
No Label
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Activity
Doing
Activity
Hold
Activity
Proposal
Activity
QA
Activity
Validate
Runner
AT
Runner
CLI
Runner
HTTP
Runner
SSH
cleanup
devops
documentation
easypeasy
exchange
i18n
legacy
meta
migration
optimization
privilege
refactor
smell
support
tooling
ux
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: urdt/ussd#203
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "data-items-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -33,3 +33,3 @@
DATA_ACTIVE_DECIMAL
DATA_ACTIVE_ADDRESS
DATA_TRANSACTIONS
DATA_PREFIX_SYMBOLS
Perhaps better name
DATA_VOUCHER_*
?@ -34,2 +34,3 @@
DATA_ACTIVE_ADDRESS
DATA_TRANSACTIONS
DATA_PREFIX_SYMBOLS
DATA_PREFIX_BALANCES
I would start at 256 (0x0100), and keep the DATATYPE_USERDATA prefix.
@ -86,16 +86,16 @@ func TestGetVoucherData(t *testing.T) {
spdb := storage.NewSubPrefixDb(db, []byte("vouchers"))
The prefix should be
DATATYPE_USERDATA
data-items-cleanupto WIP: data-items-cleanup@ -36,0 +37,4 @@
DATA_VOUCHER_BALANCES
DATA_VOUCHER_DECIMALS
DATA_VOUCHER_ADDRESSES
DATA_PREFIX_TX_SENDERS
Sorry perhaps it wasn't clear. The "PREFIX" part in general is implied and a thus redundant. TX should suffice.
Apologies, I was to replace these as well. This has been done
@ -71,1 +83,4 @@
}
// Convert DataTyp to []byte
func (d DataTyp) ToBytes() []byte {
So this should call
IntToBytes
then ;)I have set up a single function to handle both the DataTyp and int instead
WIP: data-items-cleanupto data-items-cleanup