Rename solana-program-sdk to solana-program
This commit is contained in:
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-bpf-rust-128bit-dep = { path = "../128bit_dep", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! @brief Example Rust-based BPF program tests loop iteration
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
use solana_program_sdk::entrypoint::SUCCESS;
|
||||
extern crate solana_program;
|
||||
use solana_program::entrypoint::SUCCESS;
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//! @brief Solana Rust-based BPF program utility functions and types
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
extern crate solana_program;
|
||||
|
||||
pub fn uadd(x: u128, y: u128) -> u128 {
|
||||
x + y
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_bpf_rust_alloc"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#[macro_use]
|
||||
extern crate alloc;
|
||||
use solana_program_sdk::{entrypoint::SUCCESS, info};
|
||||
use solana_program::{entrypoint::SUCCESS, info};
|
||||
use std::{alloc::Layout, mem};
|
||||
|
||||
#[no_mangle]
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_bpf_rust_call_depth"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//! @brief Example Rust-based BPF program that tests call depth and stack usage
|
||||
|
||||
use solana_program_sdk::{entrypoint::SUCCESS, info};
|
||||
use solana_program::{entrypoint::SUCCESS, info};
|
||||
|
||||
#[inline(never)]
|
||||
pub fn recurse(data: &mut [u8]) {
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[features]
|
||||
default = ["custom-heap"]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//! @brief Example Rust-based BPF that tests out using a custom heap
|
||||
|
||||
use solana_program_sdk::{
|
||||
use solana_program::{
|
||||
account_info::AccountInfo,
|
||||
entrypoint,
|
||||
entrypoint::{ProgramResult, HEAP_LENGTH, HEAP_START_ADDRESS},
|
||||
|
||||
@@ -10,7 +10,7 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
byteorder = { version = "1", default-features = false }
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_bpf_rust_dep_crate"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
//! @brief Example Rust-based BPF program tests dependent crates
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
extern crate solana_program;
|
||||
use byteorder::{ByteOrder, LittleEndian};
|
||||
use solana_program_sdk::entrypoint::SUCCESS;
|
||||
use solana_program::entrypoint::SUCCESS;
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_bpf_rust_deprecated_loader"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
#![allow(unreachable_code)]
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
use solana_program_sdk::{
|
||||
extern crate solana_program;
|
||||
use solana_program::{
|
||||
account_info::AccountInfo, bpf_loader, entrypoint_deprecated,
|
||||
entrypoint_deprecated::ProgramResult, info, log::*, pubkey::Pubkey,
|
||||
};
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_bpf_rust_dup_accounts"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! @brief Example Rust-based BPF program that tests duplicate accounts passed via accounts
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
use solana_program_sdk::{
|
||||
extern crate solana_program;
|
||||
use solana_program::{
|
||||
account_info::AccountInfo, entrypoint, entrypoint::ProgramResult, info,
|
||||
program_error::ProgramError, pubkey::Pubkey,
|
||||
};
|
||||
|
||||
@@ -11,7 +11,7 @@ edition = "2018"
|
||||
[dependencies]
|
||||
num-derive = "0.2"
|
||||
num-traits = "0.2"
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
thiserror = "1.0"
|
||||
|
||||
[lib]
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
//! @brief Example Rust-based BPF program that exercises error handling
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
extern crate solana_program;
|
||||
use num_derive::FromPrimitive;
|
||||
use num_traits::FromPrimitive;
|
||||
use solana_program_sdk::{
|
||||
use solana_program::{
|
||||
account_info::AccountInfo,
|
||||
decode_error::DecodeError,
|
||||
entrypoint,
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_bpf_rust_external_spend"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! @brief Example Rust-based BPF program that moves a lamport from one account to another
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
use solana_program_sdk::{
|
||||
extern crate solana_program;
|
||||
use solana_program::{
|
||||
account_info::AccountInfo, entrypoint, entrypoint::ProgramResult, pubkey::Pubkey,
|
||||
};
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_bpf_rust_instruction_introspection"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! @brief Example Rust-based BPF program that exercises instruction introspection
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
use solana_program_sdk::{
|
||||
extern crate solana_program;
|
||||
use solana_program::{
|
||||
account_info::next_account_info, account_info::AccountInfo, entrypoint,
|
||||
entrypoint::ProgramResult, info, program_error::ProgramError, pubkey::Pubkey,
|
||||
sysvar::instructions,
|
||||
|
||||
@@ -10,7 +10,7 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-bpf-rust-invoked = { path = "../invoked", default-features = false }
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_bpf_rust_invoke"
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
#![allow(unreachable_code)]
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
extern crate solana_program;
|
||||
|
||||
use solana_bpf_rust_invoked::instruction::*;
|
||||
use solana_program_sdk::{
|
||||
use solana_program::{
|
||||
account_info::AccountInfo,
|
||||
entrypoint,
|
||||
entrypoint::{ProgramResult, MAX_PERMITTED_DATA_INCREASE},
|
||||
@@ -52,7 +52,7 @@ fn process_instruction(
|
||||
let from_lamports = accounts[FROM_INDEX].lamports();
|
||||
let to_lamports = accounts[DERIVED_KEY1_INDEX].lamports();
|
||||
assert_eq!(accounts[DERIVED_KEY1_INDEX].data_len(), 0);
|
||||
assert!(solana_program_sdk::system_program::check_id(
|
||||
assert!(solana_program::system_program::check_id(
|
||||
accounts[DERIVED_KEY1_INDEX].owner
|
||||
));
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[features]
|
||||
default = ["program"]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//! @brief Example Rust-based BPF program that issues a cross-program-invocation
|
||||
|
||||
use solana_program_sdk::{
|
||||
use solana_program::{
|
||||
instruction::{AccountMeta, Instruction},
|
||||
pubkey::Pubkey,
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#![cfg(feature = "program")]
|
||||
|
||||
use crate::instruction::*;
|
||||
use solana_program_sdk::{
|
||||
use solana_program::{
|
||||
account_info::AccountInfo,
|
||||
bpf_loader, entrypoint,
|
||||
entrypoint::ProgramResult,
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_bpf_rust_iter"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! @brief Example Rust-based BPF program tests loop iteration
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
use solana_program_sdk::{entrypoint::SUCCESS, info};
|
||||
extern crate solana_program;
|
||||
use solana_program::{entrypoint::SUCCESS, info};
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-bpf-rust-many-args-dep = { path = "../many_args_dep", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! @brief Example Rust-based BPF program tests loop iteration
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
use solana_program_sdk::log::*;
|
||||
extern crate solana_program;
|
||||
use solana_program::log::*;
|
||||
|
||||
pub fn many_args(
|
||||
arg1: u64,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
//! @brief Example Rust-based BPF program tests loop iteration
|
||||
|
||||
mod helper;
|
||||
extern crate solana_program_sdk;
|
||||
use solana_program_sdk::{entrypoint::SUCCESS, info};
|
||||
extern crate solana_program;
|
||||
use solana_program::{entrypoint::SUCCESS, info};
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! @brief Solana Rust-based BPF program utility functions and types
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
use solana_program_sdk::info;
|
||||
extern crate solana_program;
|
||||
use solana_program::info;
|
||||
|
||||
pub fn many_args(
|
||||
arg1: u64,
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_bpf_rust_noop"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! @brief Example Rust-based BPF noop program
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
use solana_program_sdk::{
|
||||
extern crate solana_program;
|
||||
use solana_program::{
|
||||
account_info::AccountInfo, entrypoint, entrypoint::ProgramResult, pubkey::Pubkey,
|
||||
};
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_bpf_rust_panic"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//! @brief Example Rust-based BPF program that panics
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
extern crate solana_program;
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-bpf-rust-param-passing-dep = { path = "../param_passing_dep", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
//! @brief Example Rust-based BPF program tests loop iteration
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
extern crate solana_program;
|
||||
use solana_bpf_rust_param_passing_dep::{Data, TestDep};
|
||||
use solana_program_sdk::{entrypoint::SUCCESS, info};
|
||||
use solana_program::{entrypoint::SUCCESS, info};
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//! @brief Example Rust-based BPF program tests loop iteration
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
extern crate solana_program;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Data<'a> {
|
||||
|
||||
@@ -11,7 +11,7 @@ edition = "2018"
|
||||
[dependencies]
|
||||
getrandom = { version = "0.1.14", features = ["dummy"] }
|
||||
rand = "0.7"
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_bpf_rust_rand"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
#![allow(unreachable_code)]
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
use solana_program_sdk::{
|
||||
extern crate solana_program;
|
||||
use solana_program::{
|
||||
account_info::AccountInfo, entrypoint, entrypoint::ProgramResult, info, pubkey::Pubkey,
|
||||
};
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ edition = "2018"
|
||||
[dependencies]
|
||||
curve25519-dalek = "3"
|
||||
getrandom = { version = "0.1.14", features = ["dummy"] }
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_bpf_rust_ristretto"
|
||||
|
||||
@@ -4,7 +4,7 @@ pub mod ristretto;
|
||||
|
||||
use crate::ristretto::ristretto_mul;
|
||||
use curve25519_dalek::{constants::RISTRETTO_BASEPOINT_POINT, scalar::Scalar};
|
||||
use solana_program_sdk::{
|
||||
use solana_program::{
|
||||
account_info::AccountInfo, entrypoint, entrypoint::ProgramResult, info, pubkey::Pubkey,
|
||||
};
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use curve25519_dalek::{ristretto::RistrettoPoint, scalar::Scalar};
|
||||
use solana_program_sdk::program_error::ProgramError;
|
||||
use solana_program::program_error::ProgramError;
|
||||
|
||||
/// Multiply a ristretto point with a scalar
|
||||
///
|
||||
@@ -37,7 +37,7 @@ pub fn ristretto_mul(
|
||||
)
|
||||
};
|
||||
match status {
|
||||
solana_program_sdk::entrypoint::SUCCESS => Ok(result),
|
||||
solana_program::entrypoint::SUCCESS => Ok(result),
|
||||
_ => Err(status.into()),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_bpf_rust_sanity"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
#![allow(unreachable_code)]
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
use solana_program_sdk::{
|
||||
extern crate solana_program;
|
||||
use solana_program::{
|
||||
account_info::AccountInfo, bpf_loader, entrypoint, entrypoint::ProgramResult, info, log::*,
|
||||
pubkey::Pubkey,
|
||||
};
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_bpf_rust_sha256"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! @brief SHA256 Syscall test
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
use solana_program_sdk::{
|
||||
extern crate solana_program;
|
||||
use solana_program::{
|
||||
hash::{hashv, Hasher},
|
||||
info,
|
||||
};
|
||||
|
||||
@@ -9,7 +9,7 @@ homepage = "https://solana.com/"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-program-sdk = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
solana-program = { path = "../../../../sdk/program", version = "1.5.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_bpf_rust_sysval"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! @brief Example Rust-based BPF program that tests sysval use
|
||||
|
||||
extern crate solana_program_sdk;
|
||||
use solana_program_sdk::{
|
||||
extern crate solana_program;
|
||||
use solana_program::{
|
||||
account_info::AccountInfo,
|
||||
clock::DEFAULT_SLOTS_PER_EPOCH,
|
||||
entrypoint,
|
||||
|
||||
Reference in New Issue
Block a user