]>
git.codecow.com Git - libnemo.git/log
Chris Duncan [Wed, 13 Aug 2025 21:48:19 +0000 (14:48 -0700)]
Condense declarations.
Chris Duncan [Wed, 13 Aug 2025 21:45:22 +0000 (14:45 -0700)]
Refactor method for bit shift declaration and modulo usage.
Chris Duncan [Wed, 13 Aug 2025 21:16:05 +0000 (14:16 -0700)]
Remove branching statement.
Chris Duncan [Wed, 13 Aug 2025 21:04:29 +0000 (14:04 -0700)]
Switch naco to bigint to take advantage of native operators, see Multiply and Square for examples of reduced modulo arithmetic operations.
Chris Duncan [Wed, 13 Aug 2025 20:35:43 +0000 (13:35 -0700)]
PoW performance depends on nano-pow, so swap it for signature performance metrics.
Chris Duncan [Wed, 13 Aug 2025 16:33:24 +0000 (09:33 -0700)]
Privatize vn method and deprecate wrapper method.
Chris Duncan [Wed, 13 Aug 2025 16:26:19 +0000 (09:26 -0700)]
Include input on block sign errors, which is stripped in production build.
Chris Duncan [Wed, 13 Aug 2025 15:04:33 +0000 (08:04 -0700)]
Use ternary operator instead of casting bool to int.
Chris Duncan [Wed, 13 Aug 2025 14:59:27 +0000 (07:59 -0700)]
Use typed array instead of generic.
Chris Duncan [Wed, 13 Aug 2025 04:48:42 +0000 (21:48 -0700)]
Use typed array instead of generic.
Chris Duncan [Mon, 11 Aug 2025 16:42:28 +0000 (09:42 -0700)]
Shorten JSdoc for nano-nacl.
Chris Duncan [Mon, 11 Aug 2025 16:39:45 +0000 (09:39 -0700)]
Replace account load nomenclature to avoid collision with keyword.
Chris Duncan [Mon, 11 Aug 2025 16:03:38 +0000 (09:03 -0700)]
Fix tests.
Chris Duncan [Mon, 11 Aug 2025 16:03:02 +0000 (09:03 -0700)]
Update static member access and fix type definition for Rolodex.
Chris Duncan [Mon, 11 Aug 2025 15:26:41 +0000 (08:26 -0700)]
Publicize ledger support getter again so it can be used in test flow control.
Chris Duncan [Mon, 11 Aug 2025 15:21:52 +0000 (08:21 -0700)]
Extract wallet backup and restore to separate modules. Update type definition file.
Chris Duncan [Mon, 11 Aug 2025 13:33:15 +0000 (06:33 -0700)]
Update JSdoc for sign methods. Remove output option for sign method and just reference block property to reduce redundancy. Type check arguments.
Chris Duncan [Mon, 11 Aug 2025 13:15:09 +0000 (06:15 -0700)]
Privatize ledger event handlers.
Chris Duncan [Mon, 11 Aug 2025 13:12:31 +0000 (06:12 -0700)]
Update wallet account JSdoc.
Chris Duncan [Mon, 11 Aug 2025 13:02:32 +0000 (06:02 -0700)]
Simplify account range swap.
Chris Duncan [Mon, 11 Aug 2025 13:00:24 +0000 (06:00 -0700)]
Privatize some ledger properties and rearrance them toward the bottom of the file. Update JSdoc for accounts method.
Chris Duncan [Mon, 11 Aug 2025 12:52:06 +0000 (05:52 -0700)]
Move Ledger constants into Ledger class instead of shared constants file.
Chris Duncan [Sun, 10 Aug 2025 22:01:28 +0000 (15:01 -0700)]
Move wallet create validation into separate module.
Chris Duncan [Sun, 10 Aug 2025 20:22:08 +0000 (13:22 -0700)]
Move data validation for wallet load into separate load module. Refactor how Ledger calls super. Revert wallet create and load parameter swap.
Chris Duncan [Sun, 10 Aug 2025 06:31:14 +0000 (23:31 -0700)]
Create wallet import path.
Chris Duncan [Sun, 10 Aug 2025 06:27:58 +0000 (23:27 -0700)]
Rename wallet to be main index file.
Chris Duncan [Sun, 10 Aug 2025 06:23:27 +0000 (23:23 -0700)]
Move vault files into their own directory.
Chris Duncan [Sun, 10 Aug 2025 06:22:03 +0000 (23:22 -0700)]
Refactor reused property.
Chris Duncan [Sun, 10 Aug 2025 06:17:32 +0000 (23:17 -0700)]
Rename safe to vault.
Chris Duncan [Sun, 10 Aug 2025 05:43:20 +0000 (22:43 -0700)]
Reorder imports.
Chris Duncan [Sun, 10 Aug 2025 05:42:53 +0000 (22:42 -0700)]
Extract wallet create to separate module. Allow mnemonic salt to be excluded (undefined) but throw on any non-string instead of converting to empty string to avoid user confusion about resulting wallet functionality.
Chris Duncan [Sun, 10 Aug 2025 05:17:17 +0000 (22:17 -0700)]
Remove unused imports.
Chris Duncan [Sun, 10 Aug 2025 05:16:28 +0000 (22:16 -0700)]
Extract wallet load into separate module.
Chris Duncan [Sun, 10 Aug 2025 05:16:00 +0000 (22:16 -0700)]
Update type definition file.
Chris Duncan [Sun, 10 Aug 2025 02:19:56 +0000 (19:19 -0700)]
Simplify account index swap.
Chris Duncan [Sun, 10 Aug 2025 02:19:41 +0000 (19:19 -0700)]
Update tests to call wallet load instead of wallet import.
Chris Duncan [Sun, 10 Aug 2025 00:47:50 +0000 (17:47 -0700)]
Add getter for wallet safe to enable calls from modularized functions.
Chris Duncan [Sun, 10 Aug 2025 00:38:37 +0000 (17:38 -0700)]
Strict mode enabled by default for ESM.
Chris Duncan [Sun, 10 Aug 2025 00:33:14 +0000 (17:33 -0700)]
Rename wallet import to avoid confusion with JS keyword.
Chris Duncan [Sat, 9 Aug 2025 22:56:54 +0000 (15:56 -0700)]
Remove unused imports.
Chris Duncan [Sat, 9 Aug 2025 09:05:05 +0000 (02:05 -0700)]
Add wallet barrel.
Chris Duncan [Sat, 9 Aug 2025 09:02:18 +0000 (02:02 -0700)]
Add license header.
Chris Duncan [Sat, 9 Aug 2025 08:34:58 +0000 (01:34 -0700)]
Update crypto module imports.
Chris Duncan [Sat, 9 Aug 2025 08:23:28 +0000 (01:23 -0700)]
Clear message data from worker when error is caught.
Chris Duncan [Sat, 9 Aug 2025 08:16:01 +0000 (01:16 -0700)]
Zero out sensitive data in worker from input message as it is processed.
Chris Duncan [Sat, 9 Aug 2025 07:49:17 +0000 (00:49 -0700)]
Typo.
Chris Duncan [Sat, 9 Aug 2025 07:47:12 +0000 (00:47 -0700)]
Remove byte reversing and just traverse backwards.
Chris Duncan [Sat, 9 Aug 2025 07:30:35 +0000 (00:30 -0700)]
Fix BIP-44 ckd using SLIP-0010 which only defines hardened addresses at all levels, deviating from BIP-44.
Chris Duncan [Sat, 9 Aug 2025 07:24:35 +0000 (00:24 -0700)]
Move an imported constant used in only one place.
Chris Duncan [Sat, 9 Aug 2025 07:22:55 +0000 (00:22 -0700)]
Simplify BIP-39 seed gen by deriving bits directly.
Chris Duncan [Sat, 9 Aug 2025 07:18:11 +0000 (00:18 -0700)]
Return early from byte erasure instead of using control flow.
Chris Duncan [Sat, 9 Aug 2025 07:11:11 +0000 (00:11 -0700)]
Throw on invalid base32 characters during conversion.
Chris Duncan [Sat, 9 Aug 2025 07:02:34 +0000 (00:02 -0700)]
Remove redundant signature check.
Chris Duncan [Sat, 9 Aug 2025 06:57:09 +0000 (23:57 -0700)]
Fix block processing JSON.
Chris Duncan [Sat, 9 Aug 2025 06:52:22 +0000 (23:52 -0700)]
Fix change block link checking.
Chris Duncan [Sat, 9 Aug 2025 06:29:02 +0000 (23:29 -0700)]
Fix old BIP-39 nomenclature.
Chris Duncan [Sat, 9 Aug 2025 06:27:47 +0000 (23:27 -0700)]
Create new directories to improve file organization.
Chris Duncan [Sat, 9 Aug 2025 06:24:02 +0000 (23:24 -0700)]
Reset account internal flag.
Chris Duncan [Fri, 8 Aug 2025 21:36:00 +0000 (14:36 -0700)]
Erase encoded secrets after encrypting them.
Chris Duncan [Fri, 8 Aug 2025 21:34:30 +0000 (14:34 -0700)]
Store mnemonic as buffer and convert as needed.
Chris Duncan [Fri, 8 Aug 2025 21:22:54 +0000 (14:22 -0700)]
Set safe seed and mnemonic directly from decryption method instead of returning. Encode and decode bytes explicitly to avoid string handling.
Chris Duncan [Fri, 8 Aug 2025 20:53:20 +0000 (13:53 -0700)]
Require wallet type as additional metadata to decrypt.
Chris Duncan [Fri, 8 Aug 2025 20:22:15 +0000 (13:22 -0700)]
Merge branch 'next/refactor-blocks'
Chris Duncan [Fri, 8 Aug 2025 20:03:28 +0000 (13:03 -0700)]
Fix ledger tests.
Chris Duncan [Fri, 8 Aug 2025 20:03:09 +0000 (13:03 -0700)]
Fix Ledger signature from block returning bytes instead of hex.
Chris Duncan [Fri, 8 Aug 2025 19:44:32 +0000 (12:44 -0700)]
Prioritize USB for Ledger for now.
Chris Duncan [Fri, 8 Aug 2025 19:41:37 +0000 (12:41 -0700)]
Fix pow test.
Chris Duncan [Fri, 8 Aug 2025 19:35:54 +0000 (12:35 -0700)]
Verify seed in constant time.
Chris Duncan [Fri, 8 Aug 2025 19:25:50 +0000 (12:25 -0700)]
Check for error property in RPC response.
Chris Duncan [Fri, 8 Aug 2025 19:23:54 +0000 (12:23 -0700)]
Match Ledger interface priority with documentation.
Chris Duncan [Fri, 8 Aug 2025 19:23:29 +0000 (12:23 -0700)]
Fix ledger signature output.
Chris Duncan [Fri, 8 Aug 2025 19:23:15 +0000 (12:23 -0700)]
Change block previous property to bytes.
Chris Duncan [Fri, 8 Aug 2025 19:22:18 +0000 (12:22 -0700)]
Fix wallet accounts return.
Chris Duncan [Fri, 8 Aug 2025 19:22:06 +0000 (12:22 -0700)]
Fix missing safe action from whitelist.
Chris Duncan [Fri, 8 Aug 2025 19:08:13 +0000 (12:08 -0700)]
Fix pow check when processing block.
Chris Duncan [Fri, 8 Aug 2025 19:04:53 +0000 (12:04 -0700)]
Reduce errors thrown by extracting addresses from account import data.
Chris Duncan [Fri, 8 Aug 2025 18:48:05 +0000 (11:48 -0700)]
Fix contact info sanitization.
Chris Duncan [Fri, 8 Aug 2025 18:43:33 +0000 (11:43 -0700)]
Avoid trying to transfer buffers if unsupported.
Chris Duncan [Fri, 8 Aug 2025 18:41:47 +0000 (11:41 -0700)]
Restrict iv to 96 bits per GCM best practice.
Chris Duncan [Fri, 8 Aug 2025 18:38:29 +0000 (11:38 -0700)]
Fix safe sign method ignoring wallet type when deriving account and add test scenario.
Chris Duncan [Fri, 8 Aug 2025 18:30:13 +0000 (11:30 -0700)]
Reorder methods.
Chris Duncan [Fri, 8 Aug 2025 18:29:25 +0000 (11:29 -0700)]
Extract wallet import to private method called by both create and import API methods.
Chris Duncan [Fri, 8 Aug 2025 18:28:54 +0000 (11:28 -0700)]
Remove debugger statement.
Chris Duncan [Fri, 8 Aug 2025 18:11:46 +0000 (11:11 -0700)]
Fix convert tool tests to be synchronous. Add convert tests for additional scenarios.
Chris Duncan [Fri, 8 Aug 2025 18:11:17 +0000 (11:11 -0700)]
Fix fractional raw handling and allow zero amounts.
Chris Duncan [Fri, 8 Aug 2025 15:24:46 +0000 (08:24 -0700)]
Utilize convert function for block balance calculations.
Chris Duncan [Fri, 8 Aug 2025 15:24:31 +0000 (08:24 -0700)]
Add number primitive support for unit conversion.
Chris Duncan [Fri, 8 Aug 2025 15:09:42 +0000 (08:09 -0700)]
Improve unit conversion.
Chris Duncan [Fri, 8 Aug 2025 15:09:22 +0000 (08:09 -0700)]
Fix duplicated test.
Chris Duncan [Fri, 8 Aug 2025 15:09:08 +0000 (08:09 -0700)]
Update protocol max values.
Chris Duncan [Fri, 8 Aug 2025 12:44:26 +0000 (05:44 -0700)]
Fix block unit conversion.
Chris Duncan [Fri, 8 Aug 2025 12:43:29 +0000 (05:43 -0700)]
Add test coverage for wallet balance conversion between units.
Chris Duncan [Fri, 8 Aug 2025 03:31:46 +0000 (20:31 -0700)]
Remove outdated documentation.
Chris Duncan [Fri, 8 Aug 2025 03:26:21 +0000 (20:26 -0700)]
Delete deprecated entropy class.
Chris Duncan [Fri, 8 Aug 2025 03:26:00 +0000 (20:26 -0700)]
Replace remaining usage of Entropy with plain crypto calls.
Chris Duncan [Fri, 8 Aug 2025 02:44:10 +0000 (19:44 -0700)]
Simplify BIP class names.
Chris Duncan [Fri, 8 Aug 2025 02:40:44 +0000 (19:40 -0700)]
Remove deprecated separate blake ckd file.
Chris Duncan [Fri, 8 Aug 2025 02:40:10 +0000 (19:40 -0700)]
Integrate blake ckd into wallet safe.
Chris Duncan [Fri, 8 Aug 2025 02:36:12 +0000 (19:36 -0700)]
Rename BIP files.
Chris Duncan [Fri, 8 Aug 2025 02:35:07 +0000 (19:35 -0700)]
Remove deprecated separate wordlist file.