mirror of
https://github.com/luxfi/node.git
synced 2026-10-30 15:24:05 +00:00
29 lines
764 B
Go
29 lines
764 B
Go
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package executor
|
|
|
|
import (
|
|
"github.com/luxfi/log"
|
|
"github.com/luxfi/node/vms/platformvm/config"
|
|
"github.com/luxfi/node/vms/platformvm/fx"
|
|
"github.com/luxfi/node/vms/platformvm/reward"
|
|
"github.com/luxfi/node/vms/platformvm/utxo"
|
|
"github.com/luxfi/runtime"
|
|
"github.com/luxfi/timer/mockable"
|
|
"github.com/luxfi/util"
|
|
"github.com/luxfi/validators/uptime"
|
|
)
|
|
|
|
type Backend struct {
|
|
Config *config.Internal
|
|
Runtime *runtime.Runtime
|
|
Clk *mockable.Clock
|
|
Fx fx.Fx
|
|
FlowChecker utxo.Verifier
|
|
Uptimes uptime.Calculator
|
|
Rewards reward.Calculator
|
|
Bootstrapped *utils.Atomic[bool]
|
|
Log log.Logger
|
|
}
|