contractcourt: remove block subscription in chain arbitrator

This commit removes the block subscriptions used in `ChainArbitrator`
and replaced them with the blockbeat managed by `BlockbeatDispatcher`.
This commit is contained in:
yyforyongyu
2024-10-29 21:48:13 +08:00
parent 5f9d473702
commit 045f8432b7
3 changed files with 38 additions and 90 deletions

View File

@@ -36,7 +36,7 @@ import (
)
var (
defaultTimeout = 30 * time.Second
defaultTimeout = 10 * time.Second
breachOutPoints = []wire.OutPoint{
{