Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bloxbean/yaci
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.7
Choose a base ref
...
head repository: bloxbean/yaci
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.8
Choose a head ref
  • 13 commits
  • 26 files changed
  • 2 contributors

Commits on Jul 29, 2025

  1. Refactor rollforward logic in ChainSync agents to avoid updating curr…

    …entPoint incase of listener error (#120)
    
    Moved and reorganized rollforward logic to improve readability and maintainability. Adjusted handling of currentPoint updates and debug logs to streamline the functionality across different era types.
    satran004 authored Jul 29, 2025
    Configuration menu
    Copy the full SHA
    ce415be View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2025

  1. Implement two-phase commit for ChainSync/BlockFetch synchronization …

    …to prevent block loss
    
      * Add requestedPoint field to ChainsyncAgent for tracking unconfirmed blocks
      * Add confirmBlock() method to complete two-phase commit after successful block processing
      * Update onRollForward to set requestedPoint instead of immediately updating currentPoint
      * Implement LIFO listener execution order in Agent class for fail-fast semantics
      * Update N2NChainSyncFetcher to confirm blocks before requesting next message
      * Fix same synchronization issue in reactive BlockStreamer implementation
      * Add Byron block support with proper absolute slot calculation
      * Add comprehensive JavaDoc explaining the two-phase commit pattern
      * Add integration tests for disconnection/reconnection scenarios
      * Add logging for intersection found events to aid debugging
    
      This fixes the critical issue where blocks could be lost during network disconnections
      when ChainSync would update currentPoint before BlockFetch confirmed successful
      block retrieval. The two-phase commit ensures at-least-once delivery semantics.
    satran004 committed Jul 30, 2025
    Configuration menu
    Copy the full SHA
    4900e88 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    937849e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f750e41 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2025

  1. Merge pull request #121 from bloxbean/fix/on_disconnect_unsuccessful_…

    …blockfetch
    
     Implement two-phase commit for ChainSync/BlockFetch synchronization to prevent block loss
    satran004 authored Jul 31, 2025
    Configuration menu
    Copy the full SHA
    746756c View commit details
    Browse the repository at this point in the history
  2. Update gradle.properties

    satran004 authored Jul 31, 2025
    Configuration menu
    Copy the full SHA
    831af54 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2025

  1. Add support for protocol versions V19 and V20

    Extended `N2CVersionTableConstant` to include V19 and V20 with corresponding version data maps. Updated `HandshakeSerializers` to handle additional data items for N2N protocol, enabling peer sharing and query support for protocol versions V11 and above.
    satran004 committed Aug 1, 2025
    Configuration menu
    Copy the full SHA
    b1646ea View commit details
    Browse the repository at this point in the history
  2. #114 Add PeerSharing protocol implementation with tests

    Introduced PeerSharing protocol capabilities including message types, agent, state handling, and serializers. Implemented `PeerDiscoveryIT` integration tests to validate peer sharing and discovery functionalities.
    satran004 committed Aug 1, 2025
    Configuration menu
    Copy the full SHA
    3fa29d9 View commit details
    Browse the repository at this point in the history
  3. Refactoring

    satran004 committed Aug 1, 2025
    Configuration menu
    Copy the full SHA
    5405b81 View commit details
    Browse the repository at this point in the history
  4. Fix broken tests

    satran004 committed Aug 1, 2025
    Configuration menu
    Copy the full SHA
    090fa0f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fcccb8d View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2025

  1. Merge pull request #123 from bloxbean/feat/merge_peer_discovery_impl

    Peer Sharing N2N mini protocol (Merge to 0.3.x)
    satran004 authored Aug 4, 2025
    Configuration menu
    Copy the full SHA
    3f1927d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e40f0fa View commit details
    Browse the repository at this point in the history
Loading