diff --git a/LICENSE.txt b/LICENSE.txt index 5df8419c4..dd38a40c5 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2020 Coinbase, Inc. + Copyright 2024 Coinbase, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/asserter/account.go b/asserter/account.go index ba6720854..81a746433 100644 --- a/asserter/account.go +++ b/asserter/account.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/account_test.go b/asserter/account_test.go index eb68a7d36..7c6637026 100644 --- a/asserter/account_test.go +++ b/asserter/account_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/asserter.go b/asserter/asserter.go index 8333a2eb7..ad1e5315f 100644 --- a/asserter/asserter.go +++ b/asserter/asserter.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ import ( "fmt" "io/ioutil" "path" + "strings" "github.com/coinbase/rosetta-sdk-go/types" ) @@ -35,11 +36,12 @@ type Asserter struct { timestampStartIndex int64 // These variables are used for request assertion. - historicalBalanceLookup bool - supportedNetworks []*types.NetworkIdentifier - callMethods map[string]struct{} - mempoolCoins bool - validations *Validations + historicalBalanceLookup bool + supportedNetworks []*types.NetworkIdentifier + callMethods map[string]struct{} + mempoolCoins bool + validations *Validations + ignoreRosettaSpecValidation bool } // Validations is used to define stricter validations @@ -292,6 +294,43 @@ func NewClientWithOptions( return asserter, nil } +// NewGenericRosettaClient constructs a new Asserter using the provided +// arguments and without a Rosetta Spec validation. This is used to ignore rosetta spec validation +func NewGenericRosettaClient( + network *types.NetworkIdentifier, + genesisBlockIdentifier *types.BlockIdentifier, +) (*Asserter, error) { + if err := NetworkIdentifier(network); err != nil { + return nil, fmt.Errorf( + "network identifier %s is invalid: %w", + types.PrintStruct(network), + err, + ) + } + + if err := BlockIdentifier(genesisBlockIdentifier); err != nil { + return nil, fmt.Errorf( + "genesis block identifier %s is invalid: %w", + types.PrintStruct(genesisBlockIdentifier), + err, + ) + } + + asserter := &Asserter{ + network: network, + genesisBlock: genesisBlockIdentifier, + validations: &Validations{ + Enabled: false, + }, + ignoreRosettaSpecValidation: true, + } + + //init default operation statuses for generic rosetta client + InitOperationStatus(asserter) + + return asserter, nil +} + // ClientConfiguration returns all variables currently set in an Asserter. // This function will error if it is called on an uninitialized asserter. func (a *Asserter) ClientConfiguration() (*Configuration, error) { @@ -336,7 +375,10 @@ func (a *Asserter) OperationSuccessful(operation *types.Operation) (bool, error) val, ok := a.operationStatusMap[*operation.Status] if !ok { - return false, fmt.Errorf("operation status %s is not found", *operation.Status) + val, ok = a.operationStatusMap[strings.ToUpper(*operation.Status)] + if !ok { + return false, fmt.Errorf("operation status %s is not found", *operation.Status) + } } return val, nil diff --git a/asserter/asserter_test.go b/asserter/asserter_test.go index ef80272c7..30df1389f 100644 --- a/asserter/asserter_test.go +++ b/asserter/asserter_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/block.go b/asserter/block.go index 3d9c61a01..9131e1597 100644 --- a/asserter/block.go +++ b/asserter/block.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -160,7 +160,7 @@ func (a *Asserter) OperationStatus(status *string, construction bool) error { return ErrOperationStatusNotEmptyForConstruction } - if _, ok := a.operationStatusMap[*status]; !ok { + if _, ok := a.operationStatusMap[*status]; !a.ignoreRosettaSpecValidation && !ok { return fmt.Errorf("operation status %s is invalid: %w", *status, ErrOperationStatusInvalid) } @@ -174,7 +174,7 @@ func (a *Asserter) OperationType(t string) error { return ErrAsserterNotInitialized } - if t == "" || !containsString(a.operationTypes, t) { + if t == "" || (!a.ignoreRosettaSpecValidation && !containsString(a.operationTypes, t)) { return fmt.Errorf("operation type %s is invalid: %w", t, ErrOperationTypeInvalid) } @@ -610,7 +610,7 @@ func (a *Asserter) Block( // Only check for timestamp validity if timestamp start index is <= // the current block index. - if a.timestampStartIndex <= block.BlockIdentifier.Index { + if !a.ignoreRosettaSpecValidation && a.timestampStartIndex <= block.BlockIdentifier.Index { if err := Timestamp(block.Timestamp); err != nil { return fmt.Errorf("timestamp %d is invalid: %w", block.Timestamp, err) } diff --git a/asserter/block_test.go b/asserter/block_test.go index 27cad096d..f627109bb 100644 --- a/asserter/block_test.go +++ b/asserter/block_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/coin.go b/asserter/coin.go index 8ba349cc3..8cca7db6f 100644 --- a/asserter/coin.go +++ b/asserter/coin.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/coin_test.go b/asserter/coin_test.go index 3110aff43..dae874561 100644 --- a/asserter/coin_test.go +++ b/asserter/coin_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/construction.go b/asserter/construction.go index 30ae05425..96982a50f 100644 --- a/asserter/construction.go +++ b/asserter/construction.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/construction_test.go b/asserter/construction_test.go index 1dec66d0f..b3ab528da 100644 --- a/asserter/construction_test.go +++ b/asserter/construction_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/error.go b/asserter/error.go index 859071806..a235c87df 100644 --- a/asserter/error.go +++ b/asserter/error.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -33,6 +33,10 @@ func (a *Asserter) Error( return err } + if a.ignoreRosettaSpecValidation { + return nil + } + val, ok := a.errorTypeMap[err.Code] if !ok { return fmt.Errorf( diff --git a/asserter/error_test.go b/asserter/error_test.go index 3ea8be957..e707d7bcd 100644 --- a/asserter/error_test.go +++ b/asserter/error_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/errors.go b/asserter/errors.go index be9654254..c4268ccb2 100644 --- a/asserter/errors.go +++ b/asserter/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/errors_test.go b/asserter/errors_test.go index d1ad51dd3..9ffe0ab35 100644 --- a/asserter/errors_test.go +++ b/asserter/errors_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/events.go b/asserter/events.go index ad2bc8340..35a2cfff5 100644 --- a/asserter/events.go +++ b/asserter/events.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/events_test.go b/asserter/events_test.go index 7bd86afa3..ff82c1103 100644 --- a/asserter/events_test.go +++ b/asserter/events_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/mempool.go b/asserter/mempool.go index fec66373a..8e27f46d6 100644 --- a/asserter/mempool.go +++ b/asserter/mempool.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/network.go b/asserter/network.go index c946aea80..8106aef22 100644 --- a/asserter/network.go +++ b/asserter/network.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/network_test.go b/asserter/network_test.go index 848bdc54f..cca57f99a 100644 --- a/asserter/network_test.go +++ b/asserter/network_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/operation_status.go b/asserter/operation_status.go new file mode 100644 index 000000000..b0a75614b --- /dev/null +++ b/asserter/operation_status.go @@ -0,0 +1,34 @@ +// Copyright 2024 Coinbase, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package asserter + +const ( + OperationStatusSuccess = "SUCCESS" + OperationStatusOk = "OK" + OperationStatusCompleted = "COMPLETED" + OperationStatusFailed = "FAILED" + OperationStatusFailure = "FAILURE" +) + +// InitOperationStatus initializes operation status map for a generic rosetta client +func InitOperationStatus(asserter *Asserter) { + asserter.operationStatusMap = map[string]bool{ + OperationStatusSuccess: true, + OperationStatusOk: true, + OperationStatusCompleted: true, + OperationStatusFailed: false, + OperationStatusFailure: false, + } +} diff --git a/asserter/search.go b/asserter/search.go index 9211f291a..f1432a5e9 100644 --- a/asserter/search.go +++ b/asserter/search.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/search_test.go b/asserter/search_test.go index f03b6f714..06f141b87 100644 --- a/asserter/search_test.go +++ b/asserter/search_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/server.go b/asserter/server.go index 6b025c45f..4f7fd7a03 100644 --- a/asserter/server.go +++ b/asserter/server.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/server_test.go b/asserter/server_test.go index ef51750a1..6ecc8a981 100644 --- a/asserter/server_test.go +++ b/asserter/server_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/asserter/utils.go b/asserter/utils.go index 6647b0569..bd31c58aa 100644 --- a/asserter/utils.go +++ b/asserter/utils.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/api_account.go b/client/api_account.go index 66b882542..aa3dd5d1b 100644 --- a/client/api_account.go +++ b/client/api_account.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/api_block.go b/client/api_block.go index 707e7ec14..e95312453 100644 --- a/client/api_block.go +++ b/client/api_block.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/api_call.go b/client/api_call.go index 9d3ac8c12..27e4031ff 100644 --- a/client/api_call.go +++ b/client/api_call.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/api_construction.go b/client/api_construction.go index fe9a4fc4e..e6a302f67 100644 --- a/client/api_construction.go +++ b/client/api_construction.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/api_events.go b/client/api_events.go index 5d2cf05a5..155743500 100644 --- a/client/api_events.go +++ b/client/api_events.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/api_mempool.go b/client/api_mempool.go index 8402fae70..1ed26900b 100644 --- a/client/api_mempool.go +++ b/client/api_mempool.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/api_network.go b/client/api_network.go index 0ff33515a..da2a52a9c 100644 --- a/client/api_network.go +++ b/client/api_network.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/api_search.go b/client/api_search.go index 04859beb0..9f935f4d5 100644 --- a/client/api_search.go +++ b/client/api_search.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/client.go b/client/client.go index 7cae2ef87..9120180e0 100644 --- a/client/client.go +++ b/client/client.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/configuration.go b/client/configuration.go index de51438d6..83ce886b0 100644 --- a/client/configuration.go +++ b/client/configuration.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/response.go b/client/response.go index b827e89d2..da2547d77 100644 --- a/client/response.go +++ b/client/response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/coordinator/coordinator.go b/constructor/coordinator/coordinator.go index 0bec7e033..a8459775d 100644 --- a/constructor/coordinator/coordinator.go +++ b/constructor/coordinator/coordinator.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/coordinator/coordinator_test.go b/constructor/coordinator/coordinator_test.go index 3f4c1b279..4d60f58df 100644 --- a/constructor/coordinator/coordinator_test.go +++ b/constructor/coordinator/coordinator_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/coordinator/errors.go b/constructor/coordinator/errors.go index 452bf674f..da119118b 100644 --- a/constructor/coordinator/errors.go +++ b/constructor/coordinator/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/coordinator/types.go b/constructor/coordinator/types.go index 1367f2ec1..98bfd2027 100644 --- a/constructor/coordinator/types.go +++ b/constructor/coordinator/types.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/dsl/dsl.go b/constructor/dsl/dsl.go index b02319c1f..34eae739f 100644 --- a/constructor/dsl/dsl.go +++ b/constructor/dsl/dsl.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/dsl/dsl_test.go b/constructor/dsl/dsl_test.go index a92cba735..adf7e51fb 100644 --- a/constructor/dsl/dsl_test.go +++ b/constructor/dsl/dsl_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/dsl/errors.go b/constructor/dsl/errors.go index 6e457cfcf..f916cb557 100644 --- a/constructor/dsl/errors.go +++ b/constructor/dsl/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/dsl/parser.go b/constructor/dsl/parser.go index 63c3aea1a..700a5da8e 100644 --- a/constructor/dsl/parser.go +++ b/constructor/dsl/parser.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/job/errors.go b/constructor/job/errors.go index 0e1866e77..3d1054cab 100644 --- a/constructor/job/errors.go +++ b/constructor/job/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/job/job.go b/constructor/job/job.go index 02bc16b88..1f629df23 100644 --- a/constructor/job/job.go +++ b/constructor/job/job.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/job/types.go b/constructor/job/types.go index d81dd15a7..33ab9b7a2 100644 --- a/constructor/job/types.go +++ b/constructor/job/types.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/job/utils.go b/constructor/job/utils.go index 7ae870d7b..414be637f 100644 --- a/constructor/job/utils.go +++ b/constructor/job/utils.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/worker/errors.go b/constructor/worker/errors.go index 15434423b..9ef28d007 100644 --- a/constructor/worker/errors.go +++ b/constructor/worker/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/worker/populator.go b/constructor/worker/populator.go index ef225f0a4..3365299d2 100644 --- a/constructor/worker/populator.go +++ b/constructor/worker/populator.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/worker/populator_test.go b/constructor/worker/populator_test.go index e98296d40..00643ea4e 100644 --- a/constructor/worker/populator_test.go +++ b/constructor/worker/populator_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/worker/types.go b/constructor/worker/types.go index 89598d772..a15a3cce3 100644 --- a/constructor/worker/types.go +++ b/constructor/worker/types.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/worker/worker.go b/constructor/worker/worker.go index 109cf6e3e..ea1def9a6 100644 --- a/constructor/worker/worker.go +++ b/constructor/worker/worker.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/constructor/worker/worker_test.go b/constructor/worker/worker_test.go index 0c8d5a7a9..e4d0c98bf 100644 --- a/constructor/worker/worker_test.go +++ b/constructor/worker/worker_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/errors/utils.go b/errors/utils.go index 6f9242c3c..0bd83d5a0 100644 --- a/errors/utils.go +++ b/errors/utils.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/errors/utils_test.go b/errors/utils_test.go index d9dae2e1e..b1ebbc525 100644 --- a/errors/utils_test.go +++ b/errors/utils_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/client/main.go b/examples/client/main.go index 22cc071c0..c4c008fa6 100644 --- a/examples/client/main.go +++ b/examples/client/main.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/fetcher/main.go b/examples/fetcher/main.go index e0e0da12c..7d2e341bd 100644 --- a/examples/fetcher/main.go +++ b/examples/fetcher/main.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/server/main.go b/examples/server/main.go index 30ee022b7..6c41b033d 100644 --- a/examples/server/main.go +++ b/examples/server/main.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/server/services/block_service.go b/examples/server/services/block_service.go index 8c5c2a414..4835ffba8 100644 --- a/examples/server/services/block_service.go +++ b/examples/server/services/block_service.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/server/services/network_service.go b/examples/server/services/network_service.go index 060af816d..ba71b67e5 100644 --- a/examples/server/services/network_service.go +++ b/examples/server/services/network_service.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/account.go b/fetcher/account.go index 3c1cf3fbf..528e0faea 100644 --- a/fetcher/account.go +++ b/fetcher/account.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/account_test.go b/fetcher/account_test.go index 43bc116da..ba93b923f 100644 --- a/fetcher/account_test.go +++ b/fetcher/account_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/block.go b/fetcher/block.go index 3e85dfe95..fadce34ab 100644 --- a/fetcher/block.go +++ b/fetcher/block.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/block_test.go b/fetcher/block_test.go index b4800b385..27fe37654 100644 --- a/fetcher/block_test.go +++ b/fetcher/block_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/call.go b/fetcher/call.go index 6a7d83150..6dedc935b 100644 --- a/fetcher/call.go +++ b/fetcher/call.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/call_test.go b/fetcher/call_test.go index ffe80f4cc..98efbc39c 100644 --- a/fetcher/call_test.go +++ b/fetcher/call_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/configuration.go b/fetcher/configuration.go index 90b2b2fda..812cdd9a9 100644 --- a/fetcher/configuration.go +++ b/fetcher/configuration.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/construction.go b/fetcher/construction.go index 25abf4d40..996df4ac1 100644 --- a/fetcher/construction.go +++ b/fetcher/construction.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/errors.go b/fetcher/errors.go index 9b841d2af..b4d5f7888 100644 --- a/fetcher/errors.go +++ b/fetcher/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/errors_test.go b/fetcher/errors_test.go index c8977560f..22f452b16 100644 --- a/fetcher/errors_test.go +++ b/fetcher/errors_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/events.go b/fetcher/events.go index 47a422e9b..aa397f4a3 100644 --- a/fetcher/events.go +++ b/fetcher/events.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/events_test.go b/fetcher/events_test.go index 7ed31cbcf..d1266b4f7 100644 --- a/fetcher/events_test.go +++ b/fetcher/events_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/fetcher.go b/fetcher/fetcher.go index b1e304dfe..a3412107c 100644 --- a/fetcher/fetcher.go +++ b/fetcher/fetcher.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/fetcher_test.go b/fetcher/fetcher_test.go index f831914cc..f7589a7e7 100644 --- a/fetcher/fetcher_test.go +++ b/fetcher/fetcher_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/mempool.go b/fetcher/mempool.go index bc7db11cc..919c74ed6 100644 --- a/fetcher/mempool.go +++ b/fetcher/mempool.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/network.go b/fetcher/network.go index 7fb2b56c6..986368e7a 100644 --- a/fetcher/network.go +++ b/fetcher/network.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/network_test.go b/fetcher/network_test.go index 896cf2601..30b0c210f 100644 --- a/fetcher/network_test.go +++ b/fetcher/network_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/search.go b/fetcher/search.go index 08cac9e34..7fb4ad736 100644 --- a/fetcher/search.go +++ b/fetcher/search.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/search_test.go b/fetcher/search_test.go index 1d06a2282..3dba5af90 100644 --- a/fetcher/search_test.go +++ b/fetcher/search_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fetcher/utils.go b/fetcher/utils.go index 269205201..2e6caafdb 100644 --- a/fetcher/utils.go +++ b/fetcher/utils.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/imports.sh b/imports.sh index 1b68985ab..46ed0386e 100755 --- a/imports.sh +++ b/imports.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2020 Coinbase, Inc. +# Copyright 2024 Coinbase, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/keys/errors.go b/keys/errors.go index 29a0328b8..f39df034e 100644 --- a/keys/errors.go +++ b/keys/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keys/errors_test.go b/keys/errors_test.go index 8302af9c7..5c984bb8a 100644 --- a/keys/errors_test.go +++ b/keys/errors_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keys/keys.go b/keys/keys.go index 4bea9375a..c14fdc02d 100644 --- a/keys/keys.go +++ b/keys/keys.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keys/keys_test.go b/keys/keys_test.go index 9b31b805d..a7985f90d 100644 --- a/keys/keys_test.go +++ b/keys/keys_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keys/signer.go b/keys/signer.go index 6daaee43c..0bd0a4b4c 100644 --- a/keys/signer.go +++ b/keys/signer.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keys/signer_edwards25519.go b/keys/signer_edwards25519.go index 3d3b0169c..d761b09cd 100644 --- a/keys/signer_edwards25519.go +++ b/keys/signer_edwards25519.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keys/signer_edwards25519_test.go b/keys/signer_edwards25519_test.go index 1b38da085..345459607 100644 --- a/keys/signer_edwards25519_test.go +++ b/keys/signer_edwards25519_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keys/signer_secp256k1.go b/keys/signer_secp256k1.go index 71085154c..e04440b2c 100644 --- a/keys/signer_secp256k1.go +++ b/keys/signer_secp256k1.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keys/signer_secp256k1_test.go b/keys/signer_secp256k1_test.go index 24ca02ff3..37591d57e 100644 --- a/keys/signer_secp256k1_test.go +++ b/keys/signer_secp256k1_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keys/signer_secp256r1.go b/keys/signer_secp256r1.go index 7e3cfc916..4bc969338 100644 --- a/keys/signer_secp256r1.go +++ b/keys/signer_secp256r1.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keys/signer_secp256r1_test.go b/keys/signer_secp256r1_test.go index dbc6113b1..659f4ea5b 100644 --- a/keys/signer_secp256r1_test.go +++ b/keys/signer_secp256r1_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/keys/types.go b/keys/types.go index b13508718..e9b01bb9c 100644 --- a/keys/types.go +++ b/keys/types.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/parser/balance_changes.go b/parser/balance_changes.go index 8cd149b55..635031fa5 100644 --- a/parser/balance_changes.go +++ b/parser/balance_changes.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/parser/balance_changes_test.go b/parser/balance_changes_test.go index 3087aa850..9121966e8 100644 --- a/parser/balance_changes_test.go +++ b/parser/balance_changes_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/parser/errors.go b/parser/errors.go index 5d32062c2..efb6ad86a 100644 --- a/parser/errors.go +++ b/parser/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/parser/errors_test.go b/parser/errors_test.go index 5f78e46bc..a70936a51 100644 --- a/parser/errors_test.go +++ b/parser/errors_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/parser/exemptions.go b/parser/exemptions.go index 7ad283633..5cda2bd2e 100644 --- a/parser/exemptions.go +++ b/parser/exemptions.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/parser/exemptions_test.go b/parser/exemptions_test.go index b83b1b4c2..e5a459031 100644 --- a/parser/exemptions_test.go +++ b/parser/exemptions_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/parser/group_operations.go b/parser/group_operations.go index eeb675f8e..3f1dfd3d7 100644 --- a/parser/group_operations.go +++ b/parser/group_operations.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/parser/group_operations_test.go b/parser/group_operations_test.go index e6cbd6d95..f33645efc 100644 --- a/parser/group_operations_test.go +++ b/parser/group_operations_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/parser/intent.go b/parser/intent.go index 8b70cf058..55e7fc7ec 100644 --- a/parser/intent.go +++ b/parser/intent.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/parser/intent_test.go b/parser/intent_test.go index 6842a92ae..eb811cbf4 100644 --- a/parser/intent_test.go +++ b/parser/intent_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/parser/parser.go b/parser/parser.go index ce1b94ff0..8d3c9aaf8 100644 --- a/parser/parser.go +++ b/parser/parser.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/reconciler/configuration.go b/reconciler/configuration.go index 940d67cb6..418972927 100644 --- a/reconciler/configuration.go +++ b/reconciler/configuration.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/reconciler/errors.go b/reconciler/errors.go index 06f5997b4..4f0439641 100644 --- a/reconciler/errors.go +++ b/reconciler/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/reconciler/errors_test.go b/reconciler/errors_test.go index 2538c2539..fa1f576f0 100644 --- a/reconciler/errors_test.go +++ b/reconciler/errors_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/reconciler/reconciler.go b/reconciler/reconciler.go index 46ba1ef89..1e87c9568 100644 --- a/reconciler/reconciler.go +++ b/reconciler/reconciler.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/reconciler/reconciler_test.go b/reconciler/reconciler_test.go index 8c9097111..7779f0fdd 100644 --- a/reconciler/reconciler_test.go +++ b/reconciler/reconciler_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/reconciler/types.go b/reconciler/types.go index c36d019b7..6114fc9c3 100644 --- a/reconciler/types.go +++ b/reconciler/types.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/server/api.go b/server/api.go index f3d4c6659..354dd7314 100644 --- a/server/api.go +++ b/server/api.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/server/api_account.go b/server/api_account.go index 1b52d46fd..af1e881aa 100644 --- a/server/api_account.go +++ b/server/api_account.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/server/api_block.go b/server/api_block.go index d8734a42f..a3fe4cf63 100644 --- a/server/api_block.go +++ b/server/api_block.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/server/api_call.go b/server/api_call.go index 31b77260d..20abff660 100644 --- a/server/api_call.go +++ b/server/api_call.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/server/api_construction.go b/server/api_construction.go index 71f1d6c95..d47d45a0a 100644 --- a/server/api_construction.go +++ b/server/api_construction.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/server/api_events.go b/server/api_events.go index b32f990a6..73a1d5d5a 100644 --- a/server/api_events.go +++ b/server/api_events.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/server/api_mempool.go b/server/api_mempool.go index bfcb15889..774fb1766 100644 --- a/server/api_mempool.go +++ b/server/api_mempool.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/server/api_network.go b/server/api_network.go index c2482dec2..75a8f0c19 100644 --- a/server/api_network.go +++ b/server/api_network.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/server/api_search.go b/server/api_search.go index b2aaf330e..a9e025491 100644 --- a/server/api_search.go +++ b/server/api_search.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/server/logger.go b/server/logger.go index aa89094ce..de0ec1ec4 100644 --- a/server/logger.go +++ b/server/logger.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/server/routers.go b/server/routers.go index cf1cf9031..27e8b95c9 100644 --- a/server/routers.go +++ b/server/routers.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/statefulsyncer/configuration.go b/statefulsyncer/configuration.go index b667403d1..af6078514 100644 --- a/statefulsyncer/configuration.go +++ b/statefulsyncer/configuration.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/statefulsyncer/stateful_syncer.go b/statefulsyncer/stateful_syncer.go index f434e492f..d65b6f480 100644 --- a/statefulsyncer/stateful_syncer.go +++ b/statefulsyncer/stateful_syncer.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/database/badger_database.go b/storage/database/badger_database.go index 11bdae4c7..669867d9a 100644 --- a/storage/database/badger_database.go +++ b/storage/database/badger_database.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/database/badger_database_configuration.go b/storage/database/badger_database_configuration.go index b27f27df6..5d41e1c4e 100644 --- a/storage/database/badger_database_configuration.go +++ b/storage/database/badger_database_configuration.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/database/badger_database_test.go b/storage/database/badger_database_test.go index 46997fc6c..703293338 100644 --- a/storage/database/badger_database_test.go +++ b/storage/database/badger_database_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/database/database.go b/storage/database/database.go index 4bef5a08d..f926e4ff3 100644 --- a/storage/database/database.go +++ b/storage/database/database.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/encoder/buffer_pool.go b/storage/encoder/buffer_pool.go index 595cf9e79..1be84a8ae 100644 --- a/storage/encoder/buffer_pool.go +++ b/storage/encoder/buffer_pool.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/encoder/encoder.go b/storage/encoder/encoder.go index 4dccff0f2..528f2a28d 100644 --- a/storage/encoder/encoder.go +++ b/storage/encoder/encoder.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/encoder/encoder_test.go b/storage/encoder/encoder_test.go index 3bfd97a26..77381a043 100644 --- a/storage/encoder/encoder_test.go +++ b/storage/encoder/encoder_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/errors/errors.go b/storage/errors/errors.go index 1ed9cc5eb..c6cd9a201 100644 --- a/storage/errors/errors.go +++ b/storage/errors/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/errors/errors_test.go b/storage/errors/errors_test.go index e32c38839..7ab2a91d5 100644 --- a/storage/errors/errors_test.go +++ b/storage/errors/errors_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/modules/balance_storage.go b/storage/modules/balance_storage.go index a7f6813c6..31b1c3b3c 100644 --- a/storage/modules/balance_storage.go +++ b/storage/modules/balance_storage.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/modules/balance_storage_test.go b/storage/modules/balance_storage_test.go index 23c4b3cc4..d1e40001d 100644 --- a/storage/modules/balance_storage_test.go +++ b/storage/modules/balance_storage_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/modules/block_storage.go b/storage/modules/block_storage.go index 7e738d910..cc9738f2e 100644 --- a/storage/modules/block_storage.go +++ b/storage/modules/block_storage.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/modules/block_storage_test.go b/storage/modules/block_storage_test.go index fc8739c92..73fe6a82b 100644 --- a/storage/modules/block_storage_test.go +++ b/storage/modules/block_storage_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/modules/broadcast_storage.go b/storage/modules/broadcast_storage.go index b07d4f8c5..44093a4ac 100644 --- a/storage/modules/broadcast_storage.go +++ b/storage/modules/broadcast_storage.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/modules/broadcast_storage_test.go b/storage/modules/broadcast_storage_test.go index 29e91b85b..bffab487c 100644 --- a/storage/modules/broadcast_storage_test.go +++ b/storage/modules/broadcast_storage_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/modules/coin_storage.go b/storage/modules/coin_storage.go index 3882f39e5..cfdb5c5d2 100644 --- a/storage/modules/coin_storage.go +++ b/storage/modules/coin_storage.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/modules/coin_storage_test.go b/storage/modules/coin_storage_test.go index 8d16e9816..08e573d52 100644 --- a/storage/modules/coin_storage_test.go +++ b/storage/modules/coin_storage_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/modules/counter_storage.go b/storage/modules/counter_storage.go index 67a1d505e..2ce296201 100644 --- a/storage/modules/counter_storage.go +++ b/storage/modules/counter_storage.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/modules/counter_storage_test.go b/storage/modules/counter_storage_test.go index 0d7d05076..2d4709047 100644 --- a/storage/modules/counter_storage_test.go +++ b/storage/modules/counter_storage_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/modules/job_storage.go b/storage/modules/job_storage.go index 0cb34cdd7..14ce89052 100644 --- a/storage/modules/job_storage.go +++ b/storage/modules/job_storage.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/modules/job_storage_test.go b/storage/modules/job_storage_test.go index 34572d1cf..de0600f05 100644 --- a/storage/modules/job_storage_test.go +++ b/storage/modules/job_storage_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/modules/key_storage.go b/storage/modules/key_storage.go index a9b7d5623..f8624b9bd 100644 --- a/storage/modules/key_storage.go +++ b/storage/modules/key_storage.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/modules/key_storage_test.go b/storage/modules/key_storage_test.go index d19444695..e9f68ed11 100644 --- a/storage/modules/key_storage_test.go +++ b/storage/modules/key_storage_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/modules/utils.go b/storage/modules/utils.go index e7ac275d6..cb0c830a1 100644 --- a/storage/modules/utils.go +++ b/storage/modules/utils.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/syncer/configuration.go b/syncer/configuration.go index de631f63d..0024e2e8c 100644 --- a/syncer/configuration.go +++ b/syncer/configuration.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/syncer/errors.go b/syncer/errors.go index da2ed0ec8..953d3f97c 100644 --- a/syncer/errors.go +++ b/syncer/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/syncer/errors_test.go b/syncer/errors_test.go index c4cda363d..6488d3a85 100644 --- a/syncer/errors_test.go +++ b/syncer/errors_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/syncer/syncer.go b/syncer/syncer.go index 026b847bb..5f8847159 100644 --- a/syncer/syncer.go +++ b/syncer/syncer.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/syncer/syncer_test.go b/syncer/syncer_test.go index 3cfe817d7..ef7676463 100644 --- a/syncer/syncer_test.go +++ b/syncer/syncer_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/syncer/types.go b/syncer/types.go index dbb35bfa3..81196a61c 100644 --- a/syncer/types.go +++ b/syncer/types.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/templates/construction_derive_response.txt b/templates/construction_derive_response.txt index 05ff7d575..bc2dacb0d 100644 --- a/templates/construction_derive_response.txt +++ b/templates/construction_derive_response.txt @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/templates/construction_parse_response.txt b/templates/construction_parse_response.txt index 77e8fecb4..dac587087 100644 --- a/templates/construction_parse_response.txt +++ b/templates/construction_parse_response.txt @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/templates/signing_payload.txt b/templates/signing_payload.txt index a8c6dda89..5e8c5a1b2 100644 --- a/templates/signing_payload.txt +++ b/templates/signing_payload.txt @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/account_balance_request.go b/types/account_balance_request.go index 5cedb0932..5a4451a67 100644 --- a/types/account_balance_request.go +++ b/types/account_balance_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/account_balance_response.go b/types/account_balance_response.go index dc06486c8..35dae095c 100644 --- a/types/account_balance_response.go +++ b/types/account_balance_response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/account_coin.go b/types/account_coin.go index 1e50bbd8e..37f7c6925 100644 --- a/types/account_coin.go +++ b/types/account_coin.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/account_coins_request.go b/types/account_coins_request.go index 40fb7cdfd..c4117fb1c 100644 --- a/types/account_coins_request.go +++ b/types/account_coins_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/account_coins_response.go b/types/account_coins_response.go index 57a993122..04ab2cc2b 100644 --- a/types/account_coins_response.go +++ b/types/account_coins_response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/account_currency.go b/types/account_currency.go index d4f224c65..38b90b5e9 100644 --- a/types/account_currency.go +++ b/types/account_currency.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/account_identifier.go b/types/account_identifier.go index 8bcfb1f0c..67bb2a2ce 100644 --- a/types/account_identifier.go +++ b/types/account_identifier.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/allow.go b/types/allow.go index 8c0a2ae3c..ecac150ad 100644 --- a/types/allow.go +++ b/types/allow.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/amount.go b/types/amount.go index 02d90f5b0..6bf4dc40d 100644 --- a/types/amount.go +++ b/types/amount.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/balance_exemption.go b/types/balance_exemption.go index 129941931..2383bb4f1 100644 --- a/types/balance_exemption.go +++ b/types/balance_exemption.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/block.go b/types/block.go index 41ea3ceb9..6dc3465db 100644 --- a/types/block.go +++ b/types/block.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/block_event.go b/types/block_event.go index f285096ee..d543838ee 100644 --- a/types/block_event.go +++ b/types/block_event.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/block_event_type.go b/types/block_event_type.go index d7eeb1aeb..9e5cac72c 100644 --- a/types/block_event_type.go +++ b/types/block_event_type.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/block_identifier.go b/types/block_identifier.go index 980a8794c..8d56526d4 100644 --- a/types/block_identifier.go +++ b/types/block_identifier.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/block_request.go b/types/block_request.go index 33d3d73f8..aef611e95 100644 --- a/types/block_request.go +++ b/types/block_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/block_response.go b/types/block_response.go index b2e21f547..c5a6abddb 100644 --- a/types/block_response.go +++ b/types/block_response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/block_transaction.go b/types/block_transaction.go index 1ceeee2ea..71b54e1f7 100644 --- a/types/block_transaction.go +++ b/types/block_transaction.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/block_transaction_request.go b/types/block_transaction_request.go index c5e352344..d81f90bf3 100644 --- a/types/block_transaction_request.go +++ b/types/block_transaction_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/block_transaction_response.go b/types/block_transaction_response.go index f5e0ba624..de26b6013 100644 --- a/types/block_transaction_response.go +++ b/types/block_transaction_response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/call_request.go b/types/call_request.go index aacb3eba8..eefdce10c 100644 --- a/types/call_request.go +++ b/types/call_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/call_response.go b/types/call_response.go index 0acd77352..aaaa857e2 100644 --- a/types/call_response.go +++ b/types/call_response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/case.go b/types/case.go index d6cbb056b..13d25f040 100644 --- a/types/case.go +++ b/types/case.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/coin.go b/types/coin.go index 9af11e5fe..1166b5240 100644 --- a/types/coin.go +++ b/types/coin.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/coin_action.go b/types/coin_action.go index d57974520..7d0df80bb 100644 --- a/types/coin_action.go +++ b/types/coin_action.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/coin_change.go b/types/coin_change.go index f3ecf08e9..5c5c0dc5f 100644 --- a/types/coin_change.go +++ b/types/coin_change.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/coin_identifier.go b/types/coin_identifier.go index 3cade3a43..e971fb6ef 100644 --- a/types/coin_identifier.go +++ b/types/coin_identifier.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/construction_combine_request.go b/types/construction_combine_request.go index bdf34d562..d0dd51b30 100644 --- a/types/construction_combine_request.go +++ b/types/construction_combine_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/construction_combine_response.go b/types/construction_combine_response.go index 5791e1248..0fe4f4b2c 100644 --- a/types/construction_combine_response.go +++ b/types/construction_combine_response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/construction_derive_request.go b/types/construction_derive_request.go index 01d1982f5..3b077e292 100644 --- a/types/construction_derive_request.go +++ b/types/construction_derive_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/construction_derive_response.go b/types/construction_derive_response.go index 05ff7d575..bc2dacb0d 100644 --- a/types/construction_derive_response.go +++ b/types/construction_derive_response.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/construction_hash_request.go b/types/construction_hash_request.go index 435f6fc42..2d15a4c2c 100644 --- a/types/construction_hash_request.go +++ b/types/construction_hash_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/construction_metadata_request.go b/types/construction_metadata_request.go index 5efd62822..e029be029 100644 --- a/types/construction_metadata_request.go +++ b/types/construction_metadata_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/construction_metadata_response.go b/types/construction_metadata_response.go index 644d2f989..4823bc40d 100644 --- a/types/construction_metadata_response.go +++ b/types/construction_metadata_response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/construction_parse_request.go b/types/construction_parse_request.go index fa226291d..aa5d3b07b 100644 --- a/types/construction_parse_request.go +++ b/types/construction_parse_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/construction_parse_response.go b/types/construction_parse_response.go index 77e8fecb4..dac587087 100644 --- a/types/construction_parse_response.go +++ b/types/construction_parse_response.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/construction_payloads_request.go b/types/construction_payloads_request.go index f6e61f07d..111e7211f 100644 --- a/types/construction_payloads_request.go +++ b/types/construction_payloads_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/construction_payloads_response.go b/types/construction_payloads_response.go index 991f2cdc2..780aff81b 100644 --- a/types/construction_payloads_response.go +++ b/types/construction_payloads_response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/construction_preprocess_request.go b/types/construction_preprocess_request.go index 95a9a6554..970fbba5b 100644 --- a/types/construction_preprocess_request.go +++ b/types/construction_preprocess_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/construction_preprocess_response.go b/types/construction_preprocess_response.go index ae6a95325..b8ee4095c 100644 --- a/types/construction_preprocess_response.go +++ b/types/construction_preprocess_response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/construction_submit_request.go b/types/construction_submit_request.go index 1a2504915..60675652e 100644 --- a/types/construction_submit_request.go +++ b/types/construction_submit_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/currency.go b/types/currency.go index 326c29e26..2a8ae80fb 100644 --- a/types/currency.go +++ b/types/currency.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/curve_type.go b/types/curve_type.go index 8a0489791..10682ec8c 100644 --- a/types/curve_type.go +++ b/types/curve_type.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/direction.go b/types/direction.go index 7b5b25bf0..cede38317 100644 --- a/types/direction.go +++ b/types/direction.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/error.go b/types/error.go index 7f591eb97..1229d7db1 100644 --- a/types/error.go +++ b/types/error.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/events_blocks_request.go b/types/events_blocks_request.go index 38120acee..1d685d61e 100644 --- a/types/events_blocks_request.go +++ b/types/events_blocks_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/events_blocks_response.go b/types/events_blocks_response.go index 36bbb8a41..94442b9f5 100644 --- a/types/events_blocks_response.go +++ b/types/events_blocks_response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/exemption_type.go b/types/exemption_type.go index ec187fd17..ae2b63f49 100644 --- a/types/exemption_type.go +++ b/types/exemption_type.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/marshal_test.go b/types/marshal_test.go index 181ac5fb1..b273dfb13 100644 --- a/types/marshal_test.go +++ b/types/marshal_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/mempool_response.go b/types/mempool_response.go index 11d84c05b..ccb37f4d3 100644 --- a/types/mempool_response.go +++ b/types/mempool_response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/mempool_transaction_request.go b/types/mempool_transaction_request.go index 04341e974..dcb068c4f 100644 --- a/types/mempool_transaction_request.go +++ b/types/mempool_transaction_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/mempool_transaction_response.go b/types/mempool_transaction_response.go index dd928c540..4475dfd1b 100644 --- a/types/mempool_transaction_response.go +++ b/types/mempool_transaction_response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/metadata_request.go b/types/metadata_request.go index 2f4c34423..e71c7a154 100644 --- a/types/metadata_request.go +++ b/types/metadata_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/network_identifier.go b/types/network_identifier.go index bdf7c34a8..3309b7616 100644 --- a/types/network_identifier.go +++ b/types/network_identifier.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/network_list_response.go b/types/network_list_response.go index 1c073b68e..b7ab57310 100644 --- a/types/network_list_response.go +++ b/types/network_list_response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/network_options_response.go b/types/network_options_response.go index b64e4d398..505b6a3cc 100644 --- a/types/network_options_response.go +++ b/types/network_options_response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/network_request.go b/types/network_request.go index 00025f431..75f9f6f13 100644 --- a/types/network_request.go +++ b/types/network_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/network_status_response.go b/types/network_status_response.go index 2905fa87b..eedc3bca2 100644 --- a/types/network_status_response.go +++ b/types/network_status_response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/operation.go b/types/operation.go index 3677c5662..ccd8df5a7 100644 --- a/types/operation.go +++ b/types/operation.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/operation_identifier.go b/types/operation_identifier.go index 8c9b08019..ae9179144 100644 --- a/types/operation_identifier.go +++ b/types/operation_identifier.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/operation_status.go b/types/operation_status.go index 8ea2a1e18..a8784780a 100644 --- a/types/operation_status.go +++ b/types/operation_status.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/operator.go b/types/operator.go index 1c6fef63d..05938f317 100644 --- a/types/operator.go +++ b/types/operator.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/partial_block_identifier.go b/types/partial_block_identifier.go index 2ee9db93c..db62012cb 100644 --- a/types/partial_block_identifier.go +++ b/types/partial_block_identifier.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/peer.go b/types/peer.go index cb73fbcdc..e2f015c6c 100644 --- a/types/peer.go +++ b/types/peer.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/public_key.go b/types/public_key.go index 207f998df..83a8ad8a4 100644 --- a/types/public_key.go +++ b/types/public_key.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/related_transaction.go b/types/related_transaction.go index e5a5fdea5..3b55523f1 100644 --- a/types/related_transaction.go +++ b/types/related_transaction.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/search_transactions_request.go b/types/search_transactions_request.go index 4f969e5e5..d59c7debb 100644 --- a/types/search_transactions_request.go +++ b/types/search_transactions_request.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/search_transactions_response.go b/types/search_transactions_response.go index 9791165e6..b5626cbf3 100644 --- a/types/search_transactions_response.go +++ b/types/search_transactions_response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/signature.go b/types/signature.go index 4ca9f0341..b287649eb 100644 --- a/types/signature.go +++ b/types/signature.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/signature_type.go b/types/signature_type.go index a5a5cd471..228e4c7ba 100644 --- a/types/signature_type.go +++ b/types/signature_type.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/signing_payload.go b/types/signing_payload.go index b6176d15d..c4493cd43 100644 --- a/types/signing_payload.go +++ b/types/signing_payload.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/sub_account_identifier.go b/types/sub_account_identifier.go index a8bbf99dd..be398ae33 100644 --- a/types/sub_account_identifier.go +++ b/types/sub_account_identifier.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/sub_network_identifier.go b/types/sub_network_identifier.go index c20d060da..f760a85dd 100644 --- a/types/sub_network_identifier.go +++ b/types/sub_network_identifier.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/sync_status.go b/types/sync_status.go index 364b36863..7739781b4 100644 --- a/types/sync_status.go +++ b/types/sync_status.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/transaction.go b/types/transaction.go index 6e5fad900..5552866cb 100644 --- a/types/transaction.go +++ b/types/transaction.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/transaction_identifier.go b/types/transaction_identifier.go index 090491c6c..511deccaa 100644 --- a/types/transaction_identifier.go +++ b/types/transaction_identifier.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/transaction_identifier_response.go b/types/transaction_identifier_response.go index d29f8283e..ba8d7560f 100644 --- a/types/transaction_identifier_response.go +++ b/types/transaction_identifier_response.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/types.go b/types/types.go index c9b2fdb9b..15e51bb0f 100644 --- a/types/types.go +++ b/types/types.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/utils.go b/types/utils.go index 06ae588bc..3ddac898d 100644 --- a/types/utils.go +++ b/types/utils.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/utils_test.go b/types/utils_test.go index 4f8d2595b..561986571 100644 --- a/types/utils_test.go +++ b/types/utils_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/types/version.go b/types/version.go index 0af02edbf..70f3fc261 100644 --- a/types/version.go +++ b/types/version.go @@ -1,4 +1,4 @@ -// Copyright 2023 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/utils/bst.go b/utils/bst.go index fd4c52a69..494572af9 100644 --- a/utils/bst.go +++ b/utils/bst.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/utils/bst_test.go b/utils/bst_test.go index eb659a4a0..d239d2d3d 100644 --- a/utils/bst_test.go +++ b/utils/bst_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/utils/mutex_map.go b/utils/mutex_map.go index 4def4e340..ff994b2ce 100644 --- a/utils/mutex_map.go +++ b/utils/mutex_map.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/utils/mutex_map_test.go b/utils/mutex_map_test.go index 5c2a8d383..851ad86c0 100644 --- a/utils/mutex_map_test.go +++ b/utils/mutex_map_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/utils/priority_mutex.go b/utils/priority_mutex.go index 693419fbe..9c3cb6904 100644 --- a/utils/priority_mutex.go +++ b/utils/priority_mutex.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/utils/priority_mutex_test.go b/utils/priority_mutex_test.go index a23e71994..312af027d 100644 --- a/utils/priority_mutex_test.go +++ b/utils/priority_mutex_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/utils/sharded_map.go b/utils/sharded_map.go index a2d91c026..0d5fb7749 100644 --- a/utils/sharded_map.go +++ b/utils/sharded_map.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/utils/sharded_map_test.go b/utils/sharded_map_test.go index a9815bd11..d1ee12231 100644 --- a/utils/sharded_map_test.go +++ b/utils/sharded_map_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/utils/size.go b/utils/size.go index a9e72e3c4..30664a31d 100644 --- a/utils/size.go +++ b/utils/size.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/utils/size_test.go b/utils/size_test.go index 462ee12f4..78ce531ce 100644 --- a/utils/size_test.go +++ b/utils/size_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/utils/utils.go b/utils/utils.go index 273fbb8e1..402eddaad 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/utils/utils_test.go b/utils/utils_test.go index b3ec57e52..ade3c1b7b 100644 --- a/utils/utils_test.go +++ b/utils/utils_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 Coinbase, Inc. +// Copyright 2024 Coinbase, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.