Latest MyPIVXWallet Commits


This is sample text that can be added from the CMS

Fix Immature balance bug (#361)

Fix Immature balance bug (#361)

 move wallet balance from mempool to wallet

 remove immature outpoint state

 cache the balance

 move getUTXOs to wallet

 Remove .Immature OutpointState from tests

 test: just warn in case of missing txs in network mock

 fix: a couple of fix in getBalance and getUTXOs

 test: add immature balace integration test

 test: remove old getbalance test and update getUTXOs test

 move balance calculation back to mempool

* jsdoc


[TEST] Network simulator and some initial tests (#364)

[TEST] Network simulator and some initial tests (#364)

 test: add network simulator

 refactor: change name from setUpMainnetWallet to setUpLegacyMainnetWallet

 test: add HD mainnet wallet

 emit new-block even if there is no wallet loaded

 use this. in place of global wallet in getLatestBlocks

 test: sync spec tests

 fix bad merge and remove useless mock

 create tests/integration folder and tests/utils folder

* change import path


Polyfill nodejs crypto with noble (#360)

Polyfill nodejs crypto with noble (#360)

 Polyfill nodejs crypto with noble

 Fix double declaration

 Fix lint

 Fix polyfill

 Add polyfill tests

 Add buffer import

* Update scripts/polyfills/crypto.js

Co-authored-by: JSKitty <mail@jskitty.cat>

---------

Co-authored-by: JSKitty <jskitty@protonmail.com>
Co-authored-by: JSKitty <mail@jskitty.cat>


Improve debug logs (#342)

Improve debug logs (#342)

 Add debug utils functions

 Use debug util functions

 feat: improve debug logs

 removed unused import

 fix bad merge

 fix another bad merge

 remove unused import

 apply review


Fix bunch of bugs (#363)

Fix bunch of bugs (#363)

 fix: getLatestBlock bugs for non-shield wallets

 fix: make sure we have the correct blockheight when toggling network

 fix: fix transaction is not added to the wallet bug

 partially revert #340


Shield fixes (#354)

Shield fixes (#354)

 Remove sapling prover loader and add target to shield UTXOs

 Avoid recreating a double wrapped error

 Fix restore wallet shield bug

 Update jsdoc

 Prettier

 Fix typo

 Add target jsdoc

 Add isCreatingTransaction

 Add loading SHIELD parameters on tx creation

 Fix use wallet test

* fix percentage