ljedrz

Results 69 issues of ljedrz

Supersedes https://github.com/AleoHQ/snarkOS/pull/2690 as a much simpler and tighter solution. I verified that this works by manually reducing the handshake timeout to 1ms and checking the number of connecting peers in...

Cc @zosorock, as this is probably most applicable to services run atop the REST server. Finding: TOB-ALEO-23

This was an accidental duplicate impl.

This was a lot more tricky than I anticipated, but now this PR not only performs log trimming, but should also make logging to the filesystem faster. We might also...

Other than the pending changes in https://github.com/AleoHQ/snarkVM/pull/1985 (including the ones in the review comments), the following issues were found via snarkOS network message fuzzing: - [x] the `size` member of...

bug

This PR is a suggestion for further investigation, so I'm filing it as a draft. It builds on https://github.com/AleoHQ/snarkVM/pull/2150 with the final commit being new. In `compress_elements`, which only ever...

Filing as a draft; we may not want to merge it, but it can help us do some local analysis/debugging.

While performing memory profiling for snarkOS, I noticed that a very large (>73% when running a client node) number of allocations is caused by `PrimeField::from_bytes_le_mod_order`. That method is not used...

The `update_peer_locators` method is quite prominent in heap profiles, and tweaking it could yield considerable improvements. This PR proposes a simple change: instead of starting from height 0 and "going...

Since we perform the CDN sync before starting the node, we can use a `rayon` threadpool with all the cores dedicated to syncing without sacrificing any other functionality. I tested...