bitcoin: Remove attribution from all files

Currently we have a mishmash of attribution lines accompanying the SPDX
identifier. These lines are basically meaningless because:

- The date is often wrong
- The original author attributed is not the only contributor to a file
- The term "rust bitcoin developers" is basically just noise

Just remove all the attribution lines and be done with it. While we are
at it add an SPDX line to the few files missing it, whether this license
nonsense is even needed is left as an argument for another day.
This commit is contained in:
Tobin C. Harding 2023-05-01 09:19:35 +10:00
parent ca7c60a09d
commit 984fe69448
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
47 changed files with 16 additions and 39 deletions

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin addresses.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Base58 encoder and decoder.

View File

@ -1,4 +1,3 @@
// Written in 2019 by Tammas Blummer.
// SPDX-License-Identifier: CC0-1.0
// This module was largely copied from https://github.com/rust-bitcoin/murmel/blob/master/src/blockfilter.rs

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! BIP32 implementation.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin blocks.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Blockdata constants.

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
//! Implements `FeeRate` and assoctiated features.
use core::fmt;

View File

@ -1,4 +1,3 @@
// Rust Bitcoin Library - Written by the rust-bitcoin developers.
// SPDX-License-Identifier: CC0-1.0
//! Provides type [`LockTime`] that implements the logic around nLockTime/OP_CHECKLOCKTIMEVERIFY.

View File

@ -1,4 +1,3 @@
// Rust Bitcoin Library - Written by the rust-bitcoin developers.
// SPDX-License-Identifier: CC0-1.0
//! Provides absolute and relative locktimes.

View File

@ -1,4 +1,3 @@
// Rust Bitcoin Library - Written by the rust-bitcoin developers.
// SPDX-License-Identifier: CC0-1.0
//! Provides type [`LockTime`] that implements the logic around nSequence/OP_CHECKSEQUENCEVERIFY.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin block data.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin script opcodes.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
use core::convert::{TryFrom, TryInto};

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
#[cfg(feature = "bitcoinconsensus")]

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
use core::convert::TryInto;

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin scripts.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
#[cfg(doc)]

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
//! Contains `PushBytes` & co
use core::borrow::{Borrow, BorrowMut};

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
use core::str::FromStr;
use hashes::Hash;

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin transactions.

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
//! Implements `Weight` and associated features.
use core::fmt;

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin consensus-encodable types.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin consensus parameters.

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
//! Serde serialization via consensus encoding
//!
//! This provides functions for (de)serializing any type as consensus-encoded bytes.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! ECDSA Bitcoin signatures.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin keys.

View File

@ -1,4 +1,3 @@
// Rust Bitcoin Library - Written by the rust-bitcoin developers.
// SPDX-License-Identifier: CC0-1.0
//! Cryptography

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin taproot keys.

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
//! Contains error types and other error handling tools.
use core::fmt;

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin hash types.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Internal macros.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! # Rust Bitcoin Library

View File

@ -1,4 +1,3 @@
// Written by John L. Jegutanis
// SPDX-License-Identifier: CC0-1.0
//
// This code was translated from merkleblock.h, merkleblock.cpp and pmt_tests.cpp

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin merkle tree functions.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin network addresses.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin network constants.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin network messages.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin blockdata network messages.

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
//!
//! BIP152 Compact Blocks network messages
//!

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin network-related network messages.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin network support.

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
use core::convert::TryFrom;
use core::fmt;
use core::str::FromStr;

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin policy.

View File

@ -1,4 +1,3 @@
// Rust Bitcoin Library - Written by the rust-bitcoin developers.
// SPDX-License-Identifier: CC0-1.0
//! Proof-of-work related integer types.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Signature

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Bitcoin serde macros.

View File

@ -1,4 +1,3 @@
// Written in 2014 by Andrew Poelstra <apoelstra@wpsoftware.net>
// SPDX-License-Identifier: CC0-1.0
//! Utility functions.