]>
git.codecow.com Git - libnemo.git/log
Chris Duncan [Tue, 11 Aug 2026 04:54:05 +0000 (21:54 -0700)]
Build out more of blocks_info req/res.
Chris Duncan [Tue, 11 Aug 2026 04:24:53 +0000 (21:24 -0700)]
Fix wallet refresh default args.
Chris Duncan [Mon, 10 Aug 2026 22:16:20 +0000 (15:16 -0700)]
Add stricter validation on block_info response.
Chris Duncan [Mon, 10 Aug 2026 20:52:20 +0000 (13:52 -0700)]
Refactor vault timer to use Performance API objects.
Chris Duncan [Mon, 10 Aug 2026 13:34:15 +0000 (06:34 -0700)]
Avoid blocks info callout if no frontiers found.
Chris Duncan [Mon, 10 Aug 2026 13:28:59 +0000 (06:28 -0700)]
Remove reference to undesired error entirely.
Chris Duncan [Mon, 10 Aug 2026 13:26:54 +0000 (06:26 -0700)]
Merge function used only once privately.
Chris Duncan [Mon, 10 Aug 2026 13:20:59 +0000 (06:20 -0700)]
Remove unnecessary normalization.
Chris Duncan [Mon, 10 Aug 2026 06:27:55 +0000 (23:27 -0700)]
Type check from before addition.
Chris Duncan [Mon, 10 Aug 2026 06:25:00 +0000 (23:25 -0700)]
Fix default account range end.
Chris Duncan [Mon, 10 Aug 2026 06:13:08 +0000 (23:13 -0700)]
Fix tests and documentation around updated accounts range.
Chris Duncan [Mon, 10 Aug 2026 05:58:43 +0000 (22:58 -0700)]
Breaking change, use sane zero-based account index range.
Chris Duncan [Mon, 10 Aug 2026 05:28:36 +0000 (22:28 -0700)]
Typos.
Chris Duncan [Mon, 10 Aug 2026 05:25:50 +0000 (22:25 -0700)]
Fix incorrect object reference.
Chris Duncan [Mon, 10 Aug 2026 05:15:21 +0000 (22:15 -0700)]
Fix off-by-one error.
Chris Duncan [Mon, 10 Aug 2026 05:09:09 +0000 (22:09 -0700)]
Improve guard for zeroing buffer.
Chris Duncan [Mon, 10 Aug 2026 05:04:18 +0000 (22:04 -0700)]
Password paranoia.
Chris Duncan [Mon, 10 Aug 2026 04:58:55 +0000 (21:58 -0700)]
Document plaintext availability of secrets on new wallets.
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.
Chris Duncan [Mon, 10 Aug 2026 04:49:49 +0000 (21:49 -0700)]
Simplify multi-account RPC response parsing.
Chris Duncan [Mon, 10 Aug 2026 04:29:27 +0000 (21:29 -0700)]
Solidify vault timer implementation.
Chris Duncan [Mon, 10 Aug 2026 04:17:23 +0000 (21:17 -0700)]
Zero transfered buffers from worker on data parsing failure.
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.
Chris Duncan [Mon, 10 Aug 2026 03:39:11 +0000 (20:39 -0700)]
Upgrade HTTP but otherwise reject non-HTTPS RPC URLs.
Chris Duncan [Mon, 10 Aug 2026 03:29:56 +0000 (20:29 -0700)]
Merge branch '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.
Chris Duncan [Sun, 9 Aug 2026 23:27:10 +0000 (16:27 -0700)]
Post data parsing errors back to worker host if possible.
Chris Duncan [Sun, 9 Aug 2026 20:59:35 +0000 (13:59 -0700)]
Fix account derivation test to work with new lower hard cap.
Chris Duncan [Sun, 9 Aug 2026 20:57:54 +0000 (13:57 -0700)]
Hard-cap wallet account derivation batch at 1000, now matches documentation.
Chris Duncan [Sun, 9 Aug 2026 20:45:58 +0000 (13:45 -0700)]
Block off env-specific autolock broadcast.
Chris Duncan [Sun, 9 Aug 2026 20:39:59 +0000 (13:39 -0700)]
Fix bad copy-paste.
Chris Duncan [Sun, 9 Aug 2026 20:37:10 +0000 (13:37 -0700)]
Fix possible undefined access.
Chris Duncan [Sun, 9 Aug 2026 19:31:40 +0000 (12:31 -0700)]
Fix promise return.
Chris Duncan [Sun, 9 Aug 2026 19:29:26 +0000 (12:29 -0700)]
Assign vault worker result to new object for better type resolution.
Chris Duncan [Sun, 9 Aug 2026 19:25:00 +0000 (12:25 -0700)]
Put task metadata in result with object keys.
Chris Duncan [Sun, 9 Aug 2026 19:22:28 +0000 (12:22 -0700)]
Return bytes instead of buffer to enable array ops.
Chris Duncan [Sun, 9 Aug 2026 19:15:57 +0000 (12:15 -0700)]
Remove unnecessary returns.
Chris Duncan [Sun, 9 Aug 2026 19:12:44 +0000 (12:12 -0700)]
Remove extra brace and redundant type check.
Chris Duncan [Sun, 9 Aug 2026 19:06:57 +0000 (12:06 -0700)]
Fix missing braces.
Chris Duncan [Sun, 9 Aug 2026 18:58:34 +0000 (11:58 -0700)]
Refactor secret buffers to enable proper zeroing.
Chris Duncan [Sun, 9 Aug 2026 16:40:48 +0000 (09:40 -0700)]
Call other subtype Block methods explicitly.
Chris Duncan [Sun, 9 Aug 2026 15:15:29 +0000 (08:15 -0700)]
Revert to labeled statements for env-specific worker init.
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.
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.
Chris Duncan [Sun, 9 Aug 2026 09:40:40 +0000 (02:40 -0700)]
Throw if more than one index passed in signing request.
Chris Duncan [Sun, 9 Aug 2026 09:34:36 +0000 (02:34 -0700)]
Set default account balance and receivable if not yet opened.
Chris Duncan [Sun, 9 Aug 2026 09:25:11 +0000 (02:25 -0700)]
Reject all worker tasks with a real error object.
Chris Duncan [Sun, 9 Aug 2026 09:13:41 +0000 (02:13 -0700)]
Hard cap wallet account derivation at 10,000.
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.
Chris Duncan [Sun, 9 Aug 2026 09:11:43 +0000 (02:11 -0700)]
Fix wrong variable.
Chris Duncan [Sun, 9 Aug 2026 06:21:32 +0000 (23:21 -0700)]
Adjust worker returns.
Chris Duncan [Sun, 9 Aug 2026 03:26:18 +0000 (20:26 -0700)]
Provide better error messages from vault.
Chris Duncan [Sun, 9 Aug 2026 01:54:22 +0000 (18:54 -0700)]
Fix address validation regression.
Chris Duncan [Sat, 8 Aug 2026 21:49:18 +0000 (14:49 -0700)]
Fix frontier regex and allow special '0' opening block value.
Chris Duncan [Sat, 8 Aug 2026 21:29:57 +0000 (14:29 -0700)]
Explicitly call appropriate block subtype function when refreshing account frontiers.
Chris Duncan [Sat, 8 Aug 2026 21:17:37 +0000 (14:17 -0700)]
Refactor address validation as boolean instead of assertion.
Chris Duncan [Sat, 8 Aug 2026 18:57:15 +0000 (11:57 -0700)]
Set account data from account info refresh.
Chris Duncan [Sat, 8 Aug 2026 18:54:36 +0000 (11:54 -0700)]
Narrow account_info response validation.
Chris Duncan [Sat, 8 Aug 2026 18:53:14 +0000 (11:53 -0700)]
Pull address pattern matching out of function to module constant.
Chris Duncan [Sat, 8 Aug 2026 18:51:37 +0000 (11:51 -0700)]
Allow any input datatype when validating account addresses.
Chris Duncan [Sat, 8 Aug 2026 18:05:21 +0000 (11:05 -0700)]
Add account version to account class.
Chris Duncan [Sat, 8 Aug 2026 17:18:34 +0000 (10:18 -0700)]
Extend hex validation to check length.
Chris Duncan [Sat, 8 Aug 2026 16:22:01 +0000 (09:22 -0700)]
Typecheck ckd index arg and use VaultError consistently.
Chris Duncan [Sat, 8 Aug 2026 15:54:17 +0000 (08:54 -0700)]
Start fixing Sony version required for epoch blocks during refresh.
Chris Duncan [Sat, 8 Aug 2026 09:31:09 +0000 (02:31 -0700)]
Wait for lock before deleting wallet.
Chris Duncan [Sat, 8 Aug 2026 09:30:17 +0000 (02:30 -0700)]
Remove deprecated member.
Chris Duncan [Sat, 8 Aug 2026 09:29:42 +0000 (02:29 -0700)]
Remove redundant condition.
Chris Duncan [Sat, 8 Aug 2026 09:29:11 +0000 (02:29 -0700)]
Check for index buffer with actual values.
Chris Duncan [Sat, 8 Aug 2026 09:28:41 +0000 (02:28 -0700)]
Remove duplicated copyright header.
Chris Duncan [Sat, 8 Aug 2026 09:22:29 +0000 (02:22 -0700)]
Fix error message.
Chris Duncan [Sat, 8 Aug 2026 09:21:56 +0000 (02:21 -0700)]
Remove unused property.
Chris Duncan [Sat, 8 Aug 2026 09:19:20 +0000 (02:19 -0700)]
Enable version spec for epochs.
Chris Duncan [Sat, 8 Aug 2026 09:19:03 +0000 (02:19 -0700)]
Resume vault autolock timer when catching async errors.
Chris Duncan [Sat, 8 Aug 2026 09:09:27 +0000 (02:09 -0700)]
Fix missing wallet type.
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.
Chris Duncan [Sat, 8 Aug 2026 08:35:57 +0000 (01:35 -0700)]
Miscellaneous fixes.
Chris Duncan [Sat, 8 Aug 2026 06:42:26 +0000 (23:42 -0700)]
Increase visible account derivation limit now that batches are possible.
Chris Duncan [Sat, 8 Aug 2026 06:33:45 +0000 (23:33 -0700)]
Fix signing calls to also pass index as u32.
Chris Duncan [Sat, 8 Aug 2026 05:10:20 +0000 (22:10 -0700)]
Transfer account indexes to vault worker as typed array.
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.
Chris Duncan [Fri, 7 Aug 2026 21:43:28 +0000 (14:43 -0700)]
Derive link_as_account from link in Blocks.
Chris Duncan [Fri, 7 Aug 2026 21:19:33 +0000 (14:19 -0700)]
Restrict special object properties from rolodex names.
Chris Duncan [Fri, 7 Aug 2026 21:11:04 +0000 (14:11 -0700)]
Fix rep in change block being overwritten by burn account.
Chris Duncan [Fri, 7 Aug 2026 21:10:37 +0000 (14:10 -0700)]
Remove logging from passkey errors.
Chris Duncan [Fri, 7 Aug 2026 20:51:39 +0000 (13:51 -0700)]
Fix response fields excluded without flags in request.
Chris Duncan [Fri, 7 Aug 2026 19:55:20 +0000 (12:55 -0700)]
Fix account_info fields replaced in v22.
Chris Duncan [Fri, 7 Aug 2026 19:43:33 +0000 (12:43 -0700)]
Fix address construction and error logging.
Chris Duncan [Fri, 7 Aug 2026 19:36:11 +0000 (12:36 -0700)]
Fix missing imports.
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.
Chris Duncan [Fri, 7 Aug 2026 19:22:34 +0000 (12:22 -0700)]
Configure specialized block function for the subtype "open".
Chris Duncan [Fri, 7 Aug 2026 18:04:55 +0000 (11:04 -0700)]
Include link as account in Block subtype calls.
Chris Duncan [Fri, 7 Aug 2026 16:23:17 +0000 (09:23 -0700)]
More RPC refactoring.
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.
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.
Chris Duncan [Fri, 7 Aug 2026 06:37:24 +0000 (23:37 -0700)]
Implement more RPC response validators.
Chris Duncan [Fri, 7 Aug 2026 05:15:27 +0000 (22:15 -0700)]
Define account_balance RPC shape and reuse in accounts_balances.
Chris Duncan [Fri, 7 Aug 2026 04:31:00 +0000 (21:31 -0700)]
Extend Hex type to accomodate string expectations.
Chris Duncan [Fri, 7 Aug 2026 04:23:53 +0000 (21:23 -0700)]
Remove unnecessary early return.
Chris Duncan [Fri, 7 Aug 2026 04:20:53 +0000 (21:20 -0700)]
Start refactoring RPC method response parsing.
Chris Duncan [Thu, 6 Aug 2026 15:19:39 +0000 (08:19 -0700)]
Refactor RPC to require auth upfront instead of getting from env.