Package-level declarations

Types

Link copied to clipboard
data class ReorgConfig(val finalityThreshold: Long = 64, val historyDepth: Long = 100)

Configuration for reorg detection.

Link copied to clipboard
interface ReorgDetector

Detects and handles blockchain reorganizations (reorgs).

Link copied to clipboard
class ReorgDetectorImpl(config: ReorgConfig = ReorgConfig()) : ReorgDetector

Implementation of ReorgDetector using in-memory block history.

Link copied to clipboard
sealed class ReorgEvent

Blockchain reorganization event.

Link copied to clipboard
class ReorgHandlingException(message: String, cause: Throwable? = null) : Exception

Exception thrown when reorg handling fails.