]> git.codecow.com Git - libnemo.git/log
libnemo.git
9 days agoFix wallet refresh default args.
Chris Duncan [Tue, 11 Aug 2026 04:24:53 +0000 (21:24 -0700)]
Fix wallet refresh default args.

9 days 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.

9 days 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.

10 days 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.

10 days 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.

10 days 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.

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

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

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

10 days 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.

10 days 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.

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

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

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

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

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

10 days 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.

10 days 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.

10 days 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.

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

10 days 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.

10 days 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.

10 days 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.

10 days 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'

10 days 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.

10 days 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.

10 days 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.

10 days 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.

10 days 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.

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

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

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

10 days 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.

10 days 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.

10 days 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.

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

10 days 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.

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

10 days 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.

10 days 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.

10 days 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.

10 days 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.

10 days 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.

11 days 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.

11 days 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.

11 days 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.

11 days 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.

11 days 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.

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

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

11 days 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.

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

11 days 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.

11 days 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.

11 days 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.

11 days 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.

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

11 days 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.

11 days 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.

11 days 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.

11 days 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.

11 days 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.

11 days 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.

12 days 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.

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

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

12 days 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.

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

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

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

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

12 days 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.

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

12 days 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.

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

12 days 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.

12 days 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.

12 days 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.

12 days 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.

12 days 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.

12 days 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.

12 days 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.

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

12 days 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.

12 days 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.

12 days 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.

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

12 days 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.

12 days 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".

12 days 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.

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

12 days 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.

12 days 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.

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

13 days 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.

13 days agoExtend Hex type to accomodate string expectations.
Chris Duncan [Fri, 7 Aug 2026 04:31:00 +0000 (21:31 -0700)]
Extend Hex type to accomodate string expectations.

13 days agoRemove unnecessary early return.
Chris Duncan [Fri, 7 Aug 2026 04:23:53 +0000 (21:23 -0700)]
Remove unnecessary early return.

13 days agoStart refactoring RPC method response parsing.
Chris Duncan [Fri, 7 Aug 2026 04:20:53 +0000 (21:20 -0700)]
Start refactoring RPC method response parsing.

13 days agoRefactor RPC to require auth upfront instead of getting from env.
Chris Duncan [Thu, 6 Aug 2026 15:19:39 +0000 (08:19 -0700)]
Refactor RPC to require auth upfront instead of getting from env.

2 weeks agoSimplify API exports.
Chris Duncan [Thu, 6 Aug 2026 10:44:12 +0000 (03:44 -0700)]
Simplify API exports.