Skip to content

Commit

Permalink
Merge branch 'dev' into update-versions-v1.10.18
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed Jan 5, 2024
2 parents 991ee1c + 71f920d commit c127d9d
Show file tree
Hide file tree
Showing 1,423 changed files with 2,079 additions and 1,749 deletions.
2 changes: 1 addition & 1 deletion api/admin/client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package admin
Expand Down
2 changes: 1 addition & 1 deletion api/admin/client_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package admin
Expand Down
2 changes: 1 addition & 1 deletion api/admin/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package admin
Expand Down
2 changes: 1 addition & 1 deletion api/admin/service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package admin
Expand Down
2 changes: 1 addition & 1 deletion api/auth/auth.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package auth
Expand Down
2 changes: 1 addition & 1 deletion api/auth/auth_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package auth
Expand Down
2 changes: 1 addition & 1 deletion api/auth/claims.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package auth
Expand Down
2 changes: 1 addition & 1 deletion api/auth/response.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package auth
Expand Down
2 changes: 1 addition & 1 deletion api/auth/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package auth
Expand Down
2 changes: 1 addition & 1 deletion api/common_args_responses.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package api
Expand Down
2 changes: 1 addition & 1 deletion api/health/checker.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package health
Expand Down
2 changes: 1 addition & 1 deletion api/health/client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package health
Expand Down
2 changes: 1 addition & 1 deletion api/health/client_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package health
Expand Down
2 changes: 1 addition & 1 deletion api/health/handler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package health
Expand Down
2 changes: 1 addition & 1 deletion api/health/health.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package health
Expand Down
2 changes: 1 addition & 1 deletion api/health/health_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package health
Expand Down
2 changes: 1 addition & 1 deletion api/health/metrics.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package health
Expand Down
2 changes: 1 addition & 1 deletion api/health/result.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package health
Expand Down
2 changes: 1 addition & 1 deletion api/health/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package health
Expand Down
2 changes: 1 addition & 1 deletion api/health/service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package health
Expand Down
2 changes: 1 addition & 1 deletion api/health/worker.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package health
Expand Down
2 changes: 1 addition & 1 deletion api/info/client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package info
Expand Down
2 changes: 1 addition & 1 deletion api/info/client_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package info
Expand Down
2 changes: 1 addition & 1 deletion api/info/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package info
Expand Down
2 changes: 1 addition & 1 deletion api/info/service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package info
Expand Down
2 changes: 1 addition & 1 deletion api/ipcs/client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package ipcs
Expand Down
2 changes: 1 addition & 1 deletion api/ipcs/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package ipcs
Expand Down
2 changes: 1 addition & 1 deletion api/keystore/blockchain_keystore.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package keystore
Expand Down
2 changes: 1 addition & 1 deletion api/keystore/client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package keystore
Expand Down
9 changes: 5 additions & 4 deletions api/keystore/codec.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package keystore

import (
"time"

"github.com/ava-labs/avalanchego/codec"
"github.com/ava-labs/avalanchego/codec/linearcodec"
"github.com/ava-labs/avalanchego/utils/units"
Expand All @@ -12,14 +14,13 @@ import (
const (
CodecVersion = 0

maxPackerSize = 1 * units.GiB // max size, in bytes, of something being marshalled by Marshal()
maxSliceLength = linearcodec.DefaultMaxSliceLength
maxPackerSize = 1 * units.GiB // max size, in bytes, of something being marshalled by Marshal()
)

var Codec codec.Manager

func init() {
lc := linearcodec.NewCustomMaxLength(maxSliceLength)
lc := linearcodec.NewDefault(time.Time{})
Codec = codec.NewManager(maxPackerSize)
if err := Codec.RegisterCodec(CodecVersion, lc); err != nil {
panic(err)
Expand Down
2 changes: 1 addition & 1 deletion api/keystore/gkeystore/keystore_client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package gkeystore
Expand Down
2 changes: 1 addition & 1 deletion api/keystore/gkeystore/keystore_server.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package gkeystore
Expand Down
2 changes: 1 addition & 1 deletion api/keystore/keystore.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package keystore
Expand Down
2 changes: 1 addition & 1 deletion api/keystore/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package keystore
Expand Down
2 changes: 1 addition & 1 deletion api/keystore/service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package keystore
Expand Down
2 changes: 1 addition & 1 deletion api/metrics/gatherer_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package metrics
Expand Down
2 changes: 1 addition & 1 deletion api/metrics/multi_gatherer.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package metrics
Expand Down
2 changes: 1 addition & 1 deletion api/metrics/multi_gatherer_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package metrics
Expand Down
2 changes: 1 addition & 1 deletion api/metrics/optional_gatherer.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package metrics
Expand Down
2 changes: 1 addition & 1 deletion api/metrics/optional_gatherer_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package metrics
Expand Down
2 changes: 1 addition & 1 deletion api/server/allowed_hosts.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package server
Expand Down
2 changes: 1 addition & 1 deletion api/server/allowed_hosts_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package server
Expand Down
2 changes: 1 addition & 1 deletion api/server/metrics.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package server
Expand Down
2 changes: 1 addition & 1 deletion api/server/router.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package server
Expand Down
2 changes: 1 addition & 1 deletion api/server/router_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package server
Expand Down
2 changes: 1 addition & 1 deletion api/server/server.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package server
Expand Down
2 changes: 1 addition & 1 deletion api/server/server_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package server
Expand Down
2 changes: 1 addition & 1 deletion api/server/wrapper.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package server
Expand Down
2 changes: 1 addition & 1 deletion api/traced_handler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package api
Expand Down
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package app
Expand Down
2 changes: 1 addition & 1 deletion cache/cache.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package cache
Expand Down
2 changes: 1 addition & 1 deletion cache/empty_cache.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package cache
Expand Down
2 changes: 1 addition & 1 deletion cache/lru_cache.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package cache
Expand Down
2 changes: 1 addition & 1 deletion cache/lru_cache_benchmark_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package cache
Expand Down
2 changes: 1 addition & 1 deletion cache/lru_cache_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package cache
Expand Down
2 changes: 1 addition & 1 deletion cache/lru_sized_cache.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package cache
Expand Down
2 changes: 1 addition & 1 deletion cache/lru_sized_cache_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package cache
Expand Down
2 changes: 1 addition & 1 deletion cache/metercacher/cache.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package metercacher
Expand Down
2 changes: 1 addition & 1 deletion cache/metercacher/cache_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package metercacher
Expand Down
2 changes: 1 addition & 1 deletion cache/metercacher/metrics.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package metercacher
Expand Down
2 changes: 1 addition & 1 deletion cache/test_cacher.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package cache
Expand Down
2 changes: 1 addition & 1 deletion cache/unique_cache.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package cache
Expand Down
Loading

0 comments on commit c127d9d

Please sign in to comment.