Skip to content

Conversation

@BlobMaster41
Copy link
Contributor

No description provided.

Upgraded various dependencies in package.json to their latest versions for improved stability and features. Enhanced type safety in worker error event handlers in WorkerPoolManager.ts and PluginWorkerPool.ts by specifying error types and casting, ensuring better error reporting and handling.
Condensed MongoDB imports into a single line and commented out the unused buildPublicKeyInfoFromMLDSA method. Updated the p2op method to use toXOnly on hashedKey and adjusted its return type to include undefined.
Updated error messages in authentication managers to include context-specific identifiers when the protocol is not found. This improves debugging by making it easier to identify where the error originated.
Introduces a new configuration parameter, START_INDEXING_UTXO_AT_BLOCK_HEIGHT, to control the block height at which UTXO indexing begins. Updates the ChainSynchronisation logic to respect this setting and removes the DISABLE_UTXO_INDEXING option from the config interface.
Commented out code related to p2shp2wpkh, p2pkhUncompressed, and p2pkhHybrid address formats throughout PublicKeysRepository.ts. This reduces unnecessary computation and output for these formats, likely due to their current lack of use in the application.
Reformatted import statements for better readability in PublicKeysRepository.ts and VMManager.ts. Improved error message formatting in VMManager.ts for clarity and added a debug log for 'lastChecksum'.
Added a check to ensure the checksum from the block header validator is 32 bytes long and not equal to ZERO_HASH before updating the receipt state. This prevents invalid checksum values from being processed.
The info log for deserializing blocks has been commented out, likely to reduce log verbosity during synchronization.
Added requestWitnessesForIBD to request block witnesses during IBD and wait for responses. Improved peer connection logic to trust PRIVATE_NODES without reachability checks and to preserve peer addresses on disconnect for easier reconnection. Introduced a sleep utility method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants