twoeths

Results 181 issues of twoeths

**Motivation** - Lodestar may want to set `floodPublish` as false in the future **Description** - In that case we want to publish at least `mesh_n` peers see https://github.com/ChainSafe/lodestar/issues/6596#issuecomment-2021834289

**Description** Right now it's not possible to track when messages are sent, although there is a delay at gossip side the `publish()` function returns immediately, see https://github.com/ChainSafe/lodestar/issues/6596 **Solution** Find a...

prio-low
meta-investigate

**Description** There are items inside streamsOutbound exist with the same size in 2 heap snapshots (one was taken 1 day after another) there are 55 OutboundStream instances however there are...

**Motivation** We removed `gossipsub_mesh_peer_inclusion_events_total` and `gossipsub_peer_churn_events_total` in #460 but lodestar still needs it, see https://github.com/ChainSafe/lodestar/issues/5919 **Description** Add back these metrics

**Motivation** SIMD is available in assemblyscript, it supports v128 data structure which mean we can hash 4 inputs in parallel **Description** - New assemblyscript simd implementation in `assembly/simd.ts` - New...

as-sha256

**Is your feature request related to a problem? Please describe.** With simd supported in assembly script, we can use it to hash multiple inputs in parallel, especially the `digest64()` method...

**Motivation** - Improve as-sha256 **Description** - Chain w computation in the same for loop of hashBlocks() - Use UintArray.slice() Closes #357

as-sha256
CI

Some improvement could be done: - Use latest assemblyscript yields better performance - Chain w computation to the main loop in hashBlocks() - Return result by using Uint8Array.slice() ``` digestTwoHashObjects...

**Is your feature request related to a problem? Please describe.** This is to support EIP-4881 https://eips.ethereum.org/EIPS/eip-4881#deposit-finalization-conditions 1. `get_snapshot`: API to extract finalized roots given a gindex (or depth + index)...

**Motivation** The current `findDiffDepthi` only support up to 31 bits due to bit xor `^` limitation **Description** Support > 32 bits numbers: - Return early of number of bits between...

persistent-merkle-tree