This commit is contained in:
Łukasz Magiera 2024-01-15 17:34:10 +01:00
parent a65ec1a9fb
commit a539b83512
3 changed files with 12 additions and 7 deletions

View File

@ -2,9 +2,10 @@ package hapi
import (
"context"
"time"
"github.com/filecoin-project/lotus/api/client"
cliutil "github.com/filecoin-project/lotus/cli/util"
"time"
)
func (a *app) watchRpc() {

View File

@ -2,14 +2,15 @@ package hapi
import (
"context"
"github.com/filecoin-project/lotus/api/v1api"
"golang.org/x/xerrors"
"html/template"
"net/http"
"os"
"sync"
"time"
"golang.org/x/xerrors"
"github.com/filecoin-project/lotus/api/v1api"
"github.com/filecoin-project/lotus/lib/harmony/harmonydb"
)

View File

@ -2,12 +2,15 @@ package hapi
import (
"context"
"github.com/BurntSushi/toml"
"github.com/filecoin-project/go-address"
"github.com/filecoin-project/lotus/chain/types"
"golang.org/x/xerrors"
"sort"
"time"
"github.com/BurntSushi/toml"
"golang.org/x/xerrors"
"github.com/filecoin-project/go-address"
"github.com/filecoin-project/lotus/chain/types"
)
const watchInterval = time.Second * 10