Commit Graph

901 Commits

Author SHA1 Message Date
lash
8d4d8a48e0 Fix compile errors, test errors 2024-12-14 11:56:31 +00:00
lash
c820e89cb7 Segment tx userdata types, add internals docs 2024-12-11 19:13:13 +00:00
lash
604c16ec90 Habilitate store dumper 2024-12-08 22:48:39 +00:00
lash
a3e821fb16 Clarify gen cmd example with reverse public key lookup 2024-12-08 21:57:53 +00:00
lash
890f50704f Add documentation comments for db subprefix types 2024-12-08 21:21:48 +00:00
lash
3416fdf50c Add keyinfo restore 2024-12-07 23:06:03 +00:00
lash
ff943a125c Merge branch 'master' into lash/store-dumper 2024-12-05 15:30:29 +00:00
316358765d Merge pull request 'data-items-cleanup' (#203) from data-items-cleanup into master
Reviewed-on: urdt/ussd#203
Reviewed-by: lash <accounts-grassrootseconomics@holbrook.no>
2024-12-05 16:03:50 +01:00
alfred-mk
14737b5f12 Removed redundant naming of transfer related data 2024-12-05 17:58:51 +03:00
alfred-mk
caff27b43d Replace IntToBytes(value int) and ToBytes() with a single ToBytes() function 2024-12-05 17:50:40 +03:00
alfred-mk
589a94216b Use the DATATYPE_USERDATA as the prefix for the NewSubPrefixDb func 2024-12-05 17:02:26 +03:00
alfred-mk
a659fb06fa Added a function to convert int to []byte 2024-12-05 16:58:03 +03:00
alfred-mk
f733fe5636 Start the sub prefix data at 256 (0x0100) 2024-12-05 16:31:47 +03:00
alfred-mk
18423fcd9c updated the name of the voucher related data 2024-12-05 16:26:56 +03:00
alfred-mk
7a9de79aae return nil with error 2024-12-04 21:07:11 +03:00
alfred-mk
862830e9de renamed internal/storage/db.go -> internal/storage/sub_prefix_db.go for clarity 2024-12-04 20:59:46 +03:00
alfred-mk
bc0e536d3d updated failing tests 2024-12-04 20:55:03 +03:00
alfred-mk
82884a75a3 Merge branch 'master' into data-items-cleanup 2024-12-04 20:45:38 +03:00
alfred-mk
93c44861e0 Use numeric prefixes 2024-12-04 20:42:47 +03:00
alfred-mk
4ecfc9de38 removed DATATYPE_USERSUB and replaced with DATATYPE_USERDATA 2024-12-04 20:38:52 +03:00
22c9c3e0f0 Merge pull request 'minor-bug-fixes' (#177) from minor-bug-fixes into master
Reviewed-on: urdt/ussd#177
2024-12-03 18:18:23 +01:00
a709d24520 Merge branch 'master' into minor-bug-fixes 2024-12-03 18:16:19 +01:00
e56138e416 Merge pull request 'Clear persister from handler in outer code aswell' (#200) from lash/persister-freakout into master
Reviewed-on: urdt/ussd#200
2024-12-03 17:18:11 +01:00
lash
d516584d90 Clear persister from handler in outer code aswell 2024-12-03 16:16:53 +00:00
alfred-mk
d40a4a171f formatted code 2024-12-03 14:12:47 +03:00
alfred-mk
ba430a5849 add a separate function to handle ConstructName 2024-12-03 14:10:05 +03:00
alfred-mk
0f21b01813 resolved error in the TestViewVoucher 2024-12-03 13:37:00 +03:00
alfred-mk
10586baf0d resolved error in the TestCheckBalance 2024-12-03 13:35:14 +03:00
alfred-mk
e979742424 resolved error in the TestValidateRecipient 2024-12-03 13:32:18 +03:00
alfred-mk
ff3f049226 updated the CheckAliasAddress mock 2024-12-03 13:31:30 +03:00
alfred-mk
13b45c49da Merge branch 'master' into minor-bug-fixes 2024-12-03 12:58:26 +03:00
lash
c2a4efde2b Merge branch 'master' into lash/store-dumper 2024-12-02 15:39:29 +00:00
b615c27cf6 Merge pull request 'trigger-balance-reload' (#193) from trigger-balance-reload into master
Reviewed-on: urdt/ussd#193
Reviewed-by: lash <accounts-grassrootseconomics@holbrook.no>
v0.3.0-beta
2024-12-02 16:36:26 +01:00
22e870b3e5 Merge branch 'master' into trigger-balance-reload 2024-12-02 16:36:08 +01:00
da462346f9 Merge pull request 'Always reset persister in handler' (#194) from lash/no-persister-deadlock into master
Reviewed-on: urdt/ussd#194
2024-12-02 16:17:36 +01:00
lash
406bd84875 Always reset persister in handler 2024-12-02 14:53:18 +00:00
lash
c9deca1180 change userdata prefix on subprefix debug 2024-12-02 14:36:33 +00:00
alfred-mk
419cd185fc Merge branch 'master' into minor-bug-fixes 2024-12-02 15:25:34 +03:00
7976e237ca Merge pull request 'voucher-details' (#179) from voucher-details into master
Reviewed-on: urdt/ussd#179
Reviewed-by: Alfred Kamanda <alfredkamandamw@gmail.com>
2024-12-02 11:43:30 +01:00
alfred-mk
19ec8f0817 Merge branch 'master' into voucher-details 2024-12-02 13:32:32 +03:00
alfred-mk
ef3a3d6717 updated the TestGetVoucherDetails 2024-12-02 13:30:33 +03:00
alfred-mk
c2019267d1 capitalize the voucher descriptions 2024-12-02 13:26:46 +03:00
Carlosokumu
0091fbcabb fix: looped navigation 2024-12-02 09:03:04 +03:00
lash
6d4f3109f8 Consolidate subtyp and typ debug 2024-12-01 23:12:58 +00:00
lash
35cf3a1cd1 Add debug label test, capability debug flag 2024-12-01 18:41:28 +00:00
lash
1a782c1db9 Add debug package 2024-12-01 17:32:06 +00:00
lash
3d2ca606ca Merge branch 'master' into lash/store-dumper 2024-12-01 16:34:10 +00:00
alfred-mk
aa7497573e removed unused code 2024-11-30 15:29:28 +03:00
alfred-mk
54c1fe51ef update the active voucher data when checking the current vouchers 2024-11-30 15:28:21 +03:00
alfred-mk
7a86b2ad3b updated the UpdateVoucherData description 2024-11-30 15:26:13 +03:00