]> git.codecow.com Git - libnemo.git/log
libnemo.git
10 months agoType definition file fixes.
Chris Duncan [Fri, 8 Aug 2025 02:20:13 +0000 (19:20 -0700)]
Type definition file fixes.

10 months agoDeprecate unnecessary unknown union types.
Chris Duncan [Fri, 8 Aug 2025 02:15:46 +0000 (19:15 -0700)]
Deprecate unnecessary unknown union types.

10 months agoRebuild dependencies.
Chris Duncan [Fri, 8 Aug 2025 02:06:01 +0000 (19:06 -0700)]
Rebuild dependencies.

10 months agoFix pow and tool tests.
Chris Duncan [Fri, 8 Aug 2025 01:23:16 +0000 (18:23 -0700)]
Fix pow and tool tests.

10 months agoFinish fixing block tests.
Chris Duncan [Fri, 8 Aug 2025 01:16:47 +0000 (18:16 -0700)]
Finish fixing block tests.

10 months agoFix link part of block hash.
Chris Duncan [Fri, 8 Aug 2025 01:16:40 +0000 (18:16 -0700)]
Fix link part of block hash.

10 months agoUse public key for open block pow per spec.
Chris Duncan [Fri, 8 Aug 2025 01:05:04 +0000 (18:05 -0700)]
Use public key for open block pow per spec.

10 months agoFix block signing test parameters.
Chris Duncan [Fri, 8 Aug 2025 00:53:59 +0000 (17:53 -0700)]
Fix block signing test parameters.

10 months agoFix block tests.
Chris Duncan [Thu, 7 Aug 2025 21:40:41 +0000 (14:40 -0700)]
Fix block tests.

10 months agoNarrow type checking in blake digest.
Chris Duncan [Thu, 7 Aug 2025 20:45:11 +0000 (13:45 -0700)]
Narrow type checking in blake digest.

10 months agoFix wallet signature output.
Chris Duncan [Thu, 7 Aug 2025 20:21:45 +0000 (13:21 -0700)]
Fix wallet signature output.

10 months agoFix default amount units.
Chris Duncan [Thu, 7 Aug 2025 19:49:17 +0000 (12:49 -0700)]
Fix default amount units.

10 months agoStart fixing block tests.
Chris Duncan [Thu, 7 Aug 2025 19:43:32 +0000 (12:43 -0700)]
Start fixing block tests.

10 months agoRevert block hash output but implement it as a wrapper for private hash byte method.
Chris Duncan [Thu, 7 Aug 2025 19:42:55 +0000 (12:42 -0700)]
Revert block hash output but implement it as a wrapper for private hash byte method.

10 months agoAllow block signing to return block immediately instead of a promise if a precalculat...
Chris Duncan [Thu, 7 Aug 2025 19:14:17 +0000 (12:14 -0700)]
Allow block signing to return block immediately instead of a promise if a precalculated signature is provided. Update type definitions.

10 months agoScrap overcomplicated block methods to and from.
Chris Duncan [Thu, 7 Aug 2025 18:39:44 +0000 (11:39 -0700)]
Scrap overcomplicated block methods to and from.

10 months agoAdd documentation for block constructor. Remove signature from constructor and allow...
Chris Duncan [Thu, 7 Aug 2025 18:38:34 +0000 (11:38 -0700)]
Add documentation for block constructor. Remove signature from constructor and allow literal signature string to be passed to sign method.

10 months agoAllow number type for balance.
Chris Duncan [Thu, 7 Aug 2025 18:36:45 +0000 (11:36 -0700)]
Allow number type for balance.

10 months agoUse zero public key instead of importing an entire account.
Chris Duncan [Thu, 7 Aug 2025 16:50:31 +0000 (09:50 -0700)]
Use zero public key instead of importing an entire account.

10 months agoSave burn address public key as its own constant.
Chris Duncan [Thu, 7 Aug 2025 16:48:31 +0000 (09:48 -0700)]
Save burn address public key as its own constant.

10 months agoStart updating block calls in tests.
Chris Duncan [Wed, 6 Aug 2025 21:46:20 +0000 (14:46 -0700)]
Start updating block calls in tests.

10 months agoAccept work as pow parameter. Fix Ledger verification. Fix sweep tool. Update type...
Chris Duncan [Wed, 6 Aug 2025 21:46:12 +0000 (14:46 -0700)]
Accept work as pow parameter. Fix Ledger verification. Fix sweep tool. Update type definitions.

10 months agoRepresentative may be unknown when creating block intended for change request.
Chris Duncan [Wed, 6 Aug 2025 19:46:14 +0000 (12:46 -0700)]
Representative may be unknown when creating block intended for change request.

10 months agoUpdate wallet type definitions.
Chris Duncan [Wed, 6 Aug 2025 19:37:45 +0000 (12:37 -0700)]
Update wallet type definitions.

10 months agoUpdate block type definition.
Chris Duncan [Wed, 6 Aug 2025 19:36:02 +0000 (12:36 -0700)]
Update block type definition.

10 months agoFix Ledger sign implementation and block tests.
Chris Duncan [Wed, 6 Aug 2025 19:34:30 +0000 (12:34 -0700)]
Fix Ledger sign implementation and block tests.

10 months agoFix wallet block usage. Add hex format option to wallet signature output.
Chris Duncan [Wed, 6 Aug 2025 19:25:22 +0000 (12:25 -0700)]
Fix wallet block usage. Add hex format option to wallet signature output.

10 months agoEliminate redundant DataViews from BIP-44 ckd.
Chris Duncan [Wed, 6 Aug 2025 18:52:35 +0000 (11:52 -0700)]
Eliminate redundant DataViews from BIP-44 ckd.

10 months agoExport updated block class.
Chris Duncan [Wed, 6 Aug 2025 17:56:06 +0000 (10:56 -0700)]
Export updated block class.

10 months agoReenable signature and work as block constructor args. Adjust error handling.
Chris Duncan [Wed, 6 Aug 2025 17:55:15 +0000 (10:55 -0700)]
Reenable signature and work as block constructor args. Adjust error handling.

10 months agoExpand options for block constructor arguments, using block account as fallback.
Chris Duncan [Wed, 6 Aug 2025 17:52:40 +0000 (10:52 -0700)]
Expand options for block constructor arguments, using block account as fallback.

10 months agoAdjust error handling for block signature verification.
Chris Duncan [Wed, 6 Aug 2025 17:35:30 +0000 (10:35 -0700)]
Adjust error handling for block signature verification.

10 months agoMove block validation.
Chris Duncan [Wed, 6 Aug 2025 17:31:01 +0000 (10:31 -0700)]
Move block validation.

10 months agoRefactor block hash and link to be stored as bytes and converted as needed.
Chris Duncan [Wed, 6 Aug 2025 05:00:37 +0000 (22:00 -0700)]
Refactor block hash and link to be stored as bytes and converted as needed.

10 months agoRefactor Block to be a concrete class instead of abstract.
Chris Duncan [Wed, 6 Aug 2025 04:37:39 +0000 (21:37 -0700)]
Refactor Block to be a concrete class instead of abstract.

10 months agoUse conventional JSON stringification call.
Chris Duncan [Wed, 6 Aug 2025 04:23:07 +0000 (21:23 -0700)]
Use conventional JSON stringification call.

10 months agoRefactor block signing method to include wallet option.
Chris Duncan [Wed, 6 Aug 2025 04:21:57 +0000 (21:21 -0700)]
Refactor block signing method to include wallet option.

10 months agoReturn block from pow to enable call chain.
Chris Duncan [Wed, 6 Aug 2025 04:06:00 +0000 (21:06 -0700)]
Return block from pow to enable call chain.

10 months agoAdd chaining functions for handling receivables.
Chris Duncan [Wed, 6 Aug 2025 04:04:37 +0000 (21:04 -0700)]
Add chaining functions for handling receivables.

10 months agoCreate initial chaining functions for Block class.
Chris Duncan [Tue, 5 Aug 2025 21:50:50 +0000 (14:50 -0700)]
Create initial chaining functions for Block class.

10 months agoUpdate dependencies.
Chris Duncan [Tue, 5 Aug 2025 14:14:13 +0000 (07:14 -0700)]
Update dependencies.

10 months agoMerge branch 'releases/v0.2'
Chris Duncan [Tue, 5 Aug 2025 14:09:17 +0000 (07:09 -0700)]
Merge branch 'releases/v0.2'

10 months agov0.2.0
Chris Duncan [Tue, 5 Aug 2025 00:20:43 +0000 (17:20 -0700)]
v0.2.0

10 months agoMerge branch 'next/refactoring-cleanup'
Chris Duncan [Mon, 4 Aug 2025 23:30:34 +0000 (16:30 -0700)]
Merge branch 'next/refactoring-cleanup'

10 months agoRemove deprecated account signing method. Remove deprecated references to account...
Chris Duncan [Mon, 4 Aug 2025 23:28:48 +0000 (16:28 -0700)]
Remove deprecated account signing method. Remove deprecated references to account encryption with passwords. Simplify account public key derivation since private key is not retained.

10 months agoOverride account derivation for Ledger wallets.
Chris Duncan [Mon, 4 Aug 2025 23:06:11 +0000 (16:06 -0700)]
Override account derivation for Ledger wallets.

10 months agoDestroy wallets used in tests to free their resources.
Chris Duncan [Mon, 4 Aug 2025 22:21:00 +0000 (15:21 -0700)]
Destroy wallets used in tests to free their resources.

10 months agoDestroy wallet on error during create or import.
Chris Duncan [Mon, 4 Aug 2025 22:20:30 +0000 (15:20 -0700)]
Destroy wallet on error during create or import.

10 months agoFix wallet imports for performance suite.
Chris Duncan [Mon, 4 Aug 2025 22:08:12 +0000 (15:08 -0700)]
Fix wallet imports for performance suite.

10 months agoReorder nacl functions.
Chris Duncan [Mon, 4 Aug 2025 21:58:34 +0000 (14:58 -0700)]
Reorder nacl functions.

10 months agoRefactor BIP-44 to allow additional chain and address parameters, allowing Nano which...
Chris Duncan [Mon, 4 Aug 2025 21:55:24 +0000 (14:55 -0700)]
Refactor BIP-44 to allow additional chain and address parameters, allowing Nano which uses neither to still resolve.

10 months agoAdjust default exports used in Safe worker to allow easier import.
Chris Duncan [Mon, 4 Aug 2025 21:49:24 +0000 (14:49 -0700)]
Adjust default exports used in Safe worker to allow easier import.

10 months agoSimplify BIP-44 child key derivation and use Nano coin by default.
Chris Duncan [Mon, 4 Aug 2025 18:30:40 +0000 (11:30 -0700)]
Simplify BIP-44 child key derivation and use Nano coin by default.

10 months agoImplement entropy in safe.
Chris Duncan [Mon, 4 Aug 2025 18:23:23 +0000 (11:23 -0700)]
Implement entropy in safe.

10 months agoSimplify entropy hex regex.
Chris Duncan [Mon, 4 Aug 2025 18:11:42 +0000 (11:11 -0700)]
Simplify entropy hex regex.

10 months agoSimplify mnemonic construction by offloading to Entropy class.
Chris Duncan [Mon, 4 Aug 2025 18:04:19 +0000 (11:04 -0700)]
Simplify mnemonic construction by offloading to Entropy class.

10 months agoAdd convenience getter for entropy as bigint. Add constructor overload for unknown...
Chris Duncan [Mon, 4 Aug 2025 17:54:56 +0000 (10:54 -0700)]
Add convenience getter for entropy as bigint. Add constructor overload for unknown inputs to get type checking working.

10 months agoAdd entropy in bigint format to enable bitwise operations.
Chris Duncan [Mon, 4 Aug 2025 17:45:47 +0000 (10:45 -0700)]
Add entropy in bigint format to enable bitwise operations.

10 months agoDocumentation.
Chris Duncan [Mon, 4 Aug 2025 17:34:49 +0000 (10:34 -0700)]
Documentation.

10 months agoPrivatize entropy constants.
Chris Duncan [Mon, 4 Aug 2025 17:30:04 +0000 (10:30 -0700)]
Privatize entropy constants.

10 months agoRefactor entropy to be simpler and just use overloaded constructor to create object...
Chris Duncan [Mon, 4 Aug 2025 17:29:31 +0000 (10:29 -0700)]
Refactor entropy to be simpler and just use overloaded constructor to create object synchronously.

10 months agoImprove entropy validation when importing.
Chris Duncan [Mon, 4 Aug 2025 16:45:45 +0000 (09:45 -0700)]
Improve entropy validation when importing.

10 months agoType check entropy and checksum concatenation. Ensure mnemonic phrase is lowercase...
Chris Duncan [Mon, 4 Aug 2025 13:57:32 +0000 (06:57 -0700)]
Type check entropy and checksum concatenation. Ensure mnemonic phrase is lowercase when imported.

10 months agoUpdate import paths.
Chris Duncan [Mon, 4 Aug 2025 13:50:23 +0000 (06:50 -0700)]
Update import paths.

10 months agoValidate mnemonic import to wallet more strictly. Update import paths.
Chris Duncan [Mon, 4 Aug 2025 13:49:20 +0000 (06:49 -0700)]
Validate mnemonic import to wallet more strictly. Update import paths.

10 months agoValidate mnemonic input type and format.
Chris Duncan [Mon, 4 Aug 2025 13:48:42 +0000 (06:48 -0700)]
Validate mnemonic input type and format.

10 months agoReorder functions.
Chris Duncan [Sun, 3 Aug 2025 22:08:05 +0000 (15:08 -0700)]
Reorder functions.

10 months agoRemove silenced function call.
Chris Duncan [Sun, 3 Aug 2025 22:07:16 +0000 (15:07 -0700)]
Remove silenced function call.

10 months agoUse bitwise truncation instead of calling Math function.
Chris Duncan [Sun, 3 Aug 2025 22:06:41 +0000 (15:06 -0700)]
Use bitwise truncation instead of calling Math function.

10 months agoEliminate another function call by declaring 4-element arrays of float arrays inline.
Chris Duncan [Sun, 3 Aug 2025 22:01:33 +0000 (15:01 -0700)]
Eliminate another function call by declaring 4-element arrays of float arrays inline.

10 months agoEliminate function calls by declaring float arrays inline.
Chris Duncan [Sun, 3 Aug 2025 22:00:00 +0000 (15:00 -0700)]
Eliminate function calls by declaring float arrays inline.

10 months agoReplace set method with builtin typed array methods.
Chris Duncan [Sun, 3 Aug 2025 21:57:20 +0000 (14:57 -0700)]
Replace set method with builtin typed array methods.

10 months agoRevert fill change.
Chris Duncan [Sun, 3 Aug 2025 11:26:09 +0000 (04:26 -0700)]
Revert fill change.

10 months agoLowercase hex.
Chris Duncan [Sun, 3 Aug 2025 11:00:09 +0000 (04:00 -0700)]
Lowercase hex.

10 months agoFill is redundant on a newly initialized array.
Chris Duncan [Sun, 3 Aug 2025 10:45:40 +0000 (03:45 -0700)]
Fill is redundant on a newly initialized array.

10 months agoImplement optimized square function for nacl.
Chris Duncan [Sun, 3 Aug 2025 10:44:40 +0000 (03:44 -0700)]
Implement optimized square function for nacl.

10 months agoExpand operation function names for clarity over brevity.
Chris Duncan [Sun, 3 Aug 2025 09:05:15 +0000 (02:05 -0700)]
Expand operation function names for clarity over brevity.

10 months agoDefine q[3] as XY constant value. Add gf[4] helper.
Chris Duncan [Sun, 3 Aug 2025 09:04:11 +0000 (02:04 -0700)]
Define q[3] as XY constant value. Add gf[4] helper.

10 months agoSubarray to eliminate a copy.
Chris Duncan [Sun, 3 Aug 2025 07:27:06 +0000 (00:27 -0700)]
Subarray to eliminate a copy.

10 months agoUse set to copy buffer values more efficiently than setting up many for loops. Remove...
Chris Duncan [Sun, 3 Aug 2025 07:22:34 +0000 (00:22 -0700)]
Use set to copy buffer values more efficiently than setting up many for loops. Remove redundant crypto_hash and call blake directly.

10 months agoReplace multiple gf definitions and redundant crypto_hash
Chris Duncan [Sun, 3 Aug 2025 06:13:43 +0000 (23:13 -0700)]
Replace multiple gf definitions and redundant crypto_hash

10 months agoConvert index to bytes with buffers instead of string manipulation.
Chris Duncan [Sun, 3 Aug 2025 05:40:12 +0000 (22:40 -0700)]
Convert index to bytes with buffers instead of string manipulation.

10 months agoSpecify backing buffer
Chris Duncan [Sun, 3 Aug 2025 02:17:50 +0000 (19:17 -0700)]
Specify backing buffer

10 months agoMerge branch 'next/derive-all-accounts'
Chris Duncan [Sat, 2 Aug 2025 21:25:21 +0000 (14:25 -0700)]
Merge branch 'next/derive-all-accounts'

10 months agoFix rolodex contact management.
Chris Duncan [Sat, 2 Aug 2025 21:21:50 +0000 (14:21 -0700)]
Fix rolodex contact management.

10 months agoFix lock and unlock tests.
Chris Duncan [Sat, 2 Aug 2025 20:15:57 +0000 (13:15 -0700)]
Fix lock and unlock tests.

10 months agoBe more specific when validating mnemonic string input.
Chris Duncan [Sat, 2 Aug 2025 20:15:10 +0000 (13:15 -0700)]
Be more specific when validating mnemonic string input.

10 months agoFix test.
Chris Duncan [Sat, 2 Aug 2025 20:05:13 +0000 (13:05 -0700)]
Fix test.

10 months agoImprove input validation for wallet secret verification.
Chris Duncan [Sat, 2 Aug 2025 20:04:48 +0000 (13:04 -0700)]
Improve input validation for wallet secret verification.

10 months agoImprove wallet secret import validation.
Chris Duncan [Sat, 2 Aug 2025 20:00:09 +0000 (13:00 -0700)]
Improve wallet secret import validation.

10 months agoFix test variable reference.
Chris Duncan [Sat, 2 Aug 2025 19:26:51 +0000 (12:26 -0700)]
Fix test variable reference.

10 months agoAccept wallet id as optional input instead of reassigning after the fact during import.
Chris Duncan [Sat, 2 Aug 2025 19:26:36 +0000 (12:26 -0700)]
Accept wallet id as optional input instead of reassigning after the fact during import.

10 months agoFix blake wallet import not assigning mnemonic from seed as if entropy as allowed...
Chris Duncan [Sat, 2 Aug 2025 19:25:57 +0000 (12:25 -0700)]
Fix blake wallet import not assigning mnemonic from seed as if entropy as allowed by spec.

10 months agoRemove debugger statement.
Chris Duncan [Sat, 2 Aug 2025 19:05:21 +0000 (12:05 -0700)]
Remove debugger statement.

10 months agoFix db calls using inline "id" key and keypath.
Chris Duncan [Sat, 2 Aug 2025 19:05:11 +0000 (12:05 -0700)]
Fix db calls using inline "id" key and keypath.

10 months agoEnable indexeddb in node builds.
Chris Duncan [Sat, 2 Aug 2025 18:59:12 +0000 (11:59 -0700)]
Enable indexeddb in node builds.

10 months agoUpdate type definition for wallet.
Chris Duncan [Sat, 2 Aug 2025 09:40:39 +0000 (02:40 -0700)]
Update type definition for wallet.

10 months agoOverhaul wallet import tests.
Chris Duncan [Sat, 2 Aug 2025 09:38:09 +0000 (02:38 -0700)]
Overhaul wallet import tests.

10 months agoFix wallet restore from db id.
Chris Duncan [Sat, 2 Aug 2025 09:37:56 +0000 (02:37 -0700)]
Fix wallet restore from db id.

10 months agoFix valid seed byte ranges.
Chris Duncan [Sat, 2 Aug 2025 09:13:45 +0000 (02:13 -0700)]
Fix valid seed byte ranges.