data-items-cleanup #203
Reference in New Issue
Block a user
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_DECIMALDATA_ACTIVE_ADDRESSDATA_TRANSACTIONSDATA_PREFIX_SYMBOLSPerhaps better name
DATA_VOUCHER_*?@@ -34,2 +34,3 @@DATA_ACTIVE_ADDRESSDATA_TRANSACTIONSDATA_PREFIX_SYMBOLSDATA_PREFIX_BALANCESI 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_USERDATAdata-items-cleanupto WIP: data-items-cleanup@@ -36,0 +37,4 @@DATA_VOUCHER_BALANCESDATA_VOUCHER_DECIMALSDATA_VOUCHER_ADDRESSESDATA_PREFIX_TX_SENDERSSorry 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 []bytefunc (d DataTyp) ToBytes() []byte {So this should call
IntToBytesthen ;)I have set up a single function to handle both the DataTyp and int instead
WIP: data-items-cleanupto data-items-cleanup