fields

package
v1.3.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2024 License: GPL-3.0 Imports: 24 Imported by: 1

Documentation

Index

Constants

View Source
const (
	FieldABI                 = "abi"
	FieldABIVersion          = "abi_version"
	FieldAddress             = "address"
	FieldBindIP              = "bind_ip"
	FieldBlock               = "block"
	FieldBlockHash           = "block_hash"
	FieldBlockVersion        = "block_version"
	FieldBlockCacheMetrics   = "block_cache_metrics_field"
	FieldBuilderProposals    = "builder_proposals"
	FieldClusterIndex        = "cluster_index"
	FieldConfig              = "config"
	FieldConnectionID        = "connection_id"
	FieldConsensusTime       = "consensus_time"
	FieldSubmissionTime      = "submission_time"
	FieldCount               = "count"
	FieldTook                = "took"
	FieldCurrentSlot         = "current_slot"
	FieldDomain              = "domain"
	FieldDuration            = "duration"
	FieldDuties              = "duties"
	FieldDutyID              = "duty_id"
	FieldENR                 = "enr"
	FieldEpoch               = "epoch"
	FieldErrors              = "errors"
	FieldEvent               = "event"
	FieldEventID             = "event_id"
	FieldFeeRecipient        = "fee_recipient"
	FieldFromBlock           = "from_block"
	FieldHeight              = "height"
	FieldIndexCacheMetrics   = "index_cache_metrics"
	FieldMessageID           = "msg_id"
	FieldMessageType         = "msg_type"
	FieldName                = "name"
	FieldNetwork             = "network"
	FieldOperatorId          = "operator_id"
	FieldOperatorIDs         = "operator_ids"
	FieldOperatorPubKey      = "operator_pubkey"
	FieldOwnerAddress        = "owner_address"
	FieldPeerID              = "peer_id"
	FieldPeerScore           = "peer_score"
	FieldPrivKey             = "privkey"
	FieldPubKey              = "pubkey"
	FieldRole                = "role"
	FieldRound               = "round"
	FieldSlot                = "slot"
	FieldStartTimeUnixMilli  = "start_time_unix_milli"
	FieldSubnets             = "subnets"
	FieldSyncOffset          = "sync_offset"
	FieldSyncResults         = "sync_results"
	FieldTargetNodeENR       = "target_node_enr"
	FieldToBlock             = "to_block"
	FieldTopic               = "topic"
	FieldTxHash              = "tx_hash"
	FieldType                = "type"
	FieldUpdatedENRLocalNode = "updated_enr"
	FieldValidator           = "validator"
	FieldValidatorMetadata   = "validator_metadata"
)

Variables

This section is empty.

Functions

func ABI added in v0.5.2

func ABI(val string) zap.Field

func ABIVersion added in v0.5.2

func ABIVersion(val string) zap.Field

func Address

func Address(val string) zapcore.Field

func AddressURL

func AddressURL(val url.URL) zapcore.Field

func BindIP

func BindIP(val net.IP) zapcore.Field

func BlockCacheMetrics

func BlockCacheMetrics(metrics *ristretto.Metrics) zapcore.Field

func BlockHash added in v1.1.0

func BlockHash(val phase0.Hash32) zap.Field

func BlockNumber

func BlockNumber(val uint64) zap.Field

func BlockVersion added in v1.1.0

func BlockVersion(val spec.DataVersion) zap.Field

func BuilderProposals added in v1.1.0

func BuilderProposals(v bool) zap.Field

func ClusterIndex added in v1.1.0

func ClusterIndex(cluster contract.ISSVNetworkCoreCluster) zap.Field

func Config added in v1.1.0

func Config(val fmt.Stringer) zap.Field

func ConnectionID

func ConnectionID(val string) zap.Field

func ConsensusTime

func ConsensusTime(val time.Duration) zap.Field

func Count

func Count(val int) zap.Field

func CurrentSlot

func CurrentSlot(slot phase0.Slot) zapcore.Field

func Domain added in v0.5.2

func Domain(val spectypes.DomainType) zap.Field

func Duration

func Duration(val time.Time) zapcore.Field

func Duties added in v1.1.0

func Duties(epoch phase0.Epoch, duties []*spectypes.Duty) zap.Field

func DutyID

func DutyID(val string) zap.Field

func ENR

func ENR(val *enode.Node) zapcore.Field

func ENRLocalNode

func ENRLocalNode(val *enode.LocalNode) zapcore.Field

func ENRStr

func ENRStr(val string) zapcore.Field

func Epoch added in v1.1.0

func Epoch(val phase0.Epoch) zap.Field

func Errors added in v0.5.2

func Errors(val []error) zap.Field

func EventID

func EventID(val fmt.Stringer) zapcore.Field

func EventName

func EventName(val string) zap.Field

func FeeRecipient added in v1.1.0

func FeeRecipient(pubKey []byte) zap.Field

func FormatDutyID added in v0.5.3

func FormatDutyID(epoch phase0.Epoch, duty *spectypes.Duty) string

func FromBlock

func FromBlock(val uint64) zapcore.Field

func Height

func Height(height specqbft.Height) zap.Field

func IndexCacheMetrics

func IndexCacheMetrics(metrics *ristretto.Metrics) zapcore.Field

func MessageID

func MessageID(val spectypes.MessageID) zap.Field

func MessageType

func MessageType(val spectypes.MsgType) zap.Field

func Name

func Name(val string) zap.Field

func Network added in v0.5.2

func Network(val string) zap.Field

func OperatorID

func OperatorID(operatorId spectypes.OperatorID) zap.Field

func OperatorIDStr

func OperatorIDStr(operatorId string) zap.Field

func OperatorIDs added in v1.1.0

func OperatorIDs(operatorIDs []spectypes.OperatorID) zap.Field

func OperatorPubKey added in v1.1.0

func OperatorPubKey(pubKey []byte) zapcore.Field

func Owner added in v1.1.0

func Owner(addr common.Address) zap.Field

func PeerID

func PeerID(val peer.ID) zapcore.Field

func PeerScore added in v1.2.0

func PeerScore(val float64) zapcore.Field

func PrivKey

func PrivKey(val []byte) zapcore.Field

func PubKey

func PubKey(pubKey []byte) zapcore.Field

func QBFTMessageType added in v1.1.0

func QBFTMessageType(val specqbft.MessageType) zap.Field

func Role

func Role(val spectypes.BeaconRole) zap.Field

func Root added in v1.1.0

func Root(r [32]byte) zap.Field

func Round

func Round(round specqbft.Round) zap.Field

func Slot

func Slot(val phase0.Slot) zap.Field

func StartTimeUnixMilli

func StartTimeUnixMilli(time time.Time) zapcore.Field

func SubmissionTime added in v1.3.3

func SubmissionTime(val time.Duration) zap.Field

func Subnets

func Subnets(val records.Subnets) zapcore.Field

func SyncOffset

func SyncOffset(val fmt.Stringer) zapcore.Field

func SyncResults

func SyncResults(msgs protocolp2p.SyncResults) zapcore.Field

func TargetNodeENR

func TargetNodeENR(val *enode.Node) zapcore.Field

func ToBlock added in v0.5.2

func ToBlock(val uint64) zap.Field

func Took added in v1.1.0

func Took(duration time.Duration) zap.Field

func Topic

func Topic(val string) zap.Field

func TxHash

func TxHash(val fmt.Stringer) zapcore.Field

func Type added in v1.1.0

func Type(v any) zapcore.Field

func UpdatedENRLocalNode

func UpdatedENRLocalNode(val *enode.LocalNode) zapcore.Field

func Validator

func Validator(pubKey []byte) zapcore.Field

func ValidatorMetadata

func ValidatorMetadata(val *beacon.ValidatorMetadata) zap.Field

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL