Skip to content

Commit

Permalink
Update copyright statements
Browse files Browse the repository at this point in the history
  • Loading branch information
edfelten authored and hkalodner committed Apr 5, 2022
1 parent f49e587 commit ccea160
Show file tree
Hide file tree
Showing 270 changed files with 689 additions and 1,137 deletions.
3 changes: 3 additions & 0 deletions arbcompress/compress_cgo.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

//go:build !js
// +build !js

Expand Down
3 changes: 3 additions & 0 deletions arbcompress/compress_common.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbcompress

const LEVEL_FAST = 0
Expand Down
3 changes: 3 additions & 0 deletions arbcompress/compress_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbcompress

import (
Expand Down
3 changes: 3 additions & 0 deletions arbcompress/compress_wasm.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

//go:build js
// +build js

Expand Down
3 changes: 3 additions & 0 deletions arbitrator/prover/src/binary.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

use crate::{
value::{FunctionType, IntegerValType, Value as LirValue, ValueType},
wavm::{IBinOpType, IRelOpType, IUnOpType, Opcode},
Expand Down
3 changes: 3 additions & 0 deletions arbitrator/prover/src/host.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

use crate::{
binary::{BlockType, Code, HirInstruction},
machine::{Function, InboxIdentifier},
Expand Down
3 changes: 3 additions & 0 deletions arbitrator/prover/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

#![allow(clippy::missing_safety_doc)] // We have a lot of unsafe ABI

pub mod binary;
Expand Down
3 changes: 3 additions & 0 deletions arbitrator/prover/src/machine.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

use crate::{
binary::{
BlockType, Code, ElementMode, ExportKind, FloatInstruction, HirInstruction, ImportKind,
Expand Down
3 changes: 3 additions & 0 deletions arbitrator/prover/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

use eyre::{Context, Result};
use fnv::{FnvHashMap as HashMap, FnvHashSet as HashSet};
use prover::machine::{InboxIdentifier, MachineStatus};
Expand Down
3 changes: 3 additions & 0 deletions arbitrator/prover/src/memory.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

use crate::{
merkle::{Merkle, MerkleType},
utils::Bytes32,
Expand Down
3 changes: 3 additions & 0 deletions arbitrator/prover/src/merkle.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

use crate::utils::Bytes32;
use digest::Digest;
use rayon::prelude::*;
Expand Down
3 changes: 3 additions & 0 deletions arbitrator/prover/src/reinterpret.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

use num::Zero;
use std::{
num::Wrapping,
Expand Down
3 changes: 3 additions & 0 deletions arbitrator/prover/src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

use serde::{Deserialize, Serialize};
use std::{
borrow::Borrow,
Expand Down
3 changes: 3 additions & 0 deletions arbitrator/prover/src/value.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

use crate::{
binary::{FloatType, RefType},
utils::Bytes32,
Expand Down
3 changes: 3 additions & 0 deletions arbitrator/prover/src/wavm.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

use crate::{
binary::{BlockType, FloatInstruction, HirInstruction},
utils::Bytes32,
Expand Down
3 changes: 3 additions & 0 deletions arbitrator/prover/test-cases/go/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package main

import (
Expand Down
5 changes: 2 additions & 3 deletions arbnode/api.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbnode

Expand Down
5 changes: 2 additions & 3 deletions arbnode/arb_interface.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbnode

Expand Down
3 changes: 3 additions & 0 deletions arbnode/batch_poster.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbnode

import (
Expand Down
5 changes: 2 additions & 3 deletions arbnode/delayed.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbnode

Expand Down
3 changes: 3 additions & 0 deletions arbnode/delayed_sequencer.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbnode

import (
Expand Down
5 changes: 2 additions & 3 deletions arbnode/forwarder.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbnode

Expand Down
5 changes: 2 additions & 3 deletions arbnode/inbox_reader.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbnode

Expand Down
5 changes: 2 additions & 3 deletions arbnode/inbox_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbnode

Expand Down
5 changes: 2 additions & 3 deletions arbnode/inbox_tracker.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbnode

Expand Down
5 changes: 2 additions & 3 deletions arbnode/node-interface.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbnode

Expand Down
5 changes: 2 additions & 3 deletions arbnode/node.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbnode

Expand Down
5 changes: 2 additions & 3 deletions arbnode/schema.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbnode

Expand Down
3 changes: 3 additions & 0 deletions arbnode/seq_coordinator.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbnode

import (
Expand Down
3 changes: 3 additions & 0 deletions arbnode/seq_coordinator_atomic_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

//go:build redistest
// +build redistest

Expand Down
5 changes: 2 additions & 3 deletions arbnode/sequencer.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbnode

Expand Down
5 changes: 2 additions & 3 deletions arbnode/sequencer_inbox.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbnode

Expand Down
5 changes: 2 additions & 3 deletions arbnode/transaction_streamer.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbnode

Expand Down
5 changes: 2 additions & 3 deletions arbos/addressSet/addressSet.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package addressSet

Expand Down
5 changes: 2 additions & 3 deletions arbos/addressSet/addressSet_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package addressSet

Expand Down
5 changes: 2 additions & 3 deletions arbos/addressTable/addressTable.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package addressTable

Expand Down
5 changes: 2 additions & 3 deletions arbos/addressTable/addressTable_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package addressTable

Expand Down
5 changes: 2 additions & 3 deletions arbos/arbosState/arbosstate.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbosState

Expand Down
5 changes: 2 additions & 3 deletions arbos/arbosState/arbosstate_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbosState

Expand Down
5 changes: 2 additions & 3 deletions arbos/arbosState/common_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbosState

Expand Down
5 changes: 2 additions & 3 deletions arbos/arbosState/initialization_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbosState

Expand Down
5 changes: 2 additions & 3 deletions arbos/arbosState/initialize.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbosState

Expand Down
5 changes: 2 additions & 3 deletions arbos/block_processor.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package arbos

Expand Down
5 changes: 2 additions & 3 deletions arbos/blockhash/blockhash.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package blockhash

Expand Down
5 changes: 2 additions & 3 deletions arbos/blockhash/blockhash_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package blockhash

Expand Down
5 changes: 2 additions & 3 deletions arbos/blsTable/bls.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package blsTable

Expand Down
5 changes: 2 additions & 3 deletions arbos/blsTable/bls_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package blsTable

Expand Down
5 changes: 2 additions & 3 deletions arbos/burn/burn.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// Copyright 2021-2022, Offchain Labs, Inc. All rights reserved.
//
// Copyright 2021-2022, Offchain Labs, Inc.
// For license information, see https://github.com/nitro/blob/master/LICENSE

package burn

Expand Down
Loading

0 comments on commit ccea160

Please sign in to comment.