This change makes the synced blocks observable provided by block loader transport be passed to ChainValidator directly (hot observable), without using the stored collection. The collection is still kept in this PR, but it will be removed when all the necessary changes (like this one) are made so that no component needs it.
This is part of closed #2142.
Benefits
One step towards removing in memory blocks accumulation during synchronization. Together with #2160 provides early cancellation of failing block sequence loading.
Description of the Change
IR-361
This change makes the synced blocks observable provided by block loader transport be passed to ChainValidator directly (hot observable), without using the stored collection. The collection is still kept in this PR, but it will be removed when all the necessary changes (like this one) are made so that no component needs it.
This is part of closed #2142.
Benefits
One step towards removing in memory blocks accumulation during synchronization. Together with #2160 provides early cancellation of failing block sequence loading.
Possible Drawbacks