v2.4.0
What's Changed
RPC Breaking Changes 🛠
- RPC
node/getStatus
now returns the latest accounts head inaccounts.head
- Effectively deleted wallet/rescanAccount in favor of wallet/rescan. It rescans all accounts and doesn't apply to one account. Also changed request input.
- RPC
wallet/exportAccount
now only returns encoded accounts and defaults to Base64Json format. It no longer supports returning an RpcAccountImport. - RPC
wallet/importAccount
now only accepts encoded accounts. It no longer supports importing an RpcAccountImport.
SDK Breaking Changes 🛠
- Deleted
Wallet.getLatestHeadHash()
in favor ofWallet.getLatestHead()
Other Changes
- supports viewing posted transactions on cli by @hughy in #4936
- Only log transaction flushing if non-zero by @dguenther in #4940
- Upgrade node-datachannel to 0.8.0 by @dguenther in #4941
- Remove unused eventLoopResolve in Wallet by @dguenther in #4946
- Remove use of deprecated block.previous in RemoteChainProcessor by @dguenther in #4945
- Fix deprecation and wrong runners in build-ironfish-rust-nodejs.yml by @dguenther in #4948
- Update Checkout action in CI to v4 by @dguenther in #4947
- Rahul/validate correct public address on import by @patnir in #4950
- Remove old migration code by @NullSoldier in #4954
- Feat: support chain/getBlocks by @hairtail in #4942
- Change account not to have 1 object constructor by @NullSoldier in #4956
- Fix scan state TODO in wallet code by @dguenther in #4960
- Separate out block getter from RPC serialization by @NullSoldier in #4963
- Asset balance deltas now display in the correct denomination by @mat-if in #4966
- adds raw transaction flag to combine notes by @patnir in #4915
- Update description of wallet:rescan by @dguenther in #4957
- determines raw tx sender from tx fields by @hughy in #4970
- Move wallet/account/encoder to wallet/exporter by @NullSoldier in #4971
- Move multisig key encoder into database by @NullSoldier in #4972
- Remove AccountValue from account importer/exporter by @NullSoldier in #4973
- sorts accounts by name in 'wallet:transaction:view' by @hughy in #4974
- Give bech32 encoder it's own multisig encoder by @NullSoldier in #4976
- Moved multisig importing into wallet/exporter by @NullSoldier in #4977
- Fix migration 031 to use proper multisig encoder by @NullSoldier in #4978
- defaults cli tables to no-truncate by @hughy in #4979
- Add setScanning RPC and CLI commands by @dguenther in #4943
- Scan wallet accounts from earliest account head first by @dguenther in #4964
- Rahul/ifl 2581 bug watch command watches expired transactions by @patnir in #4968
- Add wallet/resetAccount RPC by @dguenther in #4985
- Remove unused tar util from CLI by @dguenther in #4987
- Prompt for expiration sequence when creating raw or unsigned transactions in CLI by @dguenther in #4988
- Add wallet/setAccountHead RPC by @dguenther in #4951
- Rahul/ifl 2634 chainport add memo decoder by @patnir in #5000
- Rahul/ifl 2637 add chainport config by @patnir in #5001
- Rahul/ifl 2633 chainport add api interface by @patnir in #5002
- supports pruning expired tx for one account by @hughy in #4999
- Rahul/ifl 2638 chainport add utils by @patnir in #5007
- supports combining notes for custom assets by @hughy in #5005
- Adds ability to filter assets in cli utils by @patnir in #5009
- Show verified checkmark when selecting asset and sort by verified by @danield9tqh in #4993
- Change setAccountHead to take blocks instead of transactions by @dguenther in #5004
- adds chainport transaction summary util by @patnir in #5011
- detect bridge transactions in wallet:transactions command by @patnir in #5012
- Rahul/ifl 2643 add explorer url to transaction command by @patnir in #5013
- Return latest account head in node status by @NullSoldier in #5017
- Organize RPC namespace folders by @NullSoldier in #5019
- Adds wallet:chainport:send CLI command by @patnir in #5015
- adds feerate to flags of chainport CLI command by @patnir in #5021
- Delete WalletBlockHeader and WalletTransaction by @NullSoldier in #5020
- renames transaction:add to transaction:import by @hughy in #5016
- adds unspent notes count to wallet balance rpc, cli by @hughy in #4998
- regenerate fixtures for performance tests by @patnir in #5023
- adds account flag to wallet commands by @hughy in #4994
- oclif 1.23.1 -> 3.27.0 by @mat-if in #5024
- upgrade oclif cli tool by @mat-if in #5026
- Update comment on setAccountHead blocks field by @dguenther in #5025
- Remove RemoteChainProcessor calculating noteIndex by @NullSoldier in #5027
- Remove version account version default by @NullSoldier in #4955
- Removes the ability to import/export AccountImport by @NullSoldier in #5032
- Remove unnecessary trims from CLI commands by @mat-if in #5031
- Rename isHexEncoding to be more clear by @NullSoldier in #5035
- Remove usage of chain.getBlockTransactions by @NullSoldier in #5028
- Move usage of RpcAccountImport to exporter system by @NullSoldier in #5034
- Normalize arg destructuring and remove a few extra
as
casts by @mat-if in #5033 - Remove unused
parseBoolean
util function from CLI by @mat-if in #5029 - Remove the
fishHashContext
argument fromsdk.node()
by @andiflabs in #5040 - Automatically start the worker pool if a job is submitted by @andiflabs in #5039
- Separate out account decoding from encrypting by @NullSoldier in #5038
- avoids resetting account birthday by @hughy in #5036
- Add error message for VerifyError by @mat-if in #5045
- update parsing of chainport status API to new interface by @patnir in #5030
- update chainport transaction api types by @patnir in #5047
- Use
cli-progress
library directly instead of via oclif by @mat-if in #5046 - adds networkId to wallet, accountImport by @hughy in #5042
- Fix transactions cmd not handling streaming errors by @NullSoldier in #5053
- Update axios to 1.7.2 by @dguenther in #5050
- Change
initializeSapling
to avoid cloning by @andiflabs in #5054 - Improve the calculation for the number of workers in the worker pool by @andiflabs in #5041
- Change
DecryptNotesResponse
to use a sparse serialization format by @andiflabs in #5049 - removes references to account createdAt hash by @hughy in #5060
- fixes workerMessages perf test by @hughy in #5064
- Have WalletScanner use chain directly if available by @NullSoldier in #5063
- supports setting createdAt on account import by @hughy in #5062
- Adds error handling to chainport requests by @patnir in #5059
- Use
inquirer
for confirm prompt by @mat-if in #5061 - Revert "Have WalletScanner use chain directly if available" by @NullSoldier in #5065
- Replaces isAddress depdenency with our own implementation by @patnir in #5037
- updates error handling to their new API response 400 object by @patnir in #5069
- version bump for v2.4 by @patnir in #5070
- Staging to master v2.4.0 by @patnir in #5071
Full Changelog: v2.3.0...v2.4.0