problem: doesn't update head subscription through remote dshackle, because upstream becomes ready later after chain setup

solution: fix and refactor to avoid such situation in code
This commit is contained in:
Igor Artamonov
2019-08-11 20:22:37 -04:00
parent 29cea2575e
commit 89bd52a267
30 changed files with 356 additions and 259 deletions

View File

@@ -9,8 +9,8 @@ import java.time.Duration
class ChainUpstreams (
val chain: Chain,
private val upstreams: MutableList<Upstream>,
targets: EthereumTargets
) : AggregatedUpstreams(targets) {
targets: CallMethods
) : AggregatedUpstream(targets) {
private val log = LoggerFactory.getLogger(ChainUpstreams::class.java)
private var seq = 0