Skip to content

Commit

Permalink
create actor FastSyncBranchResolver
Browse files Browse the repository at this point in the history
  • Loading branch information
biandratti authored and robinraju committed Jan 20, 2021
1 parent 99491c7 commit e2618f6
Showing 1 changed file with 18 additions and 0 deletions.
@@ -0,0 +1,18 @@
package io.iohk.ethereum.blockchain.sync.fast

import akka.actor.Actor
import io.iohk.ethereum.network.Peer

class FastSyncBranchResolver extends Actor {

override def receive: Receive = ???

}

object FastSyncBranchResolver {
sealed trait BranchResolverRequest
case object StartBranchResolver extends BranchResolverRequest

sealed trait BranchResolverResponse
case class BranchResolvedSuccessful(firstCommonBlockNumber: BigInt, masterPeer: Peer) extends BranchResolverResponse
}

0 comments on commit e2618f6

Please sign in to comment.