14737b5f12
Removed redundant naming of transfer related data
2024-12-05 17:58:51 +03:00
caff27b43d
Replace IntToBytes(value int) and ToBytes() with a single ToBytes() function
2024-12-05 17:50:40 +03:00
589a94216b
Use the DATATYPE_USERDATA as the prefix for the NewSubPrefixDb func
2024-12-05 17:02:26 +03:00
a659fb06fa
Added a function to convert int to []byte
2024-12-05 16:58:03 +03:00
f733fe5636
Start the sub prefix data at 256 (0x0100)
2024-12-05 16:31:47 +03:00
18423fcd9c
updated the name of the voucher related data
2024-12-05 16:26:56 +03:00
7a9de79aae
return nil with error
2024-12-04 21:07:11 +03:00
bc0e536d3d
updated failing tests
2024-12-04 20:55:03 +03:00
93c44861e0
Use numeric prefixes
2024-12-04 20:42:47 +03:00
7a86b2ad3b
updated the UpdateVoucherData description
2024-11-30 15:26:13 +03:00
08ff1056d7
Validate aliases, addresses and phone numbers in the send menu ( #176 )
...
- Update the phone number regex
- Check whether the recipient is a valid phone number, alias or address
Reviewed-on: urdt/ussd#176
Co-authored-by: alfred-mk <alfredmwaik@gmail.com>
Co-committed-by: alfred-mk <alfredmwaik@gmail.com>
2024-11-26 07:24:57 +01:00
9498242901
removed debug statement
2024-11-19 16:27:19 +03:00
eab6dbd74c
Check if index is within range
2024-11-19 16:23:35 +03:00
1d82bc2261
added transactions functions
2024-11-19 16:07:28 +03:00
1ba90a8b78
updated the test
2024-11-16 14:52:24 +03:00
5dd4f2a3fb
scale down the balance according to the decimals
2024-11-16 14:52:02 +03:00
36846c2587
added TestReadTransactionData
2024-11-15 12:13:09 +03:00
222d801ecc
added TestParseAndScaleAmount
2024-11-15 11:49:47 +03:00
1a0b4deab3
added the TransactionData struct to organiza the data
2024-11-15 09:20:19 +03:00
cb13b09291
remove commented code
2024-11-15 08:42:44 +03:00
de5ecc5fe7
add the tokens functionality to the common package
2024-11-14 21:21:04 +03:00
fd2486b5cf
Merge branch 'terminal-logs' into profile-edit-show
2024-11-13 21:04:40 +03:00
b6b3ef83a4
updated the comment to match the functionality
2024-11-13 18:02:02 +03:00
f66609bbae
add helper for getting db key from string
2024-11-07 09:18:11 +03:00
lash
2c30ccc405
Add voucherdata call to test accountservices
2024-11-04 02:23:30 +00:00
lash
7189235bee
Remove unused data type
2024-11-03 15:14:17 +00:00
lash
0506a8c452
Add voucherdata endpoint
2024-11-03 14:34:26 +00:00
lash
a237b615f2
Export models package
2024-11-03 01:44:57 +00:00
lash
dae12ac498
Separate subprefix db export
2024-11-02 23:41:08 +00:00
lash
1d77ad98dc
Expose subprefix db
2024-11-02 23:33:52 +00:00
lash
14bc11f4bd
Add transaction getter
2024-11-02 16:38:29 +00:00
lash
e29a24b376
Add missing models files
2024-11-02 15:46:46 +00:00
lash
35a090ef42
Merge branch 'pre-mock-remove' into lash/export-to-term
2024-11-02 14:00:16 +00:00
lash
9a528cfd14
Clean up messily failed conflict resolution
2024-11-01 03:17:01 +00:00
lash
8cc46d2782
Merge branch 'master' into lash/export-to-term
2024-10-31 22:58:36 +00:00
lash
4bf56c525f
Export voucher related code
2024-10-31 13:19:44 +00:00
lash
4e81e2d869
Adapt voucher changes to package exports
2024-10-30 21:09:45 +00:00
lash
14648fec6c
Edit comment
2024-10-30 12:02:16 +00:00
lash
c95b97cb14
Export user data store
2024-10-30 01:45:38 +00:00
lash
dd764a2e24
Export db datatypes,tools
2024-10-30 01:28:55 +00:00
lash
cb997159f7
Add reverse sessionid address lookup
2024-10-30 00:59:59 +00:00