]> git.codecow.com Git - libnemo.git/log
libnemo.git
3 months agoRestore try-catch on unexpectedly-invalid batch responses.
Chris Duncan [Wed, 12 Aug 2026 00:17:16 +0000 (17:17 -0700)]
Restore try-catch on unexpectedly-invalid batch responses.

3 months agoKeep timer function defined after firing.
Chris Duncan [Wed, 12 Aug 2026 00:08:00 +0000 (17:08 -0700)]
Keep timer function defined after firing.

3 months agoFix missing blocks type.
Chris Duncan [Wed, 12 Aug 2026 00:07:45 +0000 (17:07 -0700)]
Fix missing blocks type.

3 months agoFix test account range.
Chris Duncan [Tue, 11 Aug 2026 05:02:50 +0000 (22:02 -0700)]
Fix test account range.

3 months agoBuild out more of blocks_info req/res.
Chris Duncan [Tue, 11 Aug 2026 04:54:05 +0000 (21:54 -0700)]
Build out more of blocks_info req/res.

3 months agoFix wallet refresh default args.
Chris Duncan [Tue, 11 Aug 2026 04:24:53 +0000 (21:24 -0700)]
Fix wallet refresh default args.

3 months agoAdd stricter validation on block_info response.
Chris Duncan [Mon, 10 Aug 2026 22:16:20 +0000 (15:16 -0700)]
Add stricter validation on block_info response.

3 months agoRefactor vault timer to use Performance API objects.
Chris Duncan [Mon, 10 Aug 2026 20:52:20 +0000 (13:52 -0700)]
Refactor vault timer to use Performance API objects.

3 months agoAvoid blocks info callout if no frontiers found.
Chris Duncan [Mon, 10 Aug 2026 13:34:15 +0000 (06:34 -0700)]
Avoid blocks info callout if no frontiers found.

3 months agoRemove reference to undesired error entirely.
Chris Duncan [Mon, 10 Aug 2026 13:28:59 +0000 (06:28 -0700)]
Remove reference to undesired error entirely.

3 months agoMerge function used only once privately.
Chris Duncan [Mon, 10 Aug 2026 13:26:54 +0000 (06:26 -0700)]
Merge function used only once privately.

3 months agoRemove unnecessary normalization.
Chris Duncan [Mon, 10 Aug 2026 13:20:59 +0000 (06:20 -0700)]
Remove unnecessary normalization.

3 months agoType check from before addition.
Chris Duncan [Mon, 10 Aug 2026 06:27:55 +0000 (23:27 -0700)]
Type check from before addition.

3 months agoFix default account range end.
Chris Duncan [Mon, 10 Aug 2026 06:25:00 +0000 (23:25 -0700)]
Fix default account range end.

3 months agoFix tests and documentation around updated accounts range.
Chris Duncan [Mon, 10 Aug 2026 06:13:08 +0000 (23:13 -0700)]
Fix tests and documentation around updated accounts range.

3 months agoBreaking change, use sane zero-based account index range.
Chris Duncan [Mon, 10 Aug 2026 05:58:43 +0000 (22:58 -0700)]
Breaking change, use sane zero-based account index range.

3 months agoTypos.
Chris Duncan [Mon, 10 Aug 2026 05:28:36 +0000 (22:28 -0700)]
Typos.

3 months agoFix incorrect object reference.
Chris Duncan [Mon, 10 Aug 2026 05:25:50 +0000 (22:25 -0700)]
Fix incorrect object reference.

3 months agoFix off-by-one error.
Chris Duncan [Mon, 10 Aug 2026 05:15:21 +0000 (22:15 -0700)]
Fix off-by-one error.

3 months agoImprove guard for zeroing buffer.
Chris Duncan [Mon, 10 Aug 2026 05:09:09 +0000 (22:09 -0700)]
Improve guard for zeroing buffer.

3 months agoPassword paranoia.
Chris Duncan [Mon, 10 Aug 2026 05:04:18 +0000 (22:04 -0700)]
Password paranoia.

3 months agoDocument plaintext availability of secrets on new wallets.
Chris Duncan [Mon, 10 Aug 2026 04:58:55 +0000 (21:58 -0700)]
Document plaintext availability of secrets on new wallets.

3 months agoRestrict max account derivations within worker as well as untrusted host, and import...
Chris Duncan [Mon, 10 Aug 2026 04:52:41 +0000 (21:52 -0700)]
Restrict max account derivations within worker as well as untrusted host, and import the max from a constant.

3 months agoSimplify multi-account RPC response parsing.
Chris Duncan [Mon, 10 Aug 2026 04:49:49 +0000 (21:49 -0700)]
Simplify multi-account RPC response parsing.

3 months agoSolidify vault timer implementation.
Chris Duncan [Mon, 10 Aug 2026 04:29:27 +0000 (21:29 -0700)]
Solidify vault timer implementation.

3 months agoZero transfered buffers from worker on data parsing failure.
Chris Duncan [Mon, 10 Aug 2026 04:17:23 +0000 (21:17 -0700)]
Zero transfered buffers from worker on data parsing failure.

3 months agoLock and dispatch event before attempting unlock to ensure secrets are zeroed prior...
Chris Duncan [Mon, 10 Aug 2026 03:51:20 +0000 (20:51 -0700)]
Lock and dispatch event before attempting unlock to ensure secrets are zeroed prior to success or failure.

3 months agoUpgrade HTTP but otherwise reject non-HTTPS RPC URLs.
Chris Duncan [Mon, 10 Aug 2026 03:39:11 +0000 (20:39 -0700)]
Upgrade HTTP but otherwise reject non-HTTPS RPC URLs.

3 months agoMerge branch 'next/declassify-tools' next/webauthn
Chris Duncan [Mon, 10 Aug 2026 03:29:56 +0000 (20:29 -0700)]
Merge branch 'next/declassify-tools'

3 months agoSimply return from worker listener instead of throwing when no data is received from... next/declassify-tools
Chris Duncan [Sun, 9 Aug 2026 23:46:11 +0000 (16:46 -0700)]
Simply return from worker listener instead of throwing when no data is received from main thread since `onerror` events trigger a full shutdown at this time.

3 months agoPost data parsing errors back to worker host if possible.
Chris Duncan [Sun, 9 Aug 2026 23:27:10 +0000 (16:27 -0700)]
Post data parsing errors back to worker host if possible.

3 months agoFix account derivation test to work with new lower hard cap.
Chris Duncan [Sun, 9 Aug 2026 20:59:35 +0000 (13:59 -0700)]
Fix account derivation test to work with new lower hard cap.

3 months agoHard-cap wallet account derivation batch at 1000, now matches documentation.
Chris Duncan [Sun, 9 Aug 2026 20:57:54 +0000 (13:57 -0700)]
Hard-cap wallet account derivation batch at 1000, now matches documentation.

3 months agoBlock off env-specific autolock broadcast.
Chris Duncan [Sun, 9 Aug 2026 20:45:58 +0000 (13:45 -0700)]
Block off env-specific autolock broadcast.

3 months agoFix bad copy-paste.
Chris Duncan [Sun, 9 Aug 2026 20:39:59 +0000 (13:39 -0700)]
Fix bad copy-paste.

3 months agoFix possible undefined access.
Chris Duncan [Sun, 9 Aug 2026 20:37:10 +0000 (13:37 -0700)]
Fix possible undefined access.

3 months agoFix promise return.
Chris Duncan [Sun, 9 Aug 2026 19:31:40 +0000 (12:31 -0700)]
Fix promise return.

3 months agoAssign vault worker result to new object for better type resolution.
Chris Duncan [Sun, 9 Aug 2026 19:29:26 +0000 (12:29 -0700)]
Assign vault worker result to new object for better type resolution.

3 months agoPut task metadata in result with object keys.
Chris Duncan [Sun, 9 Aug 2026 19:25:00 +0000 (12:25 -0700)]
Put task metadata in result with object keys.

3 months agoReturn bytes instead of buffer to enable array ops.
Chris Duncan [Sun, 9 Aug 2026 19:22:28 +0000 (12:22 -0700)]
Return bytes instead of buffer to enable array ops.

3 months agoRemove unnecessary returns.
Chris Duncan [Sun, 9 Aug 2026 19:15:57 +0000 (12:15 -0700)]
Remove unnecessary returns.

3 months agoRemove extra brace and redundant type check.
Chris Duncan [Sun, 9 Aug 2026 19:12:44 +0000 (12:12 -0700)]
Remove extra brace and redundant type check.

3 months agoFix missing braces.
Chris Duncan [Sun, 9 Aug 2026 19:06:57 +0000 (12:06 -0700)]
Fix missing braces.

3 months agoRefactor secret buffers to enable proper zeroing.
Chris Duncan [Sun, 9 Aug 2026 18:58:34 +0000 (11:58 -0700)]
Refactor secret buffers to enable proper zeroing.

3 months agoCall other subtype Block methods explicitly.
Chris Duncan [Sun, 9 Aug 2026 16:40:48 +0000 (09:40 -0700)]
Call other subtype Block methods explicitly.

3 months agoRevert to labeled statements for env-specific worker init.
Chris Duncan [Sun, 9 Aug 2026 15:15:29 +0000 (08:15 -0700)]
Revert to labeled statements for env-specific worker init.

3 months agoReplace empty literal object initializer with Object method to avoid prototype pollution.
Chris Duncan [Sun, 9 Aug 2026 14:24:41 +0000 (07:24 -0700)]
Replace empty literal object initializer with Object method to avoid prototype pollution.

3 months agoRevert combined return to env-labeled statements to rely on esbuild instead of shaky...
Chris Duncan [Sun, 9 Aug 2026 14:13:57 +0000 (07:13 -0700)]
Revert combined return to env-labeled statements to rely on esbuild instead of shaky globals.

3 months agoThrow if more than one index passed in signing request.
Chris Duncan [Sun, 9 Aug 2026 09:40:40 +0000 (02:40 -0700)]
Throw if more than one index passed in signing request.

3 months agoSet default account balance and receivable if not yet opened.
Chris Duncan [Sun, 9 Aug 2026 09:34:36 +0000 (02:34 -0700)]
Set default account balance and receivable if not yet opened.

3 months agoReject all worker tasks with a real error object.
Chris Duncan [Sun, 9 Aug 2026 09:25:11 +0000 (02:25 -0700)]
Reject all worker tasks with a real error object.

3 months agoHard cap wallet account derivation at 10,000.
Chris Duncan [Sun, 9 Aug 2026 09:13:41 +0000 (02:13 -0700)]
Hard cap wallet account derivation at 10,000.

3 months agoExtract worker init to static method and teardown to split up termination and rejection.
Chris Duncan [Sun, 9 Aug 2026 09:13:18 +0000 (02:13 -0700)]
Extract worker init to static method and teardown to split up termination and rejection.

3 months agoFix wrong variable.
Chris Duncan [Sun, 9 Aug 2026 09:11:43 +0000 (02:11 -0700)]
Fix wrong variable.

3 months agoAdjust worker returns.
Chris Duncan [Sun, 9 Aug 2026 06:21:32 +0000 (23:21 -0700)]
Adjust worker returns.

3 months agoProvide better error messages from vault.
Chris Duncan [Sun, 9 Aug 2026 03:26:18 +0000 (20:26 -0700)]
Provide better error messages from vault.

3 months agoFix address validation regression.
Chris Duncan [Sun, 9 Aug 2026 01:54:22 +0000 (18:54 -0700)]
Fix address validation regression.

3 months agoFix frontier regex and allow special '0' opening block value.
Chris Duncan [Sat, 8 Aug 2026 21:49:18 +0000 (14:49 -0700)]
Fix frontier regex and allow special '0' opening block value.

3 months agoExplicitly call appropriate block subtype function when refreshing account frontiers.
Chris Duncan [Sat, 8 Aug 2026 21:29:57 +0000 (14:29 -0700)]
Explicitly call appropriate block subtype function when refreshing account frontiers.

3 months agoRefactor address validation as boolean instead of assertion.
Chris Duncan [Sat, 8 Aug 2026 21:17:37 +0000 (14:17 -0700)]
Refactor address validation as boolean instead of assertion.

3 months agoSet account data from account info refresh.
Chris Duncan [Sat, 8 Aug 2026 18:57:15 +0000 (11:57 -0700)]
Set account data from account info refresh.

3 months agoNarrow account_info response validation.
Chris Duncan [Sat, 8 Aug 2026 18:54:36 +0000 (11:54 -0700)]
Narrow account_info response validation.

3 months agoPull address pattern matching out of function to module constant.
Chris Duncan [Sat, 8 Aug 2026 18:53:14 +0000 (11:53 -0700)]
Pull address pattern matching out of function to module constant.

3 months agoAllow any input datatype when validating account addresses.
Chris Duncan [Sat, 8 Aug 2026 18:51:37 +0000 (11:51 -0700)]
Allow any input datatype when validating account addresses.

3 months agoAdd account version to account class.
Chris Duncan [Sat, 8 Aug 2026 18:05:21 +0000 (11:05 -0700)]
Add account version to account class.

3 months agoExtend hex validation to check length.
Chris Duncan [Sat, 8 Aug 2026 17:18:34 +0000 (10:18 -0700)]
Extend hex validation to check length.

3 months agoTypecheck ckd index arg and use VaultError consistently.
Chris Duncan [Sat, 8 Aug 2026 16:22:01 +0000 (09:22 -0700)]
Typecheck ckd index arg and use VaultError consistently.

3 months agoStart fixing Sony version required for epoch blocks during refresh.
Chris Duncan [Sat, 8 Aug 2026 15:54:17 +0000 (08:54 -0700)]
Start fixing Sony version required for epoch blocks during refresh.

3 months agoWait for lock before deleting wallet.
Chris Duncan [Sat, 8 Aug 2026 09:31:09 +0000 (02:31 -0700)]
Wait for lock before deleting wallet.

3 months agoRemove deprecated member.
Chris Duncan [Sat, 8 Aug 2026 09:30:17 +0000 (02:30 -0700)]
Remove deprecated member.

3 months agoRemove redundant condition.
Chris Duncan [Sat, 8 Aug 2026 09:29:42 +0000 (02:29 -0700)]
Remove redundant condition.

3 months agoCheck for index buffer with actual values.
Chris Duncan [Sat, 8 Aug 2026 09:29:11 +0000 (02:29 -0700)]
Check for index buffer with actual values.

3 months agoRemove duplicated copyright header.
Chris Duncan [Sat, 8 Aug 2026 09:28:41 +0000 (02:28 -0700)]
Remove duplicated copyright header.

3 months agoFix error message.
Chris Duncan [Sat, 8 Aug 2026 09:22:29 +0000 (02:22 -0700)]
Fix error message.

3 months agoRemove unused property.
Chris Duncan [Sat, 8 Aug 2026 09:21:56 +0000 (02:21 -0700)]
Remove unused property.

3 months agoEnable version spec for epochs.
Chris Duncan [Sat, 8 Aug 2026 09:19:20 +0000 (02:19 -0700)]
Enable version spec for epochs.

3 months agoResume vault autolock timer when catching async errors.
Chris Duncan [Sat, 8 Aug 2026 09:19:03 +0000 (02:19 -0700)]
Resume vault autolock timer when catching async errors.

3 months agoFix missing wallet type.
Chris Duncan [Sat, 8 Aug 2026 09:09:27 +0000 (02:09 -0700)]
Fix missing wallet type.

3 months agoRevert regex to just check for hex format and maximum length, and rely on left-padded...
Chris Duncan [Sat, 8 Aug 2026 09:06:45 +0000 (02:06 -0700)]
Revert regex to just check for hex format and maximum length, and rely on left-padded byte conversion.

3 months agoMiscellaneous fixes.
Chris Duncan [Sat, 8 Aug 2026 08:35:57 +0000 (01:35 -0700)]
Miscellaneous fixes.

3 months agoIncrease visible account derivation limit now that batches are possible.
Chris Duncan [Sat, 8 Aug 2026 06:42:26 +0000 (23:42 -0700)]
Increase visible account derivation limit now that batches are possible.

3 months agoFix signing calls to also pass index as u32.
Chris Duncan [Sat, 8 Aug 2026 06:33:45 +0000 (23:33 -0700)]
Fix signing calls to also pass index as u32.

3 months agoTransfer account indexes to vault worker as typed array.
Chris Duncan [Sat, 8 Aug 2026 05:10:20 +0000 (22:10 -0700)]
Transfer account indexes to vault worker as typed array.

3 months agoStart refactoring vault to derive accounts in batches which is way more performant.
Chris Duncan [Fri, 7 Aug 2026 23:19:50 +0000 (16:19 -0700)]
Start refactoring vault to derive accounts in batches which is way more performant.

3 months agoDerive link_as_account from link in Blocks.
Chris Duncan [Fri, 7 Aug 2026 21:43:28 +0000 (14:43 -0700)]
Derive link_as_account from link in Blocks.

3 months agoRestrict special object properties from rolodex names.
Chris Duncan [Fri, 7 Aug 2026 21:19:33 +0000 (14:19 -0700)]
Restrict special object properties from rolodex names.

3 months agoFix rep in change block being overwritten by burn account.
Chris Duncan [Fri, 7 Aug 2026 21:11:04 +0000 (14:11 -0700)]
Fix rep in change block being overwritten by burn account.

3 months agoRemove logging from passkey errors.
Chris Duncan [Fri, 7 Aug 2026 21:10:37 +0000 (14:10 -0700)]
Remove logging from passkey errors.

3 months agoFix response fields excluded without flags in request.
Chris Duncan [Fri, 7 Aug 2026 20:51:39 +0000 (13:51 -0700)]
Fix response fields excluded without flags in request.

3 months agoFix account_info fields replaced in v22.
Chris Duncan [Fri, 7 Aug 2026 19:55:20 +0000 (12:55 -0700)]
Fix account_info fields replaced in v22.

3 months agoFix address construction and error logging.
Chris Duncan [Fri, 7 Aug 2026 19:43:33 +0000 (12:43 -0700)]
Fix address construction and error logging.

3 months agoFix missing imports.
Chris Duncan [Fri, 7 Aug 2026 19:36:11 +0000 (12:36 -0700)]
Fix missing imports.

3 months agoNarrow block processing acceptable subtypes since epoch blocks should not be construc...
Chris Duncan [Fri, 7 Aug 2026 19:33:40 +0000 (12:33 -0700)]
Narrow block processing acceptable subtypes since epoch blocks should not be constructible and open blocks are just special receives.

3 months agoConfigure specialized block function for the subtype "open".
Chris Duncan [Fri, 7 Aug 2026 19:22:34 +0000 (12:22 -0700)]
Configure specialized block function for the subtype "open".

3 months agoInclude link as account in Block subtype calls.
Chris Duncan [Fri, 7 Aug 2026 18:04:55 +0000 (11:04 -0700)]
Include link as account in Block subtype calls.

3 months agoMore RPC refactoring.
Chris Duncan [Fri, 7 Aug 2026 16:23:17 +0000 (09:23 -0700)]
More RPC refactoring.

3 months agoRefactor RPC responses implemented so far to produce full responses only and throw...
Chris Duncan [Fri, 7 Aug 2026 16:05:24 +0000 (09:05 -0700)]
Refactor RPC responses implemented so far to produce full responses only and throw otherwise.

3 months agoSpecify valid subtypes in parsed block_info response and fix remaining refresh functi...
Chris Duncan [Fri, 7 Aug 2026 14:01:06 +0000 (07:01 -0700)]
Specify valid subtypes in parsed block_info response and fix remaining refresh function issues.

3 months agoImplement more RPC response validators.
Chris Duncan [Fri, 7 Aug 2026 06:37:24 +0000 (23:37 -0700)]
Implement more RPC response validators.

3 months agoDefine account_balance RPC shape and reuse in accounts_balances.
Chris Duncan [Fri, 7 Aug 2026 05:15:27 +0000 (22:15 -0700)]
Define account_balance RPC shape and reuse in accounts_balances.