Files
ark/server/internal/core/ports/scanner.go
Louis Singer 740d4fb7b1 Add TrustedOnboarding RPC (#138)
* add CreateOnboardingAddress rpc

* add TrustedOnboarding rpc

* remove log.Info in notifications.go
2024-04-23 14:54:27 +02:00

18 lines
401 B
Go

package ports
import (
"github.com/ark-network/ark/internal/core/domain"
"golang.org/x/net/context"
)
type VtxoWithValue struct {
domain.VtxoKey
Value uint64
}
type BlockchainScanner interface {
WatchScripts(ctx context.Context, scripts []string) error
UnwatchScripts(ctx context.Context, scripts []string) error
GetNotificationChannel(ctx context.Context) <-chan map[string]VtxoWithValue
}