mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 20:54:20 +01:00
* add CreateOnboardingAddress rpc * add TrustedOnboarding rpc * remove log.Info in notifications.go
18 lines
401 B
Go
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
|
|
}
|