SYMBOL INDEX (3271 symbols across 285 files) FILE: common/db/src/create_db.rs function serai_db_key (line 2) | pub fn serai_db_key( FILE: common/db/src/lib.rs type Get (line 18) | pub trait Get { method get (line 19) | fn get(&self, key: impl AsRef<[u8]>) -> Option>; type DbTxn (line 24) | pub trait DbTxn: Send + Get { method put (line 25) | fn put(&mut self, key: impl AsRef<[u8]>, value: impl AsRef<[u8]>); method del (line 26) | fn del(&mut self, key: impl AsRef<[u8]>); method commit (line 27) | fn commit(self); type Db (line 31) | pub trait Db: 'static + Send + Sync + Clone + Get { method key (line 33) | fn key(db_dst: &'static [u8], item_dst: &'static [u8], key: impl AsRef... method txn (line 38) | fn txn(&mut self) -> Self::Transaction<'_>; FILE: common/db/src/mem.rs type MemDbTxn (line 12) | pub struct MemDbTxn<'a>(&'a MemDb, HashMap, Vec>, HashSet) -> Option> { method put (line 27) | fn put(&mut self, key: impl AsRef<[u8]>, value: impl AsRef<[u8]>) { method del (line 31) | fn del(&mut self, key: impl AsRef<[u8]>) { method commit (line 35) | fn commit(mut self) { type MemDb (line 48) | pub struct MemDb(Arc, Vec>>>); method new (line 65) | pub fn new() -> MemDb { method eq (line 51) | fn eq(&self, other: &MemDb) -> bool { method default (line 58) | fn default() -> MemDb { method get (line 71) | fn get(&self, key: impl AsRef<[u8]>) -> Option> { type Transaction (line 76) | type Transaction<'a> = MemDbTxn<'a>; method txn (line 77) | fn txn(&mut self) -> MemDbTxn<'_> { FILE: common/db/src/parity_db.rs type Transaction (line 8) | pub struct Transaction<'a>(&'a Arc, Vec<(u8, Vec, Option) -> Option> { method put (line 22) | fn put(&mut self, key: impl AsRef<[u8]>, value: impl AsRef<[u8]>) { method del (line 25) | fn del(&mut self, key: impl AsRef<[u8]>) { method commit (line 28) | fn commit(self) { method get (line 34) | fn get(&self, key: impl AsRef<[u8]>) -> Option> { type Transaction (line 39) | type Transaction<'a> = Transaction<'a>; method txn (line 40) | fn txn(&mut self) -> Self::Transaction<'_> { function new_parity_db (line 45) | pub fn new_parity_db(path: &str) -> Arc { FILE: common/db/src/rocks.rs type Transaction (line 11) | pub struct Transaction<'a, T: ThreadMode>( method get (line 17) | fn get(&self, key: impl AsRef<[u8]>) -> Option> { method put (line 22) | fn put(&mut self, key: impl AsRef<[u8]>, value: impl AsRef<[u8]>) { method del (line 25) | fn del(&mut self, key: impl AsRef<[u8]>) { method commit (line 28) | fn commit(self) { method get (line 36) | fn get(&self, key: impl AsRef<[u8]>) -> Option> { type Transaction (line 41) | type Transaction<'a> = Transaction<'a, T>; method txn (line 42) | fn txn(&mut self) -> Self::Transaction<'_> { type RocksDB (line 49) | pub type RocksDB = Arc>; function new_rocksdb (line 50) | pub fn new_rocksdb(path: &str) -> RocksDB { FILE: common/env/src/lib.rs function var (line 4) | pub fn var(variable: &str) -> Option { FILE: common/patchable-async-sleep/src/lib.rs function sleep (line 8) | pub fn sleep(duration: Duration) -> impl core::future::Future; type Connection (line 40) | enum Connection { type Client (line 50) | pub struct Client { method connector (line 55) | fn connector() -> Connector { method with_connection_pool (line 72) | pub fn with_connection_pool() -> Client { method without_connection_pool (line 82) | pub fn without_connection_pool(host: &str) -> Result { method request (line 98) | pub async fn request>(&self, request: R) -> Result>); method username_password_from_uri (line 13) | fn username_password_from_uri(&self) -> Result<(String, String), Error> { method basic_auth (line 32) | pub fn basic_auth(&mut self, username: &str, password: &str) { method basic_auth_from_uri (line 47) | pub fn basic_auth_from_uri(&mut self) -> Result<(), Error> { method with_basic_auth (line 59) | pub fn with_basic_auth(&mut self) { method from (line 64) | fn from(request: hyper::Request>) -> Request { FILE: common/request/src/response.rs type Response (line 13) | pub struct Response<'a>(pub(crate) hyper::Response, pub(crate)... function status (line 15) | pub fn status(&self) -> StatusCode { function headers (line 18) | pub fn headers(&self) -> &HeaderMap { function body (line 21) | pub async fn body(self) -> Result { FILE: common/std-shims/src/io.rs type ErrorKind (line 10) | pub enum ErrorKind { type Error (line 15) | pub struct Error { method new (line 27) | pub fn new(kind: ErrorKind, error: E) -> Err... method other (line 31) | pub fn other(error: E) -> Error { method kind (line 35) | pub fn kind(&self) -> ErrorKind { method into_inner (line 39) | pub fn into_inner(self) -> Option> { method fmt (line 21) | fn fmt(&self, fmt: &mut Formatter<'_>) -> core::result::Result<(), core:... type Result (line 44) | pub type Result = core::result::Result; type Read (line 46) | pub trait Read { method read (line 47) | fn read(&mut self, buf: &mut [u8]) -> Result; method read_exact (line 49) | fn read_exact(&mut self, buf: &mut [u8]) -> Result<()> { method read (line 59) | fn read(&mut self, buf: &mut [u8]) -> Result { type BufRead (line 67) | pub trait BufRead: Read { method fill_buf (line 68) | fn fill_buf(&mut self) -> Result<&[u8]>; method consume (line 69) | fn consume(&mut self, amt: usize); method fill_buf (line 73) | fn fill_buf(&mut self) -> Result<&[u8]> { method consume (line 76) | fn consume(&mut self, amt: usize) { type Write (line 81) | pub trait Write { method write (line 82) | fn write(&mut self, buf: &[u8]) -> Result; method write_all (line 83) | fn write_all(&mut self, buf: &[u8]) -> Result<()> { method write (line 92) | fn write(&mut self, buf: &[u8]) -> Result { FILE: common/std-shims/src/lib.rs type StdShimsDivCeil (line 18) | pub trait StdShimsDivCeil { method div_ceil (line 19) | fn div_ceil(self, rhs: Self) -> Self; method div_ceil (line 25) | fn div_ceil(self, rhs: Self) -> Self { method div_ceil (line 30) | fn div_ceil(self, rhs: Self) -> Self { method div_ceil (line 35) | fn div_ceil(self, rhs: Self) -> Self { method div_ceil (line 40) | fn div_ceil(self, rhs: Self) -> Self { method div_ceil (line 45) | fn div_ceil(self, rhs: Self) -> Self { method div_ceil (line 50) | fn div_ceil(self, rhs: Self) -> Self { type StdShimsIoErrorOther (line 59) | pub trait StdShimsIoErrorOther { method other (line 60) | fn other(error: E) -> Self method other (line 67) | fn other(error: E) -> Self FILE: common/std-shims/src/sync.rs type ShimMutex (line 11) | pub struct ShimMutex(Mutex); function new (line 13) | pub const fn new(value: T) -> Self { function lock (line 17) | pub fn lock(&self) -> MutexGuard<'_, T> { FILE: common/zalloc/build.rs function main (line 2) | fn main() { function main (line 8) | fn main() { FILE: common/zalloc/src/lib.rs type ZeroizingAlloc (line 18) | pub struct ZeroizingAlloc(pub T); method allocate (line 27) | fn allocate(&self, layout: Layout) -> Result, AllocError> { method deallocate (line 31) | unsafe fn deallocate(&self, mut ptr: NonNull, layout: Layout) { method alloc (line 38) | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { method dealloc (line 42) | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { FILE: coordinator/src/cosign_evaluator.rs type CosignEvaluator (line 37) | pub struct CosignEvaluator { function update_latest_cosign (line 45) | async fn update_latest_cosign(&self) { function update_stakes (line 78) | async fn update_stakes(&self) -> Result<(), SeraiError> { function handle_new_cosign (line 107) | async fn handle_new_cosign(&self, cosign: CosignedBlock) -> Result<(), S... function new (line 269) | pub fn new(db: D, p2p: P, serai: Arc) -> mpsc::UnboundedS... FILE: coordinator/src/db.rs method active_tributaries (line 40) | pub fn active_tributaries(getter: &G) -> (Vec, Vec Vec { type TributaryEvent (line 83) | pub enum TributaryEvent { function add_tributary (line 89) | async fn add_tributary( function handle_processor_message (line 144) | async fn handle_processor_message( function handle_processor_messages (line 785) | async fn handle_processor_messages( function handle_cosigns_and_batch_publication (line 839) | async fn handle_cosigns_and_batch_publication( function handle_processors (line 971) | pub async fn handle_processors( function run (line 1015) | pub async fn run( function main (line 1316) | async fn main() { FILE: coordinator/src/p2p.rs constant MAX_LIBP2P_GOSSIP_MESSAGE_SIZE (line 50) | const MAX_LIBP2P_GOSSIP_MESSAGE_SIZE: usize = tributary::BLOCK_SIZE_LIMI... constant MAX_LIBP2P_REQRES_MESSAGE_SIZE (line 52) | const MAX_LIBP2P_REQRES_MESSAGE_SIZE: usize = constant MAX_LIBP2P_MESSAGE_SIZE (line 55) | const MAX_LIBP2P_MESSAGE_SIZE: usize = { constant LIBP2P_TOPIC (line 64) | const LIBP2P_TOPIC: &str = "serai-coordinator"; constant BLOCKS_PER_MINUTE (line 67) | const BLOCKS_PER_MINUTE: usize = (60 / (tributary::tendermint::TARGET_BL... constant BLOCKS_PER_BATCH (line 70) | const BLOCKS_PER_BATCH: usize = BLOCKS_PER_MINUTE + 1; type CosignedBlock (line 73) | pub struct CosignedBlock { type ReqResMessageKind (line 81) | pub enum ReqResMessageKind { method read (line 88) | pub fn read(reader: &mut R) -> Option { method serialize (line 107) | pub fn serialize(&self) -> Vec { type GossipMessageKind (line 125) | pub enum GossipMessageKind { method read (line 131) | pub fn read(reader: &mut R) -> Option { method serialize (line 145) | pub fn serialize(&self) -> Vec { type P2pMessageKind (line 160) | pub enum P2pMessageKind { method genesis (line 166) | fn genesis(&self) -> Option<[u8; 32]> { method from (line 179) | fn from(kind: ReqResMessageKind) -> P2pMessageKind { method from (line 185) | fn from(kind: GossipMessageKind) -> P2pMessageKind { type Message (line 191) | pub struct Message { type BlockCommit (line 198) | pub struct BlockCommit { type HeartbeatBatch (line 204) | pub struct HeartbeatBatch { type P2p (line 210) | pub trait P2p: Send + Sync + Clone + fmt::Debug + TributaryP2p { method subscribe (line 213) | async fn subscribe(&self, set: ExternalValidatorSet, genesis: [u8; 32]); method unsubscribe (line 214) | async fn unsubscribe(&self, set: ExternalValidatorSet, genesis: [u8; 3... method send_raw (line 216) | async fn send_raw(&self, to: Self::Id, msg: Vec); method broadcast_raw (line 217) | async fn broadcast_raw(&self, kind: P2pMessageKind, msg: Vec); method receive (line 218) | async fn receive(&self) -> Message; method send (line 220) | async fn send(&self, to: Self::Id, kind: ReqResMessageKind, msg: Vec, msg:... type Id (line 780) | type Id = PeerId; method subscribe (line 782) | async fn subscribe(&self, set: ExternalValidatorSet, genesis: [u8; 32]) { method unsubscribe (line 791) | async fn unsubscribe(&self, set: ExternalValidatorSet, genesis: [u8; 3... method send_raw (line 800) | async fn send_raw(&self, peer: Self::Id, msg: Vec) { method broadcast_raw (line 804) | async fn broadcast_raw(&self, kind: P2pMessageKind, msg: Vec) { method receive (line 815) | async fn receive(&self) -> Message { type RrCodec (line 249) | struct RrCodec; type Protocol (line 252) | type Protocol = &'static str; type Request (line 253) | type Request = Vec; type Response (line 254) | type Response = Vec; method read_request (line 256) | async fn read_request( method read_response (line 274) | async fn read_response( method write_request (line 281) | async fn write_request( method write_response (line 295) | async fn write_response( type Behavior (line 306) | struct Behavior { type LibP2p (line 313) | pub struct LibP2p { method fmt (line 320) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { method new (line 327) | pub fn new(serai: Arc) -> Self { method broadcast (line 822) | async fn broadcast(&self, genesis: [u8; 32], msg: Vec) { function heartbeat_tributaries_task (line 827) | pub async fn heartbeat_tributaries_task( function handle_p2p_task (line 875) | pub async fn handle_p2p_task( FILE: coordinator/src/processors.rs type Message (line 9) | pub struct Message { type Processors (line 16) | pub trait Processors: 'static + Send + Sync + Clone { method send (line 17) | async fn send(&self, network: ExternalNetworkId, msg: impl Send + Into... method recv (line 18) | async fn recv(&self, network: ExternalNetworkId) -> Message; method ack (line 19) | async fn ack(&self, msg: Message); method send (line 24) | async fn send(&self, network: ExternalNetworkId, msg: impl Send + Into... method recv (line 31) | async fn recv(&self, network: ExternalNetworkId) -> Message { method ack (line 43) | async fn ack(&self, msg: Message) { FILE: coordinator/src/substrate/cosign.rs constant COSIGN_DISTANCE (line 34) | const COSIGN_DISTANCE: u64 = 5 * 60 / 6; type HasEvents (line 37) | enum HasEvents { method set_intended_cosign (line 54) | pub fn set_intended_cosign(txn: &mut impl DbTxn, intended: u64) { method set_skipped_cosign (line 59) | pub fn set_skipped_cosign(txn: &mut impl DbTxn, skipped: u64) { method latest_cosigned_block (line 67) | pub fn latest_cosigned_block(getter: &impl Get) -> u64 { method append_cosign (line 80) | pub fn append_cosign( function block_has_events (line 90) | async fn block_has_events( function potentially_cosign_block (line 124) | async fn potentially_cosign_block( function advance_cosign_protocol_inner (line 189) | async fn advance_cosign_protocol_inner( function advance_cosign_protocol (line 321) | pub async fn advance_cosign_protocol( FILE: coordinator/src/substrate/db.rs type HandledEvent (line 18) | pub struct HandledEvent; method next_to_handle_event (line 20) | fn next_to_handle_event(getter: &impl Get, block: [u8; 32]) -> u32 { method is_unhandled (line 23) | pub fn is_unhandled(getter: &impl Get, block: [u8; 32], event_id: u32)... method handle_event (line 28) | pub fn handle_event(txn: &mut impl DbTxn, block: [u8; 32], index: u32) { FILE: coordinator/src/substrate/mod.rs function in_set (line 41) | async fn in_set( function handle_new_set (line 53) | async fn handle_new_set( function handle_batch_and_burns (line 117) | async fn handle_batch_and_burns( function handle_block (line 208) | async fn handle_block( function handle_new_blocks (line 333) | async fn handle_new_blocks( function scan_task (line 386) | pub async fn scan_task( function expected_next_batch (line 489) | pub(crate) async fn expected_next_batch( function verify_published_batches (line 517) | pub(crate) async fn verify_published_batches( FILE: coordinator/src/tests/mod.rs type MemProcessors (line 23) | pub struct MemProcessors(pub Arc MemProcessors { method send (line 33) | async fn send(&self, network: ExternalNetworkId, msg: impl Send + Into Message { method ack (line 41) | async fn ack(&self, _: Message) { type LocalP2p (line 48) | pub struct LocalP2p( method new (line 54) | pub fn new(validators: usize) -> Vec { type Id (line 66) | type Id = usize; method subscribe (line 68) | async fn subscribe(&self, _set: ExternalValidatorSet, _genesis: [u8; 32]... method unsubscribe (line 69) | async fn unsubscribe(&self, _set: ExternalValidatorSet, _genesis: [u8; 3... method send_raw (line 71) | async fn send_raw(&self, to: Self::Id, msg: Vec) { method broadcast_raw (line 77) | async fn broadcast_raw(&self, kind: P2pMessageKind, msg: Vec) { method receive (line 104) | async fn receive(&self) -> P2pMessage { method broadcast (line 117) | async fn broadcast(&self, genesis: [u8; 32], msg: Vec) { FILE: coordinator/src/tests/tributary/chain.rs function new_keys (line 35) | pub fn new_keys( function new_spec (line 45) | pub fn new_spec( function new_tributaries (line 71) | pub async fn new_tributaries( function run_tributaries (line 97) | pub async fn run_tributaries( function wait_for_tx_inclusion (line 119) | pub async fn wait_for_tx_inclusion( function tributary_test (line 159) | async fn tributary_test() { FILE: coordinator/src/tests/tributary/dkg.rs function dkg_test (line 40) | async fn dkg_test() { FILE: coordinator/src/tests/tributary/handle_p2p.rs function handle_p2p_test (line 26) | async fn handle_p2p_test() { FILE: coordinator/src/tests/tributary/mod.rs method publish_set_keys (line 32) | async fn publish_set_keys( function random_u32 (line 44) | fn random_u32(rng: &mut R) -> u32 { function random_vec (line 48) | fn random_vec(rng: &mut R, limit: usize) -> Vec { function random_sign_data (line 55) | fn random_sign_data(value: &RW) { function tx_size_limit (line 82) | fn tx_size_limit() { function serialize_sign_data (line 108) | fn serialize_sign_data() { function serialize_transaction (line 146) | fn serialize_transaction() { FILE: coordinator/src/tests/tributary/sync.rs function sync_test (line 29) | async fn sync_test() { FILE: coordinator/src/tests/tributary/tx.rs function tx_test (line 22) | async fn tx_test() { FILE: coordinator/src/tributary/db.rs type Topic (line 21) | pub enum Topic { type DataSpecification (line 30) | pub struct DataSpecification { type DataSet (line 36) | pub enum DataSet { type Accumulation (line 41) | pub enum Accumulation { method get_as_keys (line 89) | pub fn get_as_keys(getter: &impl Get, genesis: [u8; 32]) -> Vec< Op... method schedule_reattempt (line 142) | pub fn schedule_reattempt( method take (line 176) | pub fn take(txn: &mut impl DbTxn, genesis: [u8; 32], block_number: u32) ... method take_signed_transaction (line 186) | pub fn take_signed_transaction( FILE: coordinator/src/tributary/handle.rs function dkg_confirmation_nonces (line 36) | pub fn dkg_confirmation_nonces( function generated_key_pair (line 47) | pub fn generated_key_pair( function unflatten (line 62) | fn unflatten( function accumulate (line 90) | fn accumulate( function handle_data (line 169) | fn handle_data( function check_sign_data_len (line 220) | fn check_sign_data_len( function handle_application_tx (line 244) | pub(crate) async fn handle_application_tx(&mut self, tx: Transaction) { FILE: coordinator/src/tributary/mod.rs function removed_as_of_dkg_attempt (line 28) | pub fn removed_as_of_dkg_attempt( function removed_as_of_set_keys (line 42) | pub fn removed_as_of_set_keys( function publish_signed_transaction (line 61) | pub async fn publish_signed_transaction( FILE: coordinator/src/tributary/scanner.rs type RecognizedIdType (line 33) | pub enum RecognizedIdType { type RIDTrait (line 39) | pub trait RIDTrait { method recognized_id (line 40) | async fn recognized_id( method recognized_id (line 54) | async fn recognized_id( type PublishSeraiTransaction (line 66) | pub trait PublishSeraiTransaction { method publish_set_keys (line 67) | async fn publish_set_keys( method publish_set_keys (line 129) | async fn publish_set_keys( type PTTTrait (line 160) | pub trait PTTTrait { method publish_tributary_tx (line 161) | async fn publish_tributary_tx(&self, tx: Transaction); method publish_tributary_tx (line 165) | async fn publish_tributary_tx(&self, tx: Transaction) { type TributaryBlockHandler (line 170) | pub struct TributaryBlockHandler< function fatal_slash (line 203) | pub fn fatal_slash(&mut self, slashing: [u8; 32], reason: &str) { function handle (line 216) | async fn handle(mut self) { function handle_new_blocks (line 661) | pub(crate) async fn handle_new_blocks< function scan_tributaries_task (line 722) | pub(crate) async fn scan_tributaries_task< FILE: coordinator/src/tributary/signing_protocol.rs type SigningProtocol (line 92) | struct SigningProtocol<'a, T: DbTxn, C: Encode> { function preprocess_internal (line 100) | fn preprocess_internal( function share_internal (line 150) | fn share_internal( function complete_internal (line 183) | fn complete_internal( function threshold_i_map_to_keys_and_musig_i_map (line 208) | fn threshold_i_map_to_keys_and_musig_i_map( type DkgConfirmerSigningProtocol (line 252) | type DkgConfirmerSigningProtocol<'a, T> = SigningProtocol<'a, T, (&'stat... type DkgConfirmer (line 254) | pub(crate) struct DkgConfirmer<'a, T: DbTxn> { function new (line 263) | pub(crate) fn new<'a>( function signing_protocol (line 274) | fn signing_protocol(&mut self) -> DkgConfirmerSigningProtocol<'_, T> { function preprocess_internal (line 279) | fn preprocess_internal(&mut self) -> (AlgorithmSignMachine [u8; 64] { function share_internal (line 288) | fn share_internal( function share (line 304) | pub(crate) fn share( function complete (line 312) | pub(crate) fn complete( FILE: coordinator/src/tributary/spec.rs function borsh_serialize_validators (line 15) | fn borsh_serialize_validators( function borsh_deserialize_validators (line 28) | fn borsh_deserialize_validators( type TributarySpec (line 44) | pub struct TributarySpec { method new (line 56) | pub fn new( method set (line 72) | pub fn set(&self) -> ExternalValidatorSet { method genesis (line 76) | pub fn genesis(&self) -> [u8; 32] { method start_time (line 88) | pub fn start_time(&self) -> u64 { method n (line 92) | pub fn n(&self, removed_validators: &[::G]) ... method t (line 100) | pub fn t(&self) -> u16 { method i (line 105) | pub fn i( method reverse_lookup_i (line 141) | pub fn reverse_lookup_i( method validators (line 154) | pub fn validators(&self) -> Vec<(::G, u64)> { FILE: coordinator/src/tributary/transaction.rs type Label (line 27) | pub enum Label { method nonce (line 34) | pub fn nonce(&self) -> u32 { type SignData (line 43) | pub struct SignData { method fmt (line 54) | fn fmt(&self, fmt: &mut core::fmt::Formatter<'_>) -> Result<(), core::fm... function read (line 66) | pub(crate) fn read(reader: &mut R) -> io::Result { function write (line 104) | pub(crate) fn write(&self, writer: &mut W) -> io::Result<(... type Transaction (line 133) | pub enum Transaction { method empty_signed (line 628) | pub fn empty_signed() -> Signed { method sign (line 640) | pub fn sign( method sign_completed_challenge (line 703) | pub fn sign_completed_challenge(&self) -> ::F { method fmt (line 199) | fn fmt(&self, fmt: &mut core::fmt::Formatter<'_>) -> Result<(), core::fm... method read (line 260) | fn read(reader: &mut R) -> io::Result { method write (line 447) | fn write(&self, writer: &mut W) -> io::Result<()> { method kind (line 572) | fn kind(&self) -> TransactionKind<'_> { method hash (line 604) | fn hash(&self) -> [u8; 32] { method verify (line 613) | fn verify(&self) -> Result<(), TransactionError> { FILE: coordinator/tributary/src/block.rs type BlockError (line 22) | pub enum BlockError { type BlockHeader (line 53) | pub struct BlockHeader { method hash (line 73) | pub fn hash(&self) -> [u8; 32] { method read (line 59) | fn read(reader: &mut R) -> io::Result { method write (line 66) | fn write(&self, writer: &mut W) -> io::Result<()> { type Block (line 79) | pub struct Block { method read (line 85) | fn read(reader: &mut R) -> io::Result { method write (line 100) | fn write(&self, writer: &mut W) -> io::Result<()> { function new (line 114) | pub(crate) fn new(parent: [u8; 32], provided: Vec, mempool: Vec [u8; 32] { function hash (line 166) | pub fn hash(&self) -> [u8; 32] { function verify (line 171) | pub(crate) fn verify( FILE: coordinator/tributary/src/blockchain.rs type Blockchain (line 18) | pub(crate) struct Blockchain { function tip_key (line 33) | fn tip_key(genesis: [u8; 32]) -> Vec { function block_number_key (line 36) | fn block_number_key(&self) -> Vec { function block_key (line 39) | fn block_key(genesis: &[u8], hash: &[u8; 32]) -> Vec { function block_hash_key (line 42) | fn block_hash_key(genesis: &[u8], block_number: u64) -> Vec { function commit_key (line 45) | fn commit_key(genesis: &[u8], hash: &[u8; 32]) -> Vec { function block_after_key (line 48) | fn block_after_key(genesis: &[u8], hash: &[u8; 32]) -> Vec { function unsigned_included_key (line 51) | fn unsigned_included_key(genesis: &[u8], hash: &[u8; 32]) -> Vec { function provided_included_key (line 54) | fn provided_included_key(genesis: &[u8], hash: &[u8; 32]) -> Vec { function next_nonce_key (line 57) | fn next_nonce_key( function new (line 69) | pub(crate) fn new( function tip (line 99) | pub(crate) fn tip(&self) -> [u8; 32] { function block_number (line 103) | pub(crate) fn block_number(&self) -> u64 { function block_from_db (line 107) | pub(crate) fn block_from_db(db: &D, genesis: [u8; 32], block: &[u8; 32])... function commit_from_db (line 112) | pub(crate) fn commit_from_db(db: &D, genesis: [u8; 32], block: &[u8; 32]... function block_hash_from_db (line 116) | pub(crate) fn block_hash_from_db(db: &D, genesis: [u8; 32], block: u64) ... function commit (line 120) | pub(crate) fn commit(&self, block: &[u8; 32]) -> Option> { function block_hash (line 124) | pub(crate) fn block_hash(&self, block: u64) -> Option<[u8; 32]> { function commit_by_block_number (line 128) | pub(crate) fn commit_by_block_number(&self, block: u64) -> Option [u8; 32] { function add_transaction (line 155) | pub(crate) fn add_transaction( function provide_transaction (line 193) | pub(crate) fn provide_transaction(&mut self, tx: T) -> Result<(), Provid... function next_nonce (line 197) | pub(crate) fn next_nonce( function build_block (line 219) | pub(crate) fn build_block(&mut self, schema: &N::SignatureSc... function verify_block (line 230) | pub(crate) fn verify_block( function add_block (line 276) | pub(crate) fn add_block( FILE: coordinator/tributary/src/lib.rs constant TRANSACTION_SIZE_LIMIT (line 54) | pub const TRANSACTION_SIZE_LIMIT: usize = 3_000_000; constant ACCOUNT_MEMPOOL_LIMIT (line 56) | pub const ACCOUNT_MEMPOOL_LIMIT: u32 = 50; constant BLOCK_SIZE_LIMIT (line 60) | pub const BLOCK_SIZE_LIMIT: usize = 3_001_000; constant TENDERMINT_MESSAGE (line 62) | pub(crate) const TENDERMINT_MESSAGE: u8 = 0; constant TRANSACTION_MESSAGE (line 63) | pub(crate) const TRANSACTION_MESSAGE: u8 = 1; type Transaction (line 67) | pub enum Transaction { function hash (line 103) | pub fn hash(&self) -> [u8; 32] { function kind (line 110) | pub fn kind(&self) -> TransactionKind<'_> { type ReadWrite (line 119) | pub trait ReadWrite: Sized { method read (line 73) | fn read(reader: &mut R) -> io::Result { method write (line 88) | fn write(&self, writer: &mut W) -> io::Result<()> { method read (line 120) | fn read(reader: &mut R) -> io::Result; method write (line 121) | fn write(&self, writer: &mut W) -> io::Result<()>; method serialize (line 123) | fn serialize(&self) -> Vec { type P2p (line 132) | pub trait P2p: 'static + Send + Sync + Clone + Debug { method broadcast (line 138) | async fn broadcast(&self, genesis: [u8; 32], msg: Vec); method broadcast (line 143) | async fn broadcast(&self, genesis: [u8; 32], msg: Vec) { type Tributary (line 149) | pub struct Tributary { function new (line 161) | pub async fn new( function block_time (line 213) | pub fn block_time() -> u32 { function genesis (line 217) | pub fn genesis(&self) -> [u8; 32] { function block_number (line 221) | pub async fn block_number(&self) -> u64 { function tip (line 224) | pub async fn tip(&self) -> [u8; 32] { function reader (line 228) | pub fn reader(&self) -> TributaryReader { function provide_transaction (line 232) | pub async fn provide_transaction(&self, tx: T) -> Result<(), ProvidedErr... function next_nonce (line 236) | pub async fn next_nonce( function add_transaction (line 247) | pub async fn add_transaction(&self, tx: T) -> Result, commit: Vec) -> bool { function handle_message (line 308) | pub async fn handle_message(&self, msg: &[u8]) -> bool { function next_block_notification (line 345) | pub async fn next_block_notification( type TributaryReader (line 355) | pub struct TributaryReader(D, [u8; 32], Phan... function genesis (line 357) | pub fn genesis(&self) -> [u8; 32] { function block (line 363) | pub fn block(&self, hash: &[u8; 32]) -> Option> { function commit (line 366) | pub fn commit(&self, hash: &[u8; 32]) -> Option> { function parsed_commit (line 369) | pub fn parsed_commit(&self, hash: &[u8; 32]) -> Option Option<[u8; 32]> { function time_of_block (line 375) | pub fn time_of_block(&self, hash: &[u8; 32]) -> Option { function locally_provided_txs_in_block (line 381) | pub fn locally_provided_txs_in_block(&self, hash: &[u8; 32], order: &str... function tip (line 386) | pub fn tip(&self) -> [u8; 32] { FILE: coordinator/tributary/src/mempool.rs type Mempool (line 20) | pub(crate) struct Mempool { function transaction_key (line 30) | fn transaction_key(&self, hash: &[u8]) -> Vec { function current_mempool_key (line 33) | fn current_mempool_key(&self) -> Vec { function save_tx (line 38) | fn save_tx(&mut self, tx: Transaction) { function unsigned_already_exist (line 53) | fn unsigned_already_exist( function new (line 61) | pub(crate) fn new(db: D, genesis: [u8; 32]) -> Self { function add (line 108) | pub(crate) fn add< function next_nonce_in_mempool (line 180) | pub(crate) fn next_nonce_in_mempool( function block (line 189) | pub(crate) fn block(&mut self) -> Vec> { function remove (line 222) | pub(crate) fn remove(&mut self, tx: &[u8; 32]) { function txs (line 257) | pub(crate) fn txs(&self) -> &HashMap<[u8; 32], Transaction> { FILE: coordinator/tributary/src/merkle.rs function merkle (line 3) | pub(crate) fn merkle(hash_args: &[[u8; 32]]) -> [u8; 32] { FILE: coordinator/tributary/src/provided.rs type ProvidedError (line 10) | pub enum ProvidedError { type ProvidedTransactions (line 26) | pub struct ProvidedTransactions { function transaction_key (line 34) | fn transaction_key(&self, hash: &[u8]) -> Vec { function current_provided_key (line 37) | fn current_provided_key(&self) -> Vec { function locally_provided_quantity_key (line 40) | pub(crate) fn locally_provided_quantity_key(genesis: &[u8; 32], order: &... function on_chain_provided_quantity_key (line 43) | pub(crate) fn on_chain_provided_quantity_key(genesis: &[u8; 32], order: ... function block_provided_quantity_key (line 46) | pub(crate) fn block_provided_quantity_key( function on_chain_provided_key (line 54) | pub(crate) fn on_chain_provided_key(genesis: &[u8; 32], order: &str, id:... function new (line 62) | pub(crate) fn new(db: D, genesis: [u8; 32]) -> Self { function provide (line 89) | pub(crate) fn provide(&mut self, tx: T) -> Result<(), ProvidedError> { function complete (line 148) | pub(crate) fn complete( FILE: coordinator/tributary/src/tendermint/mod.rs constant DST (line 49) | const DST: &[u8] = b"Tributary Tendermint Commit Aggregator"; function challenge (line 51) | fn challenge( type Signer (line 67) | pub struct Signer { method new (line 73) | pub(crate) fn new(genesis: [u8; 32], key: Zeroizing< Option { method sign (line 89) | async fn sign(&self, msg: &[u8]) -> Self::Signature { type Validators (line 126) | pub struct Validators { method new (line 134) | pub(crate) fn new( type ValidatorId (line 162) | type ValidatorId = [u8; 32]; type Signature (line 163) | type Signature = [u8; 64]; type AggregateSignature (line 164) | type AggregateSignature = Vec; type Signer (line 165) | type Signer = Arc; method verify (line 168) | fn verify(&self, validator: Self::ValidatorId, msg: &[u8], sig: &Self::S... method aggregate (line 181) | fn aggregate( method verify_aggregate (line 201) | fn verify_aggregate( type ValidatorId (line 233) | type ValidatorId = [u8; 32]; method total_weight (line 235) | fn total_weight(&self) -> u64 { method weight (line 238) | fn weight(&self, validator: Self::ValidatorId) -> u64 { method proposer (line 241) | fn proposer(&self, block: BlockNumber, round: RoundNumber) -> Self::Vali... type TendermintBlock (line 255) | pub struct TendermintBlock(pub Vec); type Id (line 257) | type Id = [u8; 32]; method id (line 258) | fn id(&self) -> Self::Id { type TendermintNetwork (line 264) | pub struct TendermintNetwork { constant BLOCK_PROCESSING_TIME (line 274) | pub const BLOCK_PROCESSING_TIME: u32 = 999; constant LATENCY_TIME (line 275) | pub const LATENCY_TIME: u32 = 1667; constant TARGET_BLOCK_TIME (line 276) | pub const TARGET_BLOCK_TIME: u32 = BLOCK_PROCESSING_TIME + (3 * LATENCY_... type Db (line 280) | type Db = D; type ValidatorId (line 282) | type ValidatorId = [u8; 32]; type SignatureScheme (line 283) | type SignatureScheme = Arc; type Weights (line 284) | type Weights = Arc; type Block (line 285) | type Block = TendermintBlock; constant BLOCK_PROCESSING_TIME (line 291) | const BLOCK_PROCESSING_TIME: u32 = BLOCK_PROCESSING_TIME; constant LATENCY_TIME (line 292) | const LATENCY_TIME: u32 = LATENCY_TIME; method signer (line 294) | fn signer(&self) -> Arc { method signature_scheme (line 297) | fn signature_scheme(&self) -> Arc { method weights (line 300) | fn weights(&self) -> Arc { method broadcast (line 304) | async fn broadcast(&mut self, msg: SignedMessageFor) { method slash (line 310) | async fn slash(&mut self, validator: Self::ValidatorId, slash_event: Sla... method validate (line 345) | async fn validate(&self, block: &Self::Block) -> Result<(), TendermintBl... method add_block (line 362) | async fn add_block( FILE: coordinator/tributary/src/tendermint/tx.rs type TendermintTx (line 24) | pub enum TendermintTx { method read (line 29) | fn read(reader: &mut R) -> io::Result { method write (line 35) | fn write(&self, writer: &mut W) -> io::Result<()> { method kind (line 43) | fn kind(&self) -> TransactionKind<'_> { method hash (line 49) | fn hash(&self) -> [u8; 32] { method sig_hash (line 53) | fn sig_hash(&self, _genesis: [u8; 32]) -> ::F { method verify (line 59) | fn verify(&self) -> Result<(), TransactionError> { function verify_tendermint_tx (line 64) | pub(crate) fn verify_tendermint_tx( FILE: coordinator/tributary/src/tests/block.rs type N (line 22) | type N = TendermintNetwork; type NonceTransaction (line 27) | struct NonceTransaction(u32, u8, Signed); method new (line 30) | fn new(nonce: u32, distinguisher: u8) -> Self { method read (line 47) | fn read(reader: &mut R) -> io::Result { method write (line 58) | fn write(&self, writer: &mut W) -> io::Result<()> { method kind (line 65) | fn kind(&self) -> TransactionKind<'_> { method hash (line 69) | fn hash(&self) -> [u8; 32] { method verify (line 73) | fn verify(&self) -> Result<(), TransactionError> { function empty_block (line 79) | fn empty_block() { function duplicate_nonces (line 102) | fn duplicate_nonces() { FILE: coordinator/tributary/src/tests/blockchain.rs type N (line 30) | type N = TendermintNetwork; function new_blockchain (line 32) | fn new_blockchain( function block_addition (line 44) | fn block_addition() { function invalid_block (line 63) | fn invalid_block() { function signed_transaction (line 150) | fn signed_transaction() { function provided_transaction (line 206) | fn provided_transaction() { function tendermint_evidence_tx (line 340) | async fn tendermint_evidence_tx() { function block_tx_ordering (line 397) | async fn block_tx_ordering() { FILE: coordinator/tributary/src/tests/mempool.rs type N (line 20) | type N = TendermintNetwork; function new_mempool (line 22) | fn new_mempool() -> ([u8; 32], MemDb, Mempool) { FILE: coordinator/tributary/src/tests/tendermint.rs function assert_target_block_time (line 8) | fn assert_target_block_time() { FILE: coordinator/tributary/src/tests/transaction/mod.rs function random_signed (line 35) | pub fn random_signed(rng: &mut R) -> Signed { function random_signed_with_nonce (line 46) | pub fn random_signed_with_nonce(rng: &mut R, non... type ProvidedTransaction (line 53) | pub struct ProvidedTransaction(pub Vec); method read (line 56) | fn read(reader: &mut R) -> io::Result { method write (line 64) | fn write(&self, writer: &mut W) -> io::Result<()> { method kind (line 71) | fn kind(&self) -> TransactionKind<'_> { method hash (line 79) | fn hash(&self) -> [u8; 32] { method verify (line 83) | fn verify(&self) -> Result<(), TransactionError> { function random_provided_transaction (line 88) | pub fn random_provided_transaction( type SignedTransaction (line 103) | pub struct SignedTransaction(pub Vec, pub Signed); method read (line 106) | fn read(reader: &mut R) -> io::Result { method write (line 115) | fn write(&self, writer: &mut W) -> io::Result<()> { method kind (line 123) | fn kind(&self) -> TransactionKind<'_> { method hash (line 127) | fn hash(&self) -> [u8; 32] { method verify (line 132) | fn verify(&self) -> Result<(), TransactionError> { function signed_transaction (line 137) | pub fn signed_transaction( function random_signed_transaction (line 160) | pub fn random_signed_transaction( function new_genesis (line 173) | pub fn new_genesis() -> [u8; 32] { function tendermint_meta (line 179) | pub async fn tendermint_meta() -> ([u8; 32], Signer, [u8; 32], Arc( function random_evidence_tx (line 211) | pub async fn random_evidence_tx( FILE: coordinator/tributary/src/tests/transaction/signed.rs function serialize_signed (line 15) | fn serialize_signed() { function sig_hash (line 21) | fn sig_hash() { function signed_transaction (line 31) | fn signed_transaction() { function invalid_nonce (line 81) | fn invalid_nonce() { FILE: coordinator/tributary/src/tests/transaction/tendermint.rs type N (line 31) | type N = TendermintNetwork; function serialize_tendermint (line 34) | async fn serialize_tendermint() { function invalid_valid_round (line 43) | async fn invalid_valid_round() { function invalid_precommit_signature (line 80) | async fn invalid_precommit_signature() { function evidence_with_prevote (line 129) | async fn evidence_with_prevote() { function conflicting_msgs_evidence_tx (line 174) | async fn conflicting_msgs_evidence_tx() { FILE: coordinator/tributary/src/transaction.rs type TransactionError (line 19) | pub enum TransactionError { type Signed (line 45) | pub struct Signed { method read_without_nonce (line 86) | pub fn read_without_nonce(reader: &mut R, nonce: u32) -> ... method write_without_nonce (line 101) | pub fn write_without_nonce(&self, writer: &mut W) -> io:... method read (line 52) | fn read(reader: &mut R) -> io::Result { method write (line 74) | fn write(&self, writer: &mut W) -> io::Result<()> { type TransactionKind (line 113) | pub enum TransactionKind<'a> { type Transaction (line 146) | pub trait Transaction: 'static + Send + Sync + Clone + Eq + Debug + Read... method kind (line 148) | fn kind(&self) -> TransactionKind<'_>; method hash (line 153) | fn hash(&self) -> [u8; 32]; method verify (line 156) | fn verify(&self) -> Result<(), TransactionError>; method sig_hash (line 163) | fn sig_hash(&self, genesis: [u8; 32]) -> ::F { type GAIN (line 185) | pub trait GAIN: FnMut(&::G, &[u8]) -> Option( FILE: coordinator/tributary/tendermint/src/block.rs type BlockData (line 16) | pub(crate) struct BlockData { function new (line 39) | pub(crate) fn new( function round (line 67) | pub(crate) fn round(&self) -> &RoundData { function round_mut (line 71) | pub(crate) fn round_mut(&mut self) -> &mut RoundData { function populate_end_time (line 78) | pub(crate) fn populate_end_time(&mut self, round: RoundNumber) { function new_round (line 92) | pub(crate) fn new_round( function message (line 128) | pub(crate) fn message(&mut self, data: DataFor) -> Option Option; method sign (line 47) | async fn sign(&self, msg: &[u8]) -> Self::Signature; type ValidatorId (line 52) | type ValidatorId = S::ValidatorId; type Signature (line 53) | type Signature = S::Signature; method validator_id (line 55) | async fn validator_id(&self) -> Option { method sign (line 59) | async fn sign(&self, msg: &[u8]) -> Self::Signature { type SignatureScheme (line 65) | pub trait SignatureScheme: Send + Sync + Clone { method verify (line 81) | fn verify(&self, validator: Self::ValidatorId, msg: &[u8], sig: &Self:... method aggregate (line 85) | fn aggregate( method verify_aggregate (line 93) | fn verify_aggregate( type ValidatorId (line 102) | type ValidatorId = S::ValidatorId; type Signature (line 103) | type Signature = S::Signature; type AggregateSignature (line 104) | type AggregateSignature = S::AggregateSignature; type Signer (line 105) | type Signer = S::Signer; method verify (line 107) | fn verify(&self, validator: Self::ValidatorId, msg: &[u8], sig: &Self:... method aggregate (line 111) | fn aggregate( method verify_aggregate (line 121) | fn verify_aggregate( type Commit (line 135) | pub struct Commit { method clone (line 145) | fn clone(&self) -> Self { type Weights (line 155) | pub trait Weights: Send + Sync { method total_weight (line 159) | fn total_weight(&self) -> u64; method weight (line 161) | fn weight(&self, validator: Self::ValidatorId) -> u64; method threshold (line 163) | fn threshold(&self) -> u64 { method fault_threshold (line 167) | fn fault_threshold(&self) -> u64 { method proposer (line 172) | fn proposer(&self, block: BlockNumber, round: RoundNumber) -> Self::Va... type ValidatorId (line 176) | type ValidatorId = W::ValidatorId; method total_weight (line 178) | fn total_weight(&self) -> u64 { method weight (line 182) | fn weight(&self, validator: Self::ValidatorId) -> u64 { method proposer (line 186) | fn proposer(&self, block: BlockNumber, round: RoundNumber) -> Self::Va... type BlockError (line 193) | pub enum BlockError { type Block (line 204) | pub trait Block: Send + Sync + Clone + PartialEq + Eq + Debug + Encode +... method id (line 209) | fn id(&self) -> Self::Id; type Network (line 214) | pub trait Network: Sized + Send + Sync { constant BLOCK_PROCESSING_TIME (line 232) | const BLOCK_PROCESSING_TIME: u32; constant LATENCY_TIME (line 236) | const LATENCY_TIME: u32; method block_time (line 239) | fn block_time() -> u32 { method signer (line 247) | fn signer(&self) -> ::Signer; method signature_scheme (line 249) | fn signature_scheme(&self) -> Self::SignatureScheme; method weights (line 251) | fn weights(&self) -> Self::Weights; method verify_commit (line 256) | fn verify_commit( method broadcast (line 283) | async fn broadcast(&mut self, msg: SignedMessageFor); method slash (line 288) | async fn slash(&mut self, validator: Self::ValidatorId, slash_event: S... method validate (line 291) | async fn validate(&self, block: &Self::Block) -> Result<(), BlockError>; method add_block (line 301) | async fn add_block( FILE: coordinator/tributary/tendermint/src/lib.rs constant MESSAGE_TAPE_KEY (line 37) | const MESSAGE_TAPE_KEY: &[u8] = b"tendermint-machine-message_tape"; function message_tape_key (line 38) | fn message_tape_key(genesis: [u8; 32]) -> Vec { function commit_msg (line 42) | pub fn commit_msg(end_time: u64, id: &[u8]) -> Vec { type Step (line 47) | pub enum Step { type Data (line 54) | pub enum Data { method eq (line 61) | fn eq(&self, other: &Data) -> bool { function hash (line 75) | fn hash(&self, state: &mut H) { function step (line 86) | pub fn step(&self) -> Step { type Message (line 96) | pub struct Message { type SignedMessage (line 106) | pub struct SignedMessage { function block (line 113) | pub fn block(&self) -> BlockNumber { function verify_signature (line 118) | pub fn verify_signature = type MessageFor (line 151) | pub(crate) type MessageFor = Message< type SignedMessageFor (line 157) | pub type SignedMessageFor = SignedMessage< function decode_signed_message (line 163) | pub fn decode_signed_message(mut data: &[u8]) -> Option( function verify_tendermint_evidence (line 181) | pub fn verify_tendermint_evidence( type SlashEvent (line 248) | pub enum SlashEvent { type Upons (line 256) | struct Upons { type TendermintMachine (line 264) | pub struct TendermintMachine { type SyncedBlock (line 285) | pub struct SyncedBlock { type SyncedBlockSender (line 291) | pub type SyncedBlockSender = mpsc::UnboundedSender>; type SyncedBlockResultReceiver (line 292) | pub type SyncedBlockResultReceiver = mpsc::UnboundedReceiver; type MessageSender (line 294) | pub type MessageSender = mpsc::UnboundedSender>; type TendermintHandle (line 297) | pub struct TendermintHandle { function broadcast (line 314) | fn broadcast(&mut self, data: DataFor) { function round (line 324) | fn round(&mut self, round: RoundNumber, time: Option) ... function reset (line 350) | async fn reset(&mut self, end_round: RoundNumber, proposal: Option Option<(Option bo... function all_any_round_upons (line 649) | async fn all_any_round_upons(&mut self, round: RoundNumber) -> bool { function verify_precommit_signature (line 657) | async fn verify_precommit_signature( function message (line 686) | async fn message(&mut self, signed: &SignedMessageFor) -> Result<(), ... function new (line 850) | pub async fn new( function run (line 937) | pub async fn run(mut self) { FILE: coordinator/tributary/tendermint/src/message_log.rs type RoundLog (line 7) | type RoundLog = HashMap<::ValidatorId, HashMap { function new (line 17) | pub(crate) fn new(weights: Arc) -> MessageLog { function log (line 28) | pub(crate) fn log(&mut self, signed: SignedMessageFor) -> Result u64 { function has_participation (line 66) | pub(crate) fn has_participation(&self, round: RoundNumber, step: Step) -... function has_consensus (line 71) | pub(crate) fn has_consensus(&self, round: RoundNumber, data: &DataFor... FILE: coordinator/tributary/tendermint/src/round.rs type RoundData (line 16) | pub struct RoundData { function new (line 25) | pub fn new(number: RoundNumber, start_time: CanonicalInstant) -> Self { function timeout (line 35) | fn timeout(&self, step: Step) -> CanonicalInstant { function end_time (line 49) | pub fn end_time(&self) -> CanonicalInstant { function set_timeout (line 53) | pub(crate) fn set_timeout(&mut self, step: Step) { function timeout_future (line 59) | pub(crate) async fn timeout_future(&self) -> Step { FILE: coordinator/tributary/tendermint/src/time.rs type CanonicalInstant (line 5) | pub struct CanonicalInstant { method new (line 17) | pub fn new(time: u64) -> CanonicalInstant { method canonical (line 30) | pub fn canonical(&self) -> u64 { method instant (line 34) | pub fn instant(&self) -> Instant { type Output (line 40) | type Output = CanonicalInstant; method add (line 41) | fn add(self, duration: Duration) -> CanonicalInstant { function sys_time (line 12) | pub(crate) fn sys_time(time: u64) -> SystemTime { FILE: coordinator/tributary/tendermint/tests/ext.rs type TestValidatorId (line 20) | type TestValidatorId = u16; type TestBlockId (line 21) | type TestBlockId = [u8; 4]; type TestSigner (line 23) | struct TestSigner(u16); type ValidatorId (line 26) | type ValidatorId = TestValidatorId; type Signature (line 27) | type Signature = [u8; 32]; method validator_id (line 29) | async fn validator_id(&self) -> Option { method sign (line 33) | async fn sign(&self, msg: &[u8]) -> [u8; 32] { type TestSignatureScheme (line 42) | struct TestSignatureScheme; type ValidatorId (line 44) | type ValidatorId = TestValidatorId; type Signature (line 45) | type Signature = [u8; 32]; type AggregateSignature (line 46) | type AggregateSignature = Vec<[u8; 32]>; type Signer (line 47) | type Signer = TestSigner; method verify (line 50) | fn verify(&self, validator: u16, msg: &[u8], sig: &[u8; 32]) -> bool { method aggregate (line 54) | fn aggregate( method verify_aggregate (line 64) | fn verify_aggregate( type TestWeights (line 78) | struct TestWeights; type ValidatorId (line 80) | type ValidatorId = TestValidatorId; method total_weight (line 82) | fn total_weight(&self) -> u64 { method weight (line 85) | fn weight(&self, id: TestValidatorId) -> u64 { method proposer (line 89) | fn proposer(&self, number: BlockNumber, round: RoundNumber) -> TestValid... type TestBlock (line 95) | struct TestBlock { type Id (line 101) | type Id = TestBlockId; method id (line 103) | fn id(&self) -> TestBlockId { type TestNetwork (line 109) | struct TestNetwork( method new (line 165) | async fn new( type Db (line 116) | type Db = MemDb; type ValidatorId (line 118) | type ValidatorId = TestValidatorId; type SignatureScheme (line 119) | type SignatureScheme = TestSignatureScheme; type Weights (line 120) | type Weights = TestWeights; type Block (line 121) | type Block = TestBlock; constant BLOCK_PROCESSING_TIME (line 123) | const BLOCK_PROCESSING_TIME: u32 = 2000; constant LATENCY_TIME (line 124) | const LATENCY_TIME: u32 = 1000; method signer (line 126) | fn signer(&self) -> TestSigner { method signature_scheme (line 130) | fn signature_scheme(&self) -> TestSignatureScheme { method weights (line 134) | fn weights(&self) -> TestWeights { method broadcast (line 138) | async fn broadcast(&mut self, msg: SignedMessageFor) { method slash (line 144) | async fn slash(&mut self, id: TestValidatorId, event: SlashEvent) { method validate (line 148) | async fn validate(&self, block: &TestBlock) -> Result<(), BlockError> { method add_block (line 152) | async fn add_block( function test_machine (line 194) | async fn test_machine() { function test_machine_with_historic_start_time (line 200) | async fn test_machine_with_historic_start_time() { FILE: crypto/ciphersuite/kp256/src/lib.rs function test_oversize_dst (line 97) | fn test_oversize_dst() { type Secp256k1 (line 112) | pub struct Secp256k1; function test_secp256k1 (line 115) | fn test_secp256k1() { type P256 (line 147) | pub struct P256; function test_p256 (line 150) | fn test_p256() { FILE: crypto/ciphersuite/src/lib.rs type Ciphersuite (line 30) | pub trait Ciphersuite: constant ID (line 43) | const ID: &'static [u8]; method generator (line 47) | fn generator() -> Self::G; method hash_to_F (line 58) | fn hash_to_F(dst: &[u8], msg: &[u8]) -> Self::F; method random_nonzero_F (line 62) | fn random_nonzero_F(rng: &mut R) -> Self::F { method read_F (line 74) | fn read_F(reader: &mut R) -> io::Result { method read_G (line 91) | fn read_G(reader: &mut R) -> io::Result { FILE: crypto/dalek-ff-group/src/ciphersuite.rs type Ristretto (line 44) | pub struct Ristretto; function test_ristretto (line 47) | fn test_ristretto() { type Ed25519 (line 72) | pub struct Ed25519; function test_ed25519 (line 75) | fn test_ed25519() { FILE: crypto/dalek-ff-group/src/field.rs constant MODULUS (line 26) | const MODULUS: U256 = U256::from_u8(1).shl_vartime(255).saturating_sub(&... constant WIDE_MODULUS (line 27) | const WIDE_MODULUS: U512 = U256::ZERO.concat(&MODULUS); type ResidueType (line 35) | type ResidueType = Residue; type FieldElement (line 40) | pub struct FieldElement(ResidueType); method from_u256 (line 223) | pub const fn from_u256(u256: &U256) -> Self { method wide_reduce (line 230) | pub fn wide_reduce(value: [u8; 64]) -> Self { method pow (line 235) | pub fn pow(&self, other: FieldElement) -> FieldElement { method sqrt_ratio_i (line 278) | pub fn sqrt_ratio_i(u: FieldElement, v: FieldElement) -> (Choice, Fiel... method from_uniform_bytes (line 310) | fn from_uniform_bytes(bytes: &[u8; 64]) -> Self { method sum (line 316) | fn sum>(iter: I) -> FieldElement { method sum (line 326) | fn sum>(iter: I) -> FieldElement { method product (line 332) | fn product>(iter: I) -> FieldElement { method product (line 342) | fn product>(iter: I) -> FieldElem... constant SQRT_M1 (line 45) | const SQRT_M1: FieldElement = FieldElement( constant MOD_3_8 (line 51) | const MOD_3_8: FieldElement = FieldElement(ResidueType::new( constant MOD_5_8 (line 56) | const MOD_5_8: FieldElement = FieldElement(ResidueType::sub(&MOD_3_8.0, ... function reduce (line 58) | fn reduce(x: U512) -> ResidueType { type Output (line 90) | type Output = Self; method neg (line 91) | fn neg(self) -> Self::Output { type Output (line 97) | type Output = FieldElement; method neg (line 98) | fn neg(self) -> Self::Output { constant ZERO (line 104) | const ZERO: Self = Self(ResidueType::ZERO); constant ONE (line 105) | const ONE: Self = Self(ResidueType::ONE); method random (line 107) | fn random(mut rng: impl RngCore) -> Self { method square (line 113) | fn square(&self) -> Self { method double (line 116) | fn double(&self) -> Self { method invert (line 120) | fn invert(&self) -> CtOption { method sqrt (line 127) | fn sqrt(&self) -> CtOption { method sqrt_ratio (line 134) | fn sqrt_ratio(u: &FieldElement, v: &FieldElement) -> (Choice, FieldEleme... type Repr (line 159) | type Repr = [u8; 32]; constant MODULUS (line 162) | const MODULUS: &'static str = "7ffffffffffffffffffffffffffffffffffffffff... constant NUM_BITS (line 164) | const NUM_BITS: u32 = 255; constant CAPACITY (line 165) | const CAPACITY: u32 = 254; constant TWO_INV (line 167) | const TWO_INV: Self = FieldElement(ResidueType::new(&U256::from_u8(2)).i... constant MULTIPLICATIVE_GENERATOR (line 171) | const MULTIPLICATIVE_GENERATOR: Self = Self(ResidueType::new(&U256::from... constant S (line 174) | const S: u32 = 2; constant ROOT_OF_UNITY (line 178) | const ROOT_OF_UNITY: Self = FieldElement(ResidueType::new(&U256::from_be... constant ROOT_OF_UNITY_INV (line 182) | const ROOT_OF_UNITY_INV: Self = FieldElement(Self::ROOT_OF_UNITY.0.inver... constant DELTA (line 186) | const DELTA: Self = FieldElement(ResidueType::new(&U256::from_be_hex( method from_repr (line 190) | fn from_repr(bytes: [u8; 32]) -> CtOption { method to_repr (line 194) | fn to_repr(&self) -> [u8; 32] { method is_odd (line 198) | fn is_odd(&self) -> Choice { method from_u128 (line 202) | fn from_u128(num: u128) -> Self { type ReprBits (line 208) | type ReprBits = [u8; 32]; method to_le_bits (line 210) | fn to_le_bits(&self) -> FieldBits { method char_le_bits (line 214) | fn char_le_bits() -> FieldBits { function test_wide_modulus (line 348) | fn test_wide_modulus() { function test_sqrt_m1 (line 355) | fn test_sqrt_m1() { function test_field (line 372) | fn test_field() { FILE: crypto/dalek-ff-group/src/lib.rs function black_box (line 47) | pub(crate) fn black_box(val: T) -> T { function black_box (line 54) | pub(crate) fn black_box(val: T) -> T { function u8_from_bool (line 60) | fn u8_from_bool(bit_ref: &mut bool) -> u8 { function choice (line 74) | fn choice(mut value: bool) -> Choice { type Scalar (line 179) | pub struct Scalar(pub DScalar); method pow (line 201) | pub fn pow(&self, other: Scalar) -> Scalar { method from_bytes_mod_order_wide (line 239) | pub fn from_bytes_mod_order_wide(bytes: &[u8; 64]) -> Scalar { method from_hash (line 244) | pub fn from_hash + HashMarker>(hash: D) ->... method from_uniform_bytes (line 329) | fn from_uniform_bytes(bytes: &[u8; 64]) -> Self { method sum (line 335) | fn sum>(iter: I) -> Scalar { method sum (line 341) | fn sum>(iter: I) -> Scalar { method product (line 347) | fn product>(iter: I) -> Scalar { method product (line 353) | fn product>(iter: I) -> Scalar { constant ZERO (line 254) | const ZERO: Scalar = Scalar(DScalar::ZERO); constant ONE (line 255) | const ONE: Scalar = Scalar(DScalar::ONE); method random (line 257) | fn random(rng: impl RngCore) -> Self { method square (line 261) | fn square(&self) -> Self { method double (line 264) | fn double(&self) -> Self { method invert (line 267) | fn invert(&self) -> CtOption { method sqrt (line 271) | fn sqrt(&self) -> CtOption { method sqrt_ratio (line 275) | fn sqrt_ratio(num: &Self, div: &Self) -> (Choice, Self) { type Repr (line 282) | type Repr = [u8; 32]; constant MODULUS (line 284) | const MODULUS: &'static str = ::MODULUS; constant NUM_BITS (line 286) | const NUM_BITS: u32 = ::NUM_BITS; constant CAPACITY (line 287) | const CAPACITY: u32 = ::CAPACITY; constant TWO_INV (line 289) | const TWO_INV: Scalar = Scalar(::TWO_INV); constant MULTIPLICATIVE_GENERATOR (line 291) | const MULTIPLICATIVE_GENERATOR: Scalar = constant S (line 293) | const S: u32 = ::S; constant ROOT_OF_UNITY (line 295) | const ROOT_OF_UNITY: Scalar = Scalar(::ROOT_OF_UN... constant ROOT_OF_UNITY_INV (line 296) | const ROOT_OF_UNITY_INV: Scalar = Scalar(::ROOT_O... constant DELTA (line 298) | const DELTA: Scalar = Scalar(::DELTA); method from_repr (line 300) | fn from_repr(bytes: [u8; 32]) -> CtOption { method to_repr (line 303) | fn to_repr(&self) -> [u8; 32] { method is_odd (line 307) | fn is_odd(&self) -> Choice { method from_u128 (line 311) | fn from_u128(num: u128) -> Self { type ReprBits (line 317) | type ReprBits = [u8; 32]; method to_le_bits (line 319) | fn to_le_bits(&self) -> FieldBits { method char_le_bits (line 323) | fn char_le_bits() -> FieldBits { method mul_by_cofactor (line 481) | pub fn mul_by_cofactor(&self) -> EdwardsPoint { function test_ed25519_group (line 497) | fn test_ed25519_group() { function test_ristretto_group (line 502) | fn test_ristretto_group() { FILE: crypto/dkg/dealer/src/lib.rs function key_gen (line 18) | pub fn key_gen( FILE: crypto/dkg/musig/src/lib.rs type MusigError (line 23) | pub enum MusigError { function check_keys (line 46) | fn check_keys(keys: &[C::G]) -> Result( function binding_factor (line 81) | fn binding_factor(mut transcript: Vec, i: u16) -> C:... function musig_key_multiexp (line 87) | fn musig_key_multiexp( function musig_key_vartime (line 103) | pub fn musig_key_vartime( function musig_key (line 111) | pub fn musig_key(context: [u8; 32], keys: &[C::G]) -> Re... function musig (line 116) | pub fn musig( FILE: crypto/dkg/musig/src/tests.rs function test_musig (line 14) | pub fn test_musig() { FILE: crypto/dkg/pedpop/src/encryption.rs type ReadWrite (line 29) | pub trait ReadWrite: Sized { method read (line 30) | fn read(reader: &mut R, params: ThresholdParams) -> io::R... method write (line 31) | fn write(&self, writer: &mut W) -> io::Result<()>; method serialize (line 33) | fn serialize(&self) -> Vec { type Message (line 40) | pub trait Message: Clone + PartialEq + Eq + fmt::Debug + Zeroize + ReadW... type Encryptable (line 43) | pub trait Encryptable: Clone + AsRef<[u8]> + AsMut<[u8]> + Zeroize + Rea... type EncryptionKeyMessage (line 50) | pub struct EncryptionKeyMessage { function read (line 57) | pub fn read(reader: &mut R, params: ThresholdParams) -> io:... function write (line 61) | pub fn write(&self, writer: &mut W) -> io::Result<()> { function serialize (line 66) | pub fn serialize(&self) -> Vec { function enc_key (line 73) | pub(crate) fn enc_key(&self) -> C::G { type EncryptedMessage (line 81) | pub struct EncryptedMessage { function ecdh (line 95) | fn ecdh(private: &Zeroizing, public: C::G) -> Zero... function cipher (line 101) | fn cipher(context: [u8; 32], ecdh: &Zeroizing) -> ... function encrypt (line 135) | fn encrypt( function read (line 171) | pub fn read(reader: &mut R, params: ThresholdParams) -> io:... function write (line 179) | pub fn write(&self, writer: &mut W) -> io::Result<()> { function serialize (line 185) | pub fn serialize(&self) -> Vec { function invalidate_pop (line 192) | pub(crate) fn invalidate_pop(&mut self) { function invalidate_msg (line 197) | pub(crate) fn invalidate_msg( function invalidate_share_serialization (line 219) | pub(crate) fn invalidate_share_serialization( function invalidate_share_value (line 243) | pub(crate) fn invalidate_share_value( type EncryptionKeyProof (line 261) | pub struct EncryptionKeyProof { function read (line 267) | pub fn read(reader: &mut R) -> io::Result { function write (line 271) | pub fn write(&self, writer: &mut W) -> io::Result<()> { function serialize (line 276) | pub fn serialize(&self) -> Vec { function invalidate_key (line 283) | pub(crate) fn invalidate_key(&mut self) { function invalidate_dleq (line 288) | pub(crate) fn invalidate_dleq(&mut self) { function pop_challenge (line 302) | fn pop_challenge( function encryption_key_transcript (line 326) | fn encryption_key_transcript(context: [u8; 32]) -> RecommendedTranscript { type DecryptionError (line 333) | pub(crate) enum DecryptionError { type Decryption (line 342) | pub(crate) struct Decryption { function new (line 348) | pub(crate) fn new(context: [u8; 32]) -> Self { function register (line 351) | pub(crate) fn register( function decrypt_with_proof (line 366) | pub(crate) fn decrypt_with_proof( type Encryption (line 402) | pub(crate) struct Encryption { function fmt (line 411) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { method zeroize (line 423) | fn zeroize(&mut self) { function new (line 433) | pub(crate) fn new( function registration (line 448) | pub(crate) fn registration(&self, msg: M) -> EncryptionKeyMe... function register (line 452) | pub(crate) fn register( function encrypt (line 460) | pub(crate) fn encrypt( function decrypt (line 469) | pub(crate) fn decrypt Decryption { FILE: crypto/dkg/pedpop/src/lib.rs type PedPoPError (line 38) | pub enum PedPoPError { function validate_map (line 57) | fn validate_map( function challenge (line 86) | fn challenge(context: [u8; 32], l: Participant, R: &[u8]... type Commitments (line 103) | pub struct Commitments { method read (line 110) | fn read(reader: &mut R, params: ThresholdParams) -> io::Result<... method write (line 130) | fn write(&self, writer: &mut W) -> io::Result<()> { type KeyGenMachine (line 138) | pub struct KeyGenMachine { function new (line 148) | pub fn new(params: ThresholdParams, context: [u8; 32]) -> KeyGenMachine<... function generate_coefficients (line 156) | pub fn generate_coefficients( function polynomial (line 205) | fn polynomial( type SecretShare (line 231) | pub struct SecretShare(F::Repr); function as_ref (line 233) | fn as_ref(&self) -> &[u8] { function as_mut (line 238) | fn as_mut(&mut self) -> &mut [u8] { function fmt (line 243) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { method zeroize (line 248) | fn zeroize(&mut self) { method drop (line 257) | fn drop(&mut self) { method read (line 264) | fn read(reader: &mut R, _: ThresholdParams) -> io::Result { method write (line 270) | fn write(&self, writer: &mut W) -> io::Result<()> { type SecretShareMachine (line 277) | pub struct SecretShareMachine { function fmt (line 286) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { function verify_r1 (line 300) | fn verify_r1( function generate_secret_shares (line 347) | pub fn generate_secret_shares( type KeyMachine (line 388) | pub struct KeyMachine { function fmt (line 396) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { method zeroize (line 407) | fn zeroize(&mut self) { function exponential (line 420) | fn exponential(i: Participant, values: &[C::G]) -> Vec<(... function share_verification_statements (line 430) | fn share_verification_statements( type BatchId (line 452) | enum BatchId { function calculate_share (line 463) | pub fn calculate_share( type BlameMachine (line 536) | pub struct BlameMachine { function fmt (line 543) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { method zeroize (line 553) | fn zeroize(&mut self) { function complete (line 571) | pub fn complete(self) -> ThresholdKeys { function blame_internal (line 575) | fn blame_internal( function blame (line 623) | pub fn blame( type AdditionalBlameMachine (line 637) | pub struct AdditionalBlameMachine(BlameMachine); function new (line 649) | pub fn new( function blame (line 674) | pub fn blame( FILE: crypto/dkg/pedpop/src/tests.rs constant THRESHOLD (line 10) | const THRESHOLD: u16 = 3; constant PARTICIPANTS (line 11) | const PARTICIPANTS: u16 = 5; function clone_without (line 14) | fn clone_without( type PedPoPEncryptedMessage (line 23) | type PedPoPEncryptedMessage = EncryptedMessage = HashMap( function generate_secret_shares (line 83) | fn generate_secret_shares( function pedpop_gen (line 98) | fn pedpop_gen( constant ONE (line 141) | const ONE: Participant = Participant::new(1).unwrap(); constant TWO (line 142) | const TWO: Participant = Participant::new(2).unwrap(); function test_pedpop (line 145) | fn test_pedpop() { function test_blame (line 149) | fn test_blame( function invalid_encryption_pop_blame (line 176) | fn invalid_encryption_pop_blame() { function invalid_ecdh_blame (line 208) | fn invalid_ecdh_blame() { function invalid_dleq_blame (line 249) | fn invalid_dleq_blame() { function invalid_share_serialization_blame (line 283) | fn invalid_share_serialization_blame() { function invalid_share_value_blame (line 316) | fn invalid_share_value_blame() { FILE: crypto/dkg/promote/src/lib.rs type PromotionError (line 26) | pub enum PromotionError { function transcript (line 52) | fn transcript(key: &G, i: Participant) -> RecommendedT... type GeneratorProof (line 61) | pub struct GeneratorProof { function write (line 67) | pub fn write(&self, writer: &mut W) -> io::Result<()> { function read (line 72) | pub fn read(reader: &mut R) -> io::Result> { function serialize (line 79) | pub fn serialize(&self) -> Vec { type GeneratorPromotion (line 91) | pub struct GeneratorPromotion { function promote (line 101) | pub fn promote( function complete (line 120) | pub fn complete( FILE: crypto/dkg/promote/src/tests.rs type AltGenerator (line 18) | struct AltGenerator { type F (line 23) | type F = C::F; type G (line 24) | type G = C::G; type H (line 25) | type H = C::H; constant ID (line 27) | const ID: &'static [u8] = b"Alternate Ciphersuite"; method generator (line 29) | fn generator() -> Self::G { method hash_to_F (line 33) | fn hash_to_F(dst: &[u8], data: &[u8]) -> Self::F { function clone_without (line 39) | pub fn clone_without( FILE: crypto/dkg/src/lib.rs type Participant (line 26) | pub struct Participant(u16); method new (line 29) | pub const fn new(i: u16) -> Option { method to_bytes (line 39) | pub const fn to_bytes(&self) -> [u8; 2] { method fmt (line 51) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method deserialize_reader (line 122) | fn deserialize_reader(reader: &mut R) -> io::Result { function from (line 45) | fn from(participant: Participant) -> u16 { type DkgError (line 58) | pub enum DkgError { type ThresholdParams (line 131) | pub struct ThresholdParams { method new (line 166) | pub const fn new(t: u16, n: u16, i: Participant) -> Result u16 { method n (line 186) | pub const fn n(&self) -> u16 { method i (line 190) | pub const fn i(&self) -> Participant { method all_participant_indexes (line 195) | pub fn all_participant_indexes(&self) -> impl Iterator(reader: &mut R) -> io::Result { type AllParticipantIndexes (line 141) | struct AllParticipantIndexes { type Item (line 146) | type Item = Participant; method next (line 147) | fn next(&mut self) -> Option { type Interpolation (line 212) | pub enum Interpolation { function interpolation_factor (line 226) | fn interpolation_factor(&self, i: Participant, included: &[Participant])... type ThresholdCore (line 258) | struct ThresholdCore { function fmt (line 267) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { method zeroize (line 279) | fn zeroize(&mut self) { type ThresholdKeys (line 292) | pub struct ThresholdKeys { type ThresholdView (line 305) | pub struct ThresholdView { function fmt (line 317) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { method zeroize (line 332) | fn zeroize(&mut self) { function new (line 349) | pub fn new( function scale (line 400) | pub fn scale(mut self, scalar: C::F) -> Option> { function offset (line 414) | pub fn offset(mut self, offset: C::F) -> ThresholdKeys { function current_scalar (line 420) | pub fn current_scalar(&self) -> C::F { function current_offset (line 425) | pub fn current_offset(&self) -> C::F { function params (line 430) | pub fn params(&self) -> ThresholdParams { function original_group_key (line 435) | pub fn original_group_key(&self) -> C::G { function interpolation (line 440) | pub fn interpolation(&self) -> &Interpolation { function group_key (line 445) | pub fn group_key(&self) -> C::G { function original_secret_share (line 450) | pub fn original_secret_share(&self) -> &Zeroizing { function original_verification_share (line 457) | pub fn original_verification_share(&self, l: Participant) -> C::G { function view (line 463) | pub fn view(&self, mut included: Vec) -> Result(&self, writer: &mut W) -> io::Result<()> { function serialize (line 567) | pub fn serialize(&self) -> Zeroizing> { function read (line 574) | pub fn read(reader: &mut R) -> io::Result> { function scalar (line 637) | pub fn scalar(&self) -> C::F { function offset (line 642) | pub fn offset(&self) -> C::F { function group_key (line 647) | pub fn group_key(&self) -> C::G { function included (line 652) | pub fn included(&self) -> &[Participant] { function interpolation_factor (line 657) | pub fn interpolation_factor(&self, participant: Participant) -> Option &Zeroizing { function original_verification_share (line 672) | pub fn original_verification_share(&self, l: Participant) -> C::G { function verification_share (line 680) | pub fn verification_share(&self, l: Participant) -> C::G { FILE: crypto/dleq/src/cross_group/aos.rs type Re (line 28) | pub(crate) enum Re { function R_default (line 40) | pub(crate) fn R_default() -> Re { function e_default (line 44) | pub(crate) fn e_default() -> Re { type Aos (line 51) | pub(crate) struct Aos(mut transcript: T, nonces: (G0, G1)) -> (G0::Sc... function R (line 72) | fn R( function R_batch (line 82) | fn R_batch( function R_nonces (line 92) | fn R_nonces( function prove (line 103) | pub(crate) fn prove( function verify (line 158) | pub(crate) fn verify( function write (line 212) | pub(crate) fn write(&self, w: &mut W) -> std::io::Result<()> { function read (line 232) | pub(crate) fn read(r: &mut R, mut Re_0: Re) -> std::io:... FILE: crypto/dleq/src/cross_group/bits.rs type BitSignature (line 21) | pub(crate) enum BitSignature { method to_u8 (line 29) | pub(crate) const fn to_u8(&self) -> u8 { method from (line 38) | pub(crate) const fn from(algorithm: u8) -> BitSignature { method bits (line 48) | pub(crate) const fn bits(&self) -> u8 { method ring_len (line 55) | pub(crate) const fn ring_len(&self) -> usize { method aos_form (line 59) | fn aos_form(&self) -> Re { type Bits (line 68) | pub(crate) struct Bits< function transcript (line 85) | fn transcript(transcript: &mut T, i: usize, commitments: ... function ring (line 92) | fn ring(pow_2: (G0, G1), commitments: (G0, G1)) -> Vec<(G0, G1)> { function shift (line 100) | fn shift(pow_2: &mut (G0, G1)) { function prove (line 107) | pub(crate) fn prove( function verify (line 138) | pub(crate) fn verify( function write (line 162) | pub(crate) fn write(&self, w: &mut W) -> std::io::Result<()> { function read (line 169) | pub(crate) fn read(r: &mut R) -> std::io::Result { FILE: crypto/dleq/src/cross_group/mod.rs function black_box (line 37) | fn black_box(val: T) -> T { function u8_from_bool (line 41) | fn u8_from_bool(bit_ref: &mut bool) -> u8 { function read_point (line 55) | pub(crate) fn read_point(r: &mut R) -> io::Resul... type Generators (line 69) | pub struct Generators { function new (line 80) | pub fn new(primary: G, alt: G) -> Option> { function transcript (line 87) | fn transcript(&self, transcript: &mut T) { type DLEqError (line 96) | pub enum DLEqError { type __DLEqProof (line 114) | pub struct __DLEqProof< function transcript (line 207) | pub(crate) fn transcript( function blinding_key (line 220) | pub(crate) fn blinding_key( function reconstruct_keys (line 230) | fn reconstruct_keys(&self) -> (G0, G1) { function prove_internal (line 245) | fn prove_internal( function prove (line 347) | pub fn prove( function verify (line 382) | pub fn verify( function write (line 430) | pub fn write(&self, w: &mut W) -> io::Result<()> { function read (line 443) | pub fn read(r: &mut R) -> io::Result { FILE: crypto/dleq/src/cross_group/scalar.rs function scalar_normalize (line 10) | pub fn scalar_normalize( function scalar_convert (line 52) | pub fn scalar_convert( function mutual_scalar_from_bytes (line 63) | pub fn mutual_scalar_from_bytes { function hra (line 34) | fn hra(transcript: &mut T, generator: G, R: G, A: G) -> G... function prove (line 42) | pub(crate) fn prove( function verify (line 59) | pub(crate) fn verify( function write (line 79) | pub fn write(&self, w: &mut W) -> std::io::Result<()> { function read (line 85) | pub fn read(r: &mut R) -> std::io::Result> { FILE: crypto/dleq/src/lib.rs function challenge (line 28) | pub(crate) fn challenge(transcript: &mut T... function read_scalar (line 89) | fn read_scalar(r: &mut R) -> io::Result { type DLEqError (line 101) | pub enum DLEqError { type DLEqProof (line 108) | pub struct DLEqProof> { function transcript (line 115) | fn transcript(transcript: &mut T, generator: G, nonce: G,... function prove (line 123) | pub fn prove( function verify_statement (line 146) | fn verify_statement( function verify (line 160) | pub fn verify( function write (line 184) | pub fn write(&self, w: &mut W) -> io::Result<()> { function read (line 191) | pub fn read(r: &mut R) -> io::Result> { function serialize (line 197) | pub fn serialize(&self) -> Vec { type MultiDLEqProof (line 210) | pub struct MultiDLEqProof> { function prove (line 221) | pub fn prove( function verify (line 264) | pub fn verify( function write (line 298) | pub fn write(&self, w: &mut W) -> io::Result<()> { function read (line 308) | pub fn read(r: &mut R, discrete_logs: usize) -> io::Result Vec { FILE: crypto/dleq/src/tests/cross_group/aos.rs function test_aos_serialization (line 14) | fn test_aos_serialization(proof: &Aos(default: &Re) { function test_aos_e (line 57) | fn test_aos_e() { function test_aos_R (line 64) | fn test_aos_R() { FILE: crypto/dleq/src/tests/cross_group/mod.rs type G0 (line 28) | type G0 = ProjectivePoint; type G1 (line 29) | type G1 = EdwardsPoint; function transcript (line 31) | pub(crate) fn transcript() -> RecommendedTranscript { function generators (line 35) | pub(crate) fn generators() -> (Generators, Generators) { function test_rejection_sampling (line 156) | fn test_rejection_sampling() { function test_remainder (line 175) | fn test_remainder() { FILE: crypto/dleq/src/tests/cross_group/scalar.rs function test_scalar (line 11) | fn test_scalar() { FILE: crypto/dleq/src/tests/cross_group/schnorr.rs function test_schnorr (line 17) | fn test_schnorr + Zeroiz... function test_secp256k1 (line 36) | fn test_secp256k1() { function test_ed25519 (line 41) | fn test_ed25519() { FILE: crypto/dleq/src/tests/mod.rs function generators (line 21) | fn generators() -> [k256::ProjectivePoint; 5] { function test_dleq (line 45) | fn test_dleq() { function test_multi_dleq (line 105) | fn test_multi_dleq() { FILE: crypto/ed448/src/backend.rs function black_box (line 6) | pub(crate) fn black_box(val: T) -> T { function black_box (line 13) | pub(crate) fn black_box(val: T) -> T { function u8_from_bool (line 19) | pub(crate) fn u8_from_bool(bit_ref: &mut bool) -> u8 { FILE: crypto/ed448/src/ciphersuite.rs type Shake256_114 (line 18) | pub struct Shake256_114(Shake256); type BlockSize (line 20) | type BlockSize = ::BlockSize; method block_size (line 21) | fn block_size() -> usize { type OutputSize (line 26) | type OutputSize = U114; method output_size (line 27) | fn output_size() -> usize { method update (line 32) | fn update(&mut self, data: &[u8]) { method chain (line 35) | fn chain(mut self, data: impl AsRef<[u8]>) -> Self { method finalize_fixed (line 41) | fn finalize_fixed(self) -> Output { method finalize_into (line 46) | fn finalize_into(self, out: &mut Output) { type Ed448 (line 59) | pub struct Ed448; type F (line 61) | type F = Scalar; type G (line 62) | type G = Point; type H (line 63) | type H = Shake256_114; constant ID (line 65) | const ID: &'static [u8] = b"ed448"; method generator (line 67) | fn generator() -> Self::G { method hash_to_F (line 71) | fn hash_to_F(dst: &[u8], data: &[u8]) -> Self::F { function test_ed448 (line 77) | fn test_ed448() { FILE: crypto/ed448/src/field.rs constant MODULUS_STR (line 8) | const MODULUS_STR: &str = concat!( type ResidueType (line 14) | pub(crate) type ResidueType = Residue CtOption { type Point (line 54) | pub struct Point { type Output (line 135) | type Output = Point; method add (line 136) | fn add(self, other: &Point) -> Point { method add_assign (line 142) | fn add_assign(&mut self, other: &Point) { type Output (line 169) | type Output = Point; method sub (line 170) | fn sub(self, other: &Point) -> Point { method sub_assign (line 176) | fn sub_assign(&mut self, other: &Point) { method sum (line 218) | fn sum>(iter: I) -> Point { method sum (line 228) | fn sum>(iter: I) -> Point { type Output (line 234) | type Output = Point; method mul (line 235) | fn mul(self, mut other: Scalar) -> Point { method mul_assign (line 276) | fn mul_assign(&mut self, other: Scalar) { type Output (line 282) | type Output = Point; method mul (line 283) | fn mul(self, other: &Scalar) -> Point { method mul_assign (line 289) | fn mul_assign(&mut self, other: &Scalar) { method is_torsion_free (line 295) | fn is_torsion_free(&self) -> Choice { method zeroize (line 61) | fn zeroize(&mut self) { constant G (line 72) | const G: Point = Point { x: G_X, y: G_Y, z: FieldElement::ONE }; method ct_eq (line 75) | fn ct_eq(&self, other: &Self) -> Choice { method eq (line 87) | fn eq(&self, other: &Point) -> bool { method conditional_select (line 95) | fn conditional_select(a: &Self, b: &Self, choice: Choice) -> Self { type Output (line 105) | type Output = Point; method add (line 106) | fn add(self, other: Self) -> Self { method add_assign (line 129) | fn add_assign(&mut self, other: Point) { type Output (line 148) | type Output = Point; method neg (line 149) | fn neg(self) -> Self { type Output (line 155) | type Output = Point; method sub (line 157) | fn sub(self, other: Self) -> Self { method sub_assign (line 163) | fn sub_assign(&mut self, other: Point) { type Scalar (line 182) | type Scalar = Scalar; method random (line 183) | fn random(mut rng: impl RngCore) -> Self { method identity (line 194) | fn identity() -> Self { method generator (line 197) | fn generator() -> Self { method is_identity (line 200) | fn is_identity(&self) -> Choice { method double (line 203) | fn double(&self) -> Self { type Repr (line 301) | type Repr = ::Repr; method from_bytes (line 303) | fn from_bytes(bytes: &Self::Repr) -> CtOption { method from_bytes_unchecked (line 321) | fn from_bytes_unchecked(bytes: &Self::Repr) -> CtOption { method to_bytes (line 325) | fn to_bytes(&self) -> Self::Repr { function test_group (line 340) | fn test_group() { function generator (line 345) | fn generator() { function torsion (line 352) | fn torsion() { function vector (line 371) | fn vector() { function random (line 415) | fn random() { FILE: crypto/ed448/src/scalar.rs constant MODULUS_STR (line 8) | const MODULUS_STR: &str = concat!( type ResidueType (line 14) | type ResidueType = Residue; type Scalar (line 18) | pub struct Scalar(pub(crate) ResidueType); method wide_reduce (line 56) | pub fn wide_reduce(bytes: [u8; 114]) -> Scalar { constant MODULUS (line 23) | pub(crate) const MODULUS: U448 = U448::from_be_hex(MODULUS_STR); constant WIDE_MODULUS (line 25) | const WIDE_MODULUS: U896 = U896::from_be_hex(concat!( constant WIDE_REDUCTION_MODULUS (line 32) | const WIDE_REDUCTION_MODULUS: NonZero = NonZero::from_uint(U1024:... function test_scalar (line 67) | fn test_scalar() { FILE: crypto/ff-group-tests/src/field.rs function test_eq (line 6) | pub fn test_eq() { function test_conditional_select (line 21) | pub fn test_conditional_select() { function test_add (line 29) | pub fn test_add() { function test_sum (line 41) | pub fn test_sum() { function test_sub (line 53) | pub fn test_sub() { function test_neg (line 64) | pub fn test_neg() { function test_mul (line 72) | pub fn test_mul() { function test_product (line 81) | pub fn test_product() { function test_square (line 95) | pub fn test_square() { function test_invert (line 105) | pub fn test_invert() { function test_sqrt (line 115) | pub fn test_sqrt() { function test_is_zero (line 171) | pub fn test_is_zero() { function test_cube (line 177) | pub fn test_cube() { function test_random (line 185) | pub fn test_random(rng: &mut R) { function test_field (line 204) | pub fn test_field(rng: &mut R) { FILE: crypto/ff-group-tests/src/group.rs function test_eq (line 11) | pub fn test_eq() { function test_identity (line 18) | pub fn test_identity() { function test_generator (line 32) | pub fn test_generator() { function test_double (line 41) | pub fn test_double() { function test_add (line 51) | pub fn test_add() { function test_sum (line 67) | pub fn test_sum() { function test_neg (line 81) | pub fn test_neg() { function test_sub (line 91) | pub fn test_sub() { function test_mul (line 98) | pub fn test_mul() { function test_order (line 110) | pub fn test_order() { function test_random (line 117) | pub fn test_random(rng: &mut R) { function test_group (line 139) | pub fn test_group(rng: &mut R) { function test_encoding (line 156) | pub fn test_encoding() { function test_prime_group (line 176) | pub fn test_prime_group(rng: &mut R) { function test_prime_group_bits (line 183) | pub fn test_prime_group_bits() { function test_one (line 13) | pub fn test_one() { function test_from_u64 (line 18) | pub fn test_from_u64() { function test_from_u128 (line 26) | pub fn test_from_u128() { function test_is_odd (line 38) | pub fn test_is_odd() { function test_encoding (line 64) | pub fn test_encoding() { function test_prime_field (line 106) | pub fn test_prime_field(rng: &mut R) { function test_to_le_bits (line 123) | pub fn test_to_le_bits() { function test_char_le_bits (line 150) | pub fn test_char_le_bits() { function test_num_bits (line 168) | pub fn test_num_bits() { function test_capacity (line 184) | pub fn test_capacity() { function pow (line 215) | fn pow(base: F, exp: F) -> F { function test_pow (line 228) | pub fn test_pow() { function test_inv_consts (line 287) | pub fn test_inv_consts() { function test_s (line 297) | pub fn test_s() { function test_root_of_unity (line 311) | pub fn test_root_of_unity() { function test_delta (line 341) | pub fn test_delta() { function test_prime_field_bits (line 350) | pub fn test_prime_field_bits(rng: &mut R) { FILE: crypto/frost/src/algorithm.rs type WriteAddendum (line 13) | pub trait WriteAddendum { method write (line 14) | fn write(&self, writer: &mut W) -> io::Result<()>; method write (line 18) | fn write(&self, _: &mut W) -> io::Result<()> { type Addendum (line 24) | pub trait Addendum: Send + Sync + Clone + PartialEq + Debug + WriteAdden... type Algorithm (line 28) | pub trait Algorithm: Send + Sync { method transcript (line 38) | fn transcript(&mut self) -> &mut Self::Transcript; method nonces (line 49) | fn nonces(&self) -> Vec>; method preprocess_addendum (line 52) | fn preprocess_addendum( method read_addendum (line 59) | fn read_addendum(&self, reader: &mut R) -> io::Result], sum: C::F) -> ... method verify_share (line 89) | fn verify_share( type IetfTranscript (line 103) | pub struct IetfTranscript(pub(crate) Vec); type Hram (line 130) | pub trait Hram: Send + Sync + Clone { method hram (line 134) | fn hram(R: &C::G, A: &C::G, m: &[u8]) -> C::F; type Schnorr (line 141) | pub struct Schnorr = Schnorr; function new (line 159) | pub fn new(transcript: T) -> Schnorr { function ietf (line 168) | pub fn ietf() -> IetfSchnorr { type Transcript (line 174) | type Transcript = T; type Challenge (line 105) | type Challenge = Vec; method new (line 107) | fn new(_: &'static [u8]) -> IetfTranscript { method domain_separate (line 111) | fn domain_separate(&mut self, _: &[u8]) {} method append_message (line 113) | fn append_message>(&mut self, _: &'static [u8], message... method challenge (line 117) | fn challenge(&mut self, _: &'static [u8]) -> Vec { method rng_seed (line 122) | fn rng_seed(&mut self, _: &'static [u8]) -> [u8; 32] { type Addendum (line 175) | type Addendum = (); type Signature (line 176) | type Signature = SchnorrSignature; function transcript (line 178) | fn transcript(&mut self) -> &mut Self::Transcript { function nonces (line 182) | fn nonces(&self) -> Vec> { function preprocess_addendum (line 186) | fn preprocess_addendum(&mut self, _: &mut R, _: ... function read_addendum (line 188) | fn read_addendum(&self, _: &mut R) -> io::Result { function process_addendum (line 192) | fn process_addendum( function sign_share (line 201) | fn sign_share( function verify (line 214) | fn verify(&self, group_key: C::G, nonces: &[Vec], sum: C::F) -> Op... function verify_share (line 219) | fn verify_share( FILE: crypto/frost/src/curve/ed448.rs constant CONTEXT (line 9) | const CONTEXT: &[u8] = b"FROST-ED448-SHAKE256-v1"; constant CONTEXT (line 12) | const CONTEXT: &'static [u8] = CONTEXT; type Ietf8032Ed448Hram (line 17) | pub(crate) struct Ietf8032Ed448Hram; method hram (line 20) | pub(crate) fn hram(context: &[u8], R: &Point, A: &Point, m: &[u8]) -> ... type IetfEd448Hram (line 39) | pub struct IetfEd448Hram; method hram (line 42) | fn hram(R: &Point, A: &Point, m: &[u8]) -> Scalar { FILE: crypto/frost/src/curve/mod.rs type Curve (line 44) | pub trait Curve: Ciphersuite { constant CONTEXT (line 46) | const CONTEXT: &'static [u8]; method hash (line 49) | fn hash(dst: &[u8], data: &[u8]) -> Output { method hash_to_F (line 56) | fn hash_to_F(dst: &[u8], msg: &[u8]) -> Self::F { method hash_msg (line 61) | fn hash_msg(msg: &[u8]) -> Output { method hash_commitments (line 66) | fn hash_commitments(commitments: &[u8]) -> Output { method hash_binding_factor (line 89) | fn hash_binding_factor(binding: &[u8]) -> Self::F { method random_nonce (line 94) | fn random_nonce( method read_G (line 125) | fn read_G(reader: &mut R) -> io::Result { FILE: crypto/frost/src/lib.rs type FrostError (line 28) | pub enum FrostError { function validate_map (line 50) | pub fn validate_map( FILE: crypto/frost/src/nonce.rs type Nonce (line 28) | pub(crate) struct Nonce(pub(crate) [Zeroizing; 2]); type GeneratorCommitments (line 32) | pub(crate) struct GeneratorCommitments(pub(crate) [C::G; 2]); function read (line 34) | fn read(reader: &mut R) -> io::Result> { function write (line 38) | fn write(&self, writer: &mut W) -> io::Result<()> { type NonceCommitments (line 46) | pub(crate) struct NonceCommitments { function new (line 53) | pub(crate) fn new( function read (line 74) | fn read(reader: &mut R, generators: &[C::G]) -> io::Result(&self, writer: &mut W) -> io::Result<()> { function transcript (line 89) | fn transcript(&self, t: &mut T) { type Commitments (line 100) | pub(crate) struct Commitments { function new (line 107) | pub(crate) fn new( function transcript (line 126) | pub(crate) fn transcript(&self, t: &mut T) { function read (line 133) | pub(crate) fn read(reader: &mut R, generators: &[Vec]) ->... function write (line 141) | pub(crate) fn write(&self, writer: &mut W) -> io::Result<()> { type IndividualBinding (line 149) | pub(crate) struct IndividualBinding { type BindingFactor (line 154) | pub(crate) struct BindingFactor(pub(crate) HashMap(&mut self... function binding_factors (line 175) | pub(crate) fn binding_factors(&self, i: Participant) -> &[C::F] { function bound (line 180) | pub(crate) fn bound(&self, l: Participant) -> Vec> { function nonces (line 194) | pub(crate) fn nonces(&self, planned_nonces: &[Vec]) -> Vec(&self, writer: &mut W) -> io::Result<()>; method serialize (line 33) | fn serialize(&self) -> Vec { method write (line 41) | fn write(&self, writer: &mut W) -> io::Result<()> { method write (line 77) | fn write(&self, writer: &mut W) -> io::Result<()> { method write (line 185) | fn write(&self, writer: &mut W) -> io::Result<()> { type Params (line 51) | struct Params> { function new (line 59) | fn new(algorithm: A, keys: ThresholdKeys) -> Params { function multisig_params (line 63) | fn multisig_params(&self) -> ThresholdParams { type Preprocess (line 70) | pub struct Preprocess { type CachedPreprocess (line 92) | pub struct CachedPreprocess(pub Zeroizing<[u8; 32]>); type PreprocessMachine (line 95) | pub trait PreprocessMachine: Send { method preprocess (line 106) | fn preprocess(self, rng: &mut R) type Preprocess (line 167) | type Preprocess = Preprocess; type Signature (line 168) | type Signature = A::Signature; type SignMachine (line 169) | type SignMachine = AlgorithmSignMachine; method preprocess (line 171) | fn preprocess( type AlgorithmMachine (line 111) | pub struct AlgorithmMachine> { function new (line 117) | pub fn new(algorithm: A, keys: ThresholdKeys) -> AlgorithmMachine(C::F); function invalidate (line 191) | pub(crate) fn invalidate(&mut self) { type SignMachine (line 197) | pub trait SignMachine: Send + Sync + Sized { method cache (line 214) | fn cache(self) -> CachedPreprocess; method from_cache (line 220) | fn from_cache( method read_preprocess (line 230) | fn read_preprocess(&self, reader: &mut R) -> io::Result> { type Params (line 258) | type Params = A; type Keys (line 259) | type Keys = ThresholdKeys; type Preprocess (line 260) | type Preprocess = Preprocess; type SignatureShare (line 261) | type SignatureShare = SignatureShare; type SignatureMachine (line 262) | type SignatureMachine = AlgorithmSignatureMachine; method read_share (line 420) | fn read_share(&self, reader: &mut R) -> io::Result) ... function cache (line 264) | fn cache(self) -> CachedPreprocess { function from_cache (line 268) | fn from_cache( function read_preprocess (line 276) | fn read_preprocess(&self, reader: &mut R) -> io::Result: Send + Sync { method read_share (line 420) | fn read_share(&self, reader: &mut R) -> io::Result) ... type AlgorithmSignatureMachine (line 431) | pub struct AlgorithmSignatureMachine> { type SignatureShare (line 441) | type SignatureShare = SignatureShare; function read_share (line 443) | fn read_share(&self, reader: &mut R) -> io::Result( function clone_without (line 43) | pub fn clone_without>( function preprocess (line 93) | pub(crate) fn preprocess< function preprocess_and_shares (line 123) | pub(crate) fn preprocess_and_shares< function sign_internal (line 155) | fn sign_internal< function sign_without_caching (line 181) | pub fn sign_without_caching( function sign_without_clone (line 191) | pub fn sign_without_clone( function sign (line 221) | pub fn sign< function test_schnorr_with_keys (line 236) | pub fn test_schnorr_with_keys>(rng: &... function test_offset_schnorr (line 255) | pub fn test_offset_schnorr>... function test_schnorr_blame (line 276) | pub fn test_schnorr_blame>(... function test_ciphersuite (line 298) | pub fn test_ciphersuite>(rn... FILE: crypto/frost/src/tests/nonces.rs type MultiNonce (line 19) | struct MultiNonce { function new (line 25) | fn new() -> MultiNonce { function nonces (line 33) | fn nonces() -> Vec> { function verify_nonces (line 40) | fn verify_nonces(nonces: &[Vec]) { type Transcript (line 59) | type Transcript = RecommendedTranscript; type Addendum (line 60) | type Addendum = (); type Signature (line 61) | type Signature = (); function transcript (line 63) | fn transcript(&mut self) -> &mut Self::Transcript { function nonces (line 67) | fn nonces(&self) -> Vec> { function preprocess_addendum (line 71) | fn preprocess_addendum(&mut self, _: &mut R, _: ... function read_addendum (line 73) | fn read_addendum(&self, _: &mut R) -> io::Result { function process_addendum (line 77) | fn process_addendum( function sign_share (line 86) | fn sign_share( function verify (line 125) | fn verify(&self, _: C::G, nonces: &[Vec], sum: C::F) -> Option], _: C::F) -> Result(rng: &mut R) { FILE: crypto/frost/src/tests/vectors.rs type Vectors (line 26) | pub struct Vectors { method from (line 50) | fn from(value: serde_json::Value) -> Vectors { function vectors_to_multisig_keys (line 108) | fn vectors_to_multisig_keys(vectors: &Vectors) -> HashMap>( FILE: crypto/multiexp/src/batch.rs function flat (line 15) | fn flat BatchVerifier { function queue (line 39) | pub fn queue bool { function verify_vartime (line 99) | pub fn verify_vartime(&self) -> bool { function blame_vartime (line 108) | pub fn blame_vartime(&self) -> Option { function verify_with_vartime_blame (line 127) | pub fn verify_with_vartime_blame(&self) -> Result<(), Id> { function verify_vartime_with_vartime_blame (line 137) | pub fn verify_vartime_with_vartime_blame(&self) -> Result<(), Id> { FILE: crypto/multiexp/src/lib.rs function black_box (line 35) | fn black_box(val: T) -> T { function u8_from_bool (line 39) | fn u8_from_bool(bit_ref: &mut bool) -> u8 { function prep_bits (line 54) | pub(crate) fn prep_bits>( type Algorithm (line 77) | enum Algorithm { function algorithm (line 129) | fn algorithm(len: usize) -> Algorithm { function multiexp (line 180) | pub fn multiexp>( function multiexp_vartime (line 194) | pub fn multiexp_vartime>(pairs: &[(G::S... FILE: crypto/multiexp/src/pippenger.rs function pippenger (line 10) | pub(crate) fn pippenger>( function pippenger_vartime (line 42) | pub(crate) fn pippenger_vartime>( FILE: crypto/multiexp/src/straus.rs function prep_tables (line 11) | fn prep_tables(pairs: &[(G::Scalar, G)], window: u8) -> Vec>( function straus_vartime (line 52) | pub(crate) fn straus_vartime>( FILE: crypto/multiexp/src/tests/batch.rs function test_batch (line 12) | pub(crate) fn test_batch>() { function test_secp256k1 (line 129) | fn test_secp256k1() { function test_ed25519 (line 136) | fn test_ed25519() { function benchmark (line 144) | fn benchmark() { FILE: crypto/schnorr/src/aggregate.rs function weight (line 22) | fn weight(digest: &mut Di... type SchnorrAggregate (line 70) | pub struct SchnorrAggregate { function read (line 77) | pub fn read(reader: &mut R) -> io::Result { function write (line 93) | pub fn write(&self, writer: &mut W) -> io::Result<()> { function serialize (line 107) | pub fn serialize(&self) -> Vec { function Rs (line 114) | pub fn Rs(&self) -> &[C::G] { function verify (line 127) | pub fn verify(&self, dst: &'static [u8], keys_and_challenges: &[(C::G, C... type SchnorrAggregator (line 152) | pub struct SchnorrAggregator { function new (line 162) | pub fn new(dst: &'static [u8]) -> Self { function aggregate (line 169) | pub fn aggregate(&mut self, challenge: C::F, sig: SchnorrSignature) { function complete (line 175) | pub fn complete(mut self) -> Option> { FILE: crypto/schnorr/src/lib.rs type SchnorrSignature (line 44) | pub struct SchnorrSignature { function read (line 51) | pub fn read(reader: &mut R) -> io::Result { function write (line 56) | pub fn write(&self, writer: &mut W) -> io::Result<()> { function serialize (line 62) | pub fn serialize(&self) -> Vec { function sign (line 74) | pub fn sign( function batch_statements (line 88) | pub fn batch_statements(&self, public_key: C::G, challenge: C::F) -> [(C... function verify (line 108) | pub fn verify(&self, public_key: C::G, challenge: C::F) -> bool { function batch_verify (line 117) | pub fn batch_verify( FILE: crypto/schnorr/src/tests/mod.rs function sign (line 19) | pub(crate) fn sign() { function verify (line 30) | pub(crate) fn verify() { function batch_verify (line 35) | pub(crate) fn batch_verify() { function aggregate (line 81) | pub(crate) fn aggregate() { function test (line 117) | fn test() { FILE: crypto/schnorr/src/tests/rfc8032.rs constant VECTORS (line 15) | const VECTORS: [(&str, &str, &str); 5] = [ function test_rfc8032 (line 48) | fn test_rfc8032() { FILE: crypto/schnorrkel/src/lib.rs type RistrettoPoint (line 31) | type RistrettoPoint = ::G; type Scalar (line 32) | type Scalar = ::F; type SchnorrkelHram (line 38) | struct SchnorrkelHram; method hram (line 41) | fn hram(R: &RistrettoPoint, A: &RistrettoPoint, m: &[u8]) -> Scalar { type Schnorrkel (line 58) | pub struct Schnorrkel { method new (line 68) | pub fn new(context: &'static [u8]) -> Schnorrkel { type Transcript (line 78) | type Transcript = MerlinTranscript; type Addendum (line 79) | type Addendum = (); type Signature (line 80) | type Signature = Signature; method transcript (line 82) | fn transcript(&mut self) -> &mut Self::Transcript { method nonces (line 86) | fn nonces(&self) -> Vec::G>> { method preprocess_addendum (line 90) | fn preprocess_addendum( method read_addendum (line 97) | fn read_addendum(&self, _: &mut R) -> io::Result Self; method domain_separate (line 35) | fn domain_separate(&mut self, label: &'static [u8]); method append_message (line 38) | fn append_message>(&mut self, label: &'static [u8], mes... method challenge (line 44) | fn challenge(&mut self, label: &'static [u8]) -> Self::Challenge; method rng_seed (line 53) | fn rng_seed(&mut self, label: &'static [u8]) -> [u8; 32]; type Challenge (line 108) | type Challenge = Output; method new (line 110) | fn new(name: &'static [u8]) -> Self { method domain_separate (line 116) | fn domain_separate(&mut self, label: &'static [u8]) { method append_message (line 120) | fn append_message>(&mut self, label: &'static [u8], mes... method challenge (line 125) | fn challenge(&mut self, label: &'static [u8]) -> Self::Challenge { method rng_seed (line 136) | fn rng_seed(&mut self, label: &'static [u8]) -> [u8; 32] { type DigestTranscriptMember (line 57) | enum DigestTranscriptMember { method as_u8 (line 68) | fn as_u8(&self) -> u8 { type SecureDigest (line 83) | pub trait SecureDigest: Digest + HashMarker {} type DigestTranscript (line 96) | pub struct DigestTranscript(D); function append (line 99) | fn append(&mut self, kind: DigestTranscriptMember, value: &[u8]) { method zeroize (line 150) | fn zeroize(&mut self) { type RecommendedTranscript (line 177) | pub type RecommendedTranscript = DigestTranscript; FILE: crypto/transcript/src/merlin.rs type MerlinTranscript (line 16) | pub struct MerlinTranscript(merlin::Transcript); method fmt (line 19) | fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), core::fmt::Error> { type Challenge (line 29) | type Challenge = [u8; 64]; method new (line 31) | fn new(name: &'static [u8]) -> Self { method domain_separate (line 35) | fn domain_separate(&mut self, label: &'static [u8]) { method append_message (line 39) | fn append_message>(&mut self, label: &'static [u8], messa... method challenge (line 47) | fn challenge(&mut self, label: &'static [u8]) -> Self::Challenge { method rng_seed (line 53) | fn rng_seed(&mut self, label: &'static [u8]) -> [u8; 32] { FILE: crypto/transcript/src/tests.rs function test_transcript (line 6) | pub fn test_transcript>() { function test_digest (line 87) | fn test_digest() { function test_recommended (line 94) | fn test_recommended() { function test_merlin (line 100) | fn test_merlin() { FILE: message-queue/src/client.rs type MessageQueue (line 23) | pub struct MessageQueue { method new (line 31) | pub fn new( method from_env (line 46) | pub fn from_env(service: Service) -> MessageQueue { method send (line 69) | async fn send(socket: &mut TcpStream, msg: MessageQueueRequest) -> bool { method queue (line 82) | pub async fn queue(&self, metadata: Metadata, msg: Vec) { method next (line 120) | pub async fn next(&self, from: Service) -> QueuedMessage { method ack (line 208) | pub async fn ack(&self, from: Service, id: u64) { FILE: message-queue/src/main.rs type Db (line 24) | pub(crate) type Db = Arc; type Db (line 26) | pub(crate) type Db = serai_db::RocksDB; function queue_message (line 60) | pub(crate) fn queue_message( function get_next_message (line 120) | pub(crate) fn get_next_message(from: Service, to: Service) -> Option(pub(crate) D, pub(crate) Service, pub(cra... function key (line 8) | fn key(domain: &'static [u8], key: impl AsRef<[u8]>) -> Vec { function message_count_key (line 12) | fn message_count_key(&self) -> Vec { function message_count (line 15) | pub(crate) fn message_count(&self) -> u64 { function last_acknowledged_key (line 22) | fn last_acknowledged_key(&self) -> Vec { function last_acknowledged (line 25) | pub(crate) fn last_acknowledged(&self) -> Option { function message_key (line 32) | fn message_key(&self, id: u64) -> Vec { function queue_message (line 37) | pub(crate) fn queue_message( function get_message (line 53) | pub(crate) fn get_message(&self, id: u64) -> Option { function ack_message (line 62) | pub(crate) fn ack_message(&mut self, id: u64) { FILE: mini/src/lib.rs type Batch (line 12) | pub struct Batch { type Event (line 18) | pub enum Event { constant BATCH_FTL (line 27) | const BATCH_FTL: u64 = 3; type Serai (line 30) | pub struct Serai { method new (line 42) | pub fn new(ticks: usize, mut queued_key: bool) -> Serai { method exhausted (line 97) | pub fn exhausted(&self) -> bool { method join (line 101) | pub fn join(self) -> Vec { type Processor (line 109) | pub struct Processor { method new (line 114) | pub fn new(serai: Serai, blocks: u64) -> Processor { method join (line 147) | pub fn join(self) -> Serai { FILE: mini/src/tests/activation_race/mod.rs function activation_race (line 9) | fn activation_race() { function sequential_solves_activation_race (line 73) | fn sequential_solves_activation_race() { function ftl_solves_activation_race (line 145) | fn ftl_solves_activation_race() { FILE: networks/bitcoin/src/crypto.rs function x (line 13) | fn x(key: &ProjectivePoint) -> [u8; 32] { function x_only (line 21) | pub(crate) fn x_only(key: &ProjectivePoint) -> XOnlyPublicKey { function needs_negation (line 26) | pub(crate) fn needs_negation(key: &ProjectivePoint) -> Choice { type Hram (line 56) | pub struct Hram; method hram (line 59) | fn hram(R: &ProjectivePoint, A: &ProjectivePoint, m: &[u8]) -> Scalar { type Schnorr (line 85) | pub struct Schnorr(FrostSchnorr); method new (line 89) | pub fn new() -> Schnorr { type Transcript (line 95) | type Transcript = as Algorithm &mut Self::Transcript { method nonces (line 103) | fn nonces(&self) -> Vec> { method preprocess_addendum (line 107) | fn preprocess_addendum( method read_addendum (line 115) | fn read_addendum(&self, reader: &mut R) -> io::Result { type Rpc (line 32) | pub struct Rpc { method new (line 64) | pub async fn new(url: String) -> Result { method rpc_call (line 105) | pub async fn rpc_call( method get_latest_block_number (line 141) | pub async fn get_latest_block_number(&self) -> Result { method get_block_hash (line 151) | pub async fn get_block_hash(&self, number: usize) -> Result<[u8; 32], ... method get_block_number (line 163) | pub async fn get_block_number(&self, hash: &[u8; 32]) -> Result Result Result Result) -> ThresholdKeys Option { type ReceivedOutput (line 90) | pub struct ReceivedOutput { method offset (line 101) | pub fn offset(&self) -> Scalar { method output (line 106) | pub fn output(&self) -> &TxOut { method outpoint (line 111) | pub fn outpoint(&self) -> &OutPoint { method value (line 116) | pub fn value(&self) -> u64 { method read (line 122) | pub fn read(r: &mut R) -> io::Result { method write (line 137) | pub fn write(&self, w: &mut W) -> io::Result<()> { method serialize (line 144) | pub fn serialize(&self) -> Vec { type Scanner (line 153) | pub struct Scanner { method new (line 162) | pub fn new(key: ProjectivePoint) -> Option { method register_offset (line 180) | pub fn register_offset(&mut self, mut offset: Scalar) -> Option { method scan_transaction (line 199) | pub fn scan_transaction(&self, tx: &Transaction) -> Vec { method scan_block (line 221) | pub fn scan_block(&self, block: &Block) -> Vec { FILE: networks/bitcoin/src/wallet/send.rs constant DUST (line 32) | pub const DUST: u64 = 546; type TransactionError (line 35) | pub enum TransactionError { type SignableTransaction (line 54) | pub struct SignableTransaction { method calculate_weight_vbytes (line 62) | fn calculate_weight_vbytes( method needed_fee (line 133) | pub fn needed_fee(&self) -> u64 { method fee (line 138) | pub fn fee(&self) -> u64 { method new (line 150) | pub fn new( method txid (line 259) | pub fn txid(&self) -> [u8; 32] { method transaction (line 266) | pub fn transaction(&self) -> &Transaction { method multisig (line 273) | pub fn multisig(self, keys: &ThresholdKeys) -> Option>; type Signature (line 299) | type Signature = Transaction; type SignMachine (line 300) | type SignMachine = TransactionSignMachine; method preprocess (line 302) | fn preprocess( type TransactionSignMachine (line 321) | pub struct TransactionSignMachine { type Params (line 327) | type Params = (); type Keys (line 328) | type Keys = ThresholdKeys; type Preprocess (line 329) | type Preprocess = Vec>; type SignatureShare (line 330) | type SignatureShare = Vec>; type SignatureMachine (line 331) | type SignatureMachine = TransactionSignatureMachine; method cache (line 333) | fn cache(self) -> CachedPreprocess { method from_cache (line 340) | fn from_cache( method read_preprocess (line 351) | fn read_preprocess(&self, reader: &mut R) -> io::Result>; method read_share (line 409) | fn read_share(&self, reader: &mut R) -> io::Result Rpc { FILE: networks/bitcoin/tests/wallet.rs constant FEE (line 34) | const FEE: u64 = 20; function is_even (line 36) | fn is_even(key: ProjectivePoint) -> bool { function send_and_get_output (line 40) | async fn send_and_get_output(rpc: &Rpc, scanner: &Scanner, key: Projecti... function keys (line 80) | fn keys() -> (HashMap>, Projective... function sign (line 89) | fn sign( FILE: networks/ethereum/alloy-simple-request-transport/src/lib.rs type SimpleRequest (line 15) | pub struct SimpleRequest { method new (line 21) | pub fn new(url: String) -> Self { type Response (line 27) | type Response = ResponsePacket; type Error (line 28) | type Error = TransportError; type Future (line 29) | type Future = TransportFut<'static>; method poll_ready (line 32) | fn poll_ready(&mut self, _cx: &mut task::Context<'_>) -> task::Poll Self::Future { FILE: networks/ethereum/build.rs function main (line 3) | fn main() { FILE: networks/ethereum/relayer/src/main.rs function main (line 9) | async fn main() { FILE: networks/ethereum/src/crypto.rs function keccak256 (line 21) | pub(crate) fn keccak256(data: &[u8]) -> [u8; 32] { function hash_to_scalar (line 25) | pub(crate) fn hash_to_scalar(data: &[u8]) -> Scalar { function address (line 29) | pub fn address(point: &ProjectivePoint) -> [u8; 20] { function deterministically_sign (line 39) | pub fn deterministically_sign(tx: &TxLegacy) -> Signed { type PublicKey (line 68) | pub struct PublicKey { method new (line 79) | pub fn new(A: ProjectivePoint) -> Option { method point (line 100) | pub fn point(&self) -> ProjectivePoint { method eth_repr (line 104) | pub(crate) fn eth_repr(&self) -> [u8; 32] { method from_eth_repr (line 109) | pub(crate) fn from_eth_repr(repr: [u8; 32]) -> Option { type EthereumHram (line 118) | pub struct EthereumHram {} method hram (line 121) | fn hram(R: &ProjectivePoint, A: &ProjectivePoint, m: &[u8]) -> Scalar { type Signature (line 134) | pub struct Signature { method verify (line 139) | pub fn verify(&self, public_key: &PublicKey, message: &[u8]) -> bool { method new (line 148) | pub fn new( method c (line 163) | pub fn c(&self) -> Scalar { method s (line 166) | pub fn s(&self) -> Scalar { method to_bytes (line 170) | pub fn to_bytes(&self) -> [u8; 64] { method from_bytes (line 177) | pub fn from_bytes(bytes: [u8; 64]) -> std::io::Result { method from (line 185) | fn from(sig: &Signature) -> AbiSignature { FILE: networks/ethereum/src/deployer.rs type Deployer (line 25) | pub struct Deployer; method deployment_tx (line 32) | pub fn deployment_tx() -> Signed { method address (line 52) | pub fn address() -> [u8; 20] { method new (line 59) | pub async fn new(provider: Arc>) -> Result... method deploy_router (line 70) | pub fn deploy_router(&self, key: &PublicKey) -> TxLegacy { method find_router (line 82) | pub async fn find_router( FILE: networks/ethereum/src/erc20.rs type TopLevelErc20Transfer (line 16) | pub struct TopLevelErc20Transfer { type Erc20 (line 25) | pub struct Erc20(Arc>, Address); method new (line 28) | pub fn new(provider: Arc>, address: [u8; 2... method top_level_transfers (line 32) | pub async fn top_level_transfers( FILE: networks/ethereum/src/lib.rs type Error (line 30) | pub enum Error { FILE: networks/ethereum/src/machine.rs type Call (line 29) | pub struct Call { method read (line 35) | pub fn read(reader: &mut R) -> io::Result { method write (line 65) | fn write(&self, writer: &mut W) -> io::Result<()> { method from (line 76) | fn from(call: Call) -> AbiCall { type OutInstructionTarget (line 82) | pub enum OutInstructionTarget { method read (line 87) | fn read(reader: &mut R) -> io::Result { method write (line 112) | fn write(&self, writer: &mut W) -> io::Result<()> { type OutInstruction (line 133) | pub struct OutInstruction { method read (line 138) | fn read(reader: &mut R) -> io::Result { method write (line 149) | fn write(&self, writer: &mut W) -> io::Result<()> { method from (line 155) | fn from(instruction: OutInstruction) -> AbiOutInstruction { type RouterCommand (line 170) | pub enum RouterCommand { method msg (line 176) | pub fn msg(&self) -> Vec { method read (line 189) | pub fn read(reader: &mut R) -> io::Result { method write (line 233) | pub fn write(&self, writer: &mut W) -> io::Result<()> { method serialize (line 254) | pub fn serialize(&self) -> Vec { type SignedRouterCommand (line 262) | pub struct SignedRouterCommand { method new (line 268) | pub fn new(key: &PublicKey, command: RouterCommand, signature: &[u8; 6... method command (line 279) | pub fn command(&self) -> &RouterCommand { method signature (line 283) | pub fn signature(&self) -> &Signature { method read (line 287) | pub fn read(reader: &mut R) -> io::Result { method write (line 297) | pub fn write(&self, writer: &mut W) -> io::Result<()> { type RouterCommandMachine (line 303) | pub struct RouterCommandMachine { method new (line 310) | pub fn new(keys: ThresholdKeys, command: RouterCommand) -> ... type Preprocess (line 327) | type Preprocess = Preprocess; type Signature (line 328) | type Signature = SignedRouterCommand; type SignMachine (line 329) | type SignMachine = RouterCommandSignMachine; method preprocess (line 331) | fn preprocess( type RouterCommandSignMachine (line 341) | pub struct RouterCommandSignMachine { type Params (line 348) | type Params = (); type Keys (line 349) | type Keys = ThresholdKeys; type Preprocess (line 350) | type Preprocess = Preprocess; type SignatureShare (line 351) | type SignatureShare = SignatureShare; type SignatureMachine (line 352) | type SignatureMachine = RouterCommandSignatureMachine; method cache (line 354) | fn cache(self) -> CachedPreprocess { method from_cache (line 361) | fn from_cache( method read_preprocess (line 372) | fn read_preprocess(&self, reader: &mut R) -> io::Result; method read_share (line 401) | fn read_share(&self, reader: &mut R) -> io::Result(reader: &mut R) -> io::Result { method write (line 49) | pub fn write(&self, writer: &mut W) -> io::Result<()> { type InInstruction (line 61) | pub struct InInstruction { method read (line 71) | pub fn read(reader: &mut R) -> io::Result { method write (line 104) | pub fn write(&self, writer: &mut W) -> io::Result<()> { type Executed (line 127) | pub struct Executed { type Router (line 135) | pub struct Router(Arc>, Address); method code (line 137) | pub(crate) fn code() -> Vec { method init_code (line 142) | pub(crate) fn init_code(key: &PublicKey) -> Vec { method new (line 150) | pub(crate) fn new(provider: Arc>, address:... method address (line 154) | pub fn address(&self) -> [u8; 20] { method serai_key (line 160) | pub async fn serai_key(&self, at: [u8; 32]) -> Result { method update_serai_key_message (line 176) | pub(crate) fn update_serai_key_message(chain_id: U256, nonce: U256, ke... method update_serai_key (line 185) | pub fn update_serai_key(&self, public_key: &PublicKey, sig: &Signature... method nonce (line 199) | pub async fn nonce(&self, at: [u8; 32]) -> Result { method execute_message (line 215) | pub(crate) fn execute_message( method execute (line 224) | pub fn execute(&self, outs: &[abi::OutInstruction], sig: &Signature) -... method key_at_end_of_block (line 234) | pub async fn key_at_end_of_block(&self, block: u64) -> Result Result Filter { method executed_filter (line 440) | pub fn executed_filter(&self) -> Filter { FILE: networks/ethereum/src/tests/crypto.rs function ecrecover (line 22) | pub(crate) fn ecrecover(message: Scalar, odd_y: bool, r: Scalar, s: Scal... function test_ecrecover (line 36) | fn test_ecrecover() { function test_signing (line 71) | fn test_signing() { function preprocess_signature_for_ecrecover (line 82) | pub fn preprocess_signature_for_ecrecover( function test_ecrecover_hack (line 95) | fn test_ecrecover_hack() { FILE: networks/ethereum/src/tests/mod.rs function key_gen (line 32) | pub fn key_gen() -> (HashMap>, Pub... function send (line 50) | pub async fn send( function fund_account (line 79) | pub async fn fund_account( function deploy_contract (line 93) | pub async fn deploy_contract( FILE: networks/ethereum/src/tests/router.rs function setup_test (line 30) | async fn setup_test() -> ( function latest_block_hash (line 86) | async fn latest_block_hash(client: &RootProvider) -> [u8;... function test_deploy_contract (line 98) | async fn test_deploy_contract() { function hash_and_sign (line 107) | pub fn hash_and_sign( function test_router_update_serai_key (line 120) | async fn test_router_update_serai_key() { function test_router_execute (line 156) | async fn test_router_execute() { FILE: networks/ethereum/src/tests/schnorr.rs function setup_test (line 31) | async fn setup_test() -> (AnvilInstance, Arc... function test_deploy_contract (line 45) | async fn test_deploy_contract() { function call_verify (line 49) | pub async fn call_verify( function test_ecrecover_hack (line 76) | async fn test_ecrecover_hack() { FILE: orchestration/src/coordinator.rs function coordinator (line 11) | pub fn coordinator( FILE: orchestration/src/docker.rs function build (line 5) | pub fn build(orchestration_path: &Path, network: Network, name: &str) { FILE: orchestration/src/ethereum_relayer.rs function ethereum_relayer (line 5) | pub fn ethereum_relayer(orchestration_path: &Path, network: Network) { FILE: orchestration/src/main.rs type Network (line 58) | pub enum Network { method db (line 64) | pub fn db(&self) -> &'static str { method release (line 71) | pub fn release(&self) -> bool { method label (line 78) | pub fn label(&self) -> &'static str { type Os (line 87) | enum Os { function os (line 92) | fn os(os: Os, additional_root: &str, user: &str) -> String { function build_serai_service (line 144) | fn build_serai_service(prelude: &str, release: bool, features: &str, pac... function write_dockerfile (line 199) | pub fn write_dockerfile(path: PathBuf, dockerfile: &str) { function orchestration_path (line 208) | fn orchestration_path(network: Network) -> PathBuf { type InfrastructureKeys (line 222) | type InfrastructureKeys = function infrastructure_keys (line 224) | fn infrastructure_keys(network: Network) -> InfrastructureKeys { function dockerfiles (line 271) | fn dockerfiles(network: Network) { function key_gen (line 337) | fn key_gen(network: Network) { function start (line 356) | fn start(network: Network, services: HashSet) { function main (line 548) | fn main() { FILE: orchestration/src/message_queue.rs function message_queue (line 8) | pub fn message_queue( FILE: orchestration/src/mimalloc.rs function mimalloc (line 3) | pub fn mimalloc(os: Os) -> &'static str { FILE: orchestration/src/networks/bitcoin.rs function bitcoin (line 5) | pub fn bitcoin(orchestration_path: &Path, network: Network) { FILE: orchestration/src/networks/ethereum/consensus/lighthouse.rs function lighthouse (line 3) | pub fn lighthouse(network: Network) -> (String, String, String) { FILE: orchestration/src/networks/ethereum/consensus/nimbus.rs function nimbus (line 3) | pub fn nimbus(network: Network) -> (String, String, String) { FILE: orchestration/src/networks/ethereum/execution/anvil.rs function anvil (line 3) | pub fn anvil(network: Network) -> (String, String, String) { FILE: orchestration/src/networks/ethereum/execution/reth.rs function reth (line 3) | pub fn reth(network: Network) -> (String, String, String) { FILE: orchestration/src/networks/ethereum/mod.rs function ethereum (line 11) | pub fn ethereum(orchestration_path: &Path, network: Network) { FILE: orchestration/src/networks/monero.rs function monero_internal (line 5) | fn monero_internal( function monero (line 71) | pub fn monero(orchestration_path: &Path, network: Network) { function monero_wallet_rpc (line 75) | pub fn monero_wallet_rpc(orchestration_path: &Path) { FILE: orchestration/src/processor.rs function processor (line 11) | pub fn processor( FILE: orchestration/src/serai.rs function serai (line 9) | pub fn serai( FILE: patches/option-ext/src/lib.rs type OptionExt (line 1) | pub trait OptionExt { method contains (line 2) | fn contains(&self, x: &T) -> bool; function contains (line 5) | fn contains(&self, x: &T) -> bool { FILE: processor/messages/src/lib.rs type SubstrateContext (line 16) | pub struct SubstrateContext { type KeyGenId (line 27) | pub struct KeyGenId { type CoordinatorMessage (line 33) | pub enum CoordinatorMessage { method required_block (line 62) | pub fn required_block(&self) -> Option { method required_block (line 129) | pub fn required_block(&self) -> Option { method session (line 133) | pub fn session(&self) -> Session { method required_block (line 199) | pub fn required_block(&self) -> Option { method required_block (line 243) | pub fn required_block(&self) -> Option { method required_block (line 283) | pub fn required_block(&self) -> Option { method intent (line 330) | pub fn intent(&self) -> Vec { type ProcessorMessage (line 68) | pub enum ProcessorMessage { method intent (line 401) | pub fn intent(&self) -> Vec { type SignId (line 110) | pub struct SignId { type CoordinatorMessage (line 117) | pub enum CoordinatorMessage { method required_block (line 62) | pub fn required_block(&self) -> Option { method required_block (line 129) | pub fn required_block(&self) -> Option { method session (line 133) | pub fn session(&self) -> Session { method required_block (line 199) | pub fn required_block(&self) -> Option { method required_block (line 243) | pub fn required_block(&self) -> Option { method required_block (line 283) | pub fn required_block(&self) -> Option { method intent (line 330) | pub fn intent(&self) -> Vec { type ProcessorMessage (line 144) | pub enum ProcessorMessage { method intent (line 401) | pub fn intent(&self) -> Vec { function cosign_block_msg (line 159) | pub fn cosign_block_msg(block_number: u64, block: [u8; 32]) -> Vec { type SubstrateSignableId (line 171) | pub enum SubstrateSignableId { type SubstrateSignId (line 178) | pub struct SubstrateSignId { type CoordinatorMessage (line 185) | pub enum CoordinatorMessage { method required_block (line 62) | pub fn required_block(&self) -> Option { method required_block (line 129) | pub fn required_block(&self) -> Option { method session (line 133) | pub fn session(&self) -> Session { method required_block (line 199) | pub fn required_block(&self) -> Option { method required_block (line 243) | pub fn required_block(&self) -> Option { method required_block (line 283) | pub fn required_block(&self) -> Option { method intent (line 330) | pub fn intent(&self) -> Vec { type PlanMeta (line 205) | pub struct PlanMeta { type ProcessorMessage (line 211) | pub enum ProcessorMessage { method intent (line 401) | pub fn intent(&self) -> Vec { type CoordinatorMessage (line 228) | pub enum CoordinatorMessage { method required_block (line 62) | pub fn required_block(&self) -> Option { method required_block (line 129) | pub fn required_block(&self) -> Option { method session (line 133) | pub fn session(&self) -> Session { method required_block (line 199) | pub fn required_block(&self) -> Option { method required_block (line 243) | pub fn required_block(&self) -> Option { method required_block (line 283) | pub fn required_block(&self) -> Option { method intent (line 330) | pub fn intent(&self) -> Vec { type ProcessorMessage (line 253) | pub enum ProcessorMessage { method intent (line 401) | pub fn intent(&self) -> Vec { type CoordinatorMessage (line 270) | pub enum CoordinatorMessage { method required_block (line 62) | pub fn required_block(&self) -> Option { method required_block (line 129) | pub fn required_block(&self) -> Option { method session (line 133) | pub fn session(&self) -> Session { method required_block (line 199) | pub fn required_block(&self) -> Option { method required_block (line 243) | pub fn required_block(&self) -> Option { method required_block (line 283) | pub fn required_block(&self) -> Option { method intent (line 330) | pub fn intent(&self) -> Vec { type ProcessorMessage (line 301) | pub enum ProcessorMessage { method intent (line 401) | pub fn intent(&self) -> Vec { constant COORDINATOR_UID (line 315) | const COORDINATOR_UID: u8 = 0; constant PROCESSOR_UID (line 316) | const PROCESSOR_UID: u8 = 1; constant TYPE_KEY_GEN_UID (line 318) | const TYPE_KEY_GEN_UID: u8 = 2; constant TYPE_SIGN_UID (line 319) | const TYPE_SIGN_UID: u8 = 3; constant TYPE_COORDINATOR_UID (line 320) | const TYPE_COORDINATOR_UID: u8 = 4; constant TYPE_SUBSTRATE_UID (line 321) | const TYPE_SUBSTRATE_UID: u8 = 5; FILE: processor/src/additional_key.rs function additional_key (line 9) | pub fn additional_key(k: u64) -> ::F { FILE: processor/src/batch_signer.rs type Preprocess (line 36) | type Preprocess = as Preprocess... type SignatureShare (line 37) | type SignatureShare = as Si... type BatchSigner (line 41) | pub struct BatchSigner { function fmt (line 57) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { function new (line 67) | pub fn new( function verify_id (line 87) | fn verify_id(&self, id: &SubstrateSignId) -> Result<(Session, u32, u32),... function attempt (line 114) | fn attempt( function sign (line 192) | pub fn sign(&mut self, txn: &mut D::Transaction<'_>, batch: Batch) -> Op... function handle (line 206) | pub fn handle( function batch_signed (line 402) | pub fn batch_signed(&mut self, txn: &mut D::Transaction<'_>, id: u32) { FILE: processor/src/coordinator.rs type Message (line 6) | pub struct Message { type Coordinator (line 12) | pub trait Coordinator { method send (line 13) | async fn send(&mut self, msg: impl Send + Into); method recv (line 14) | async fn recv(&mut self) -> Message; method ack (line 15) | async fn ack(&mut self, msg: Message); method send (line 20) | async fn send(&mut self, msg: impl Send + Into) { method recv (line 28) | async fn recv(&mut self) -> Message { method ack (line 40) | async fn ack(&mut self, msg: Message) { FILE: processor/src/cosigner.rs type Preprocess (line 31) | type Preprocess = as Preprocess... type SignatureShare (line 32) | type SignatureShare = as Si... type Cosigner (line 36) | pub struct Cosigner { method fmt (line 50) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { method new (line 64) | pub fn new( method handle (line 117) | pub fn handle( FILE: processor/src/db.rs method pending_activation (line 18) | pub fn pending_activation( method set_pending_activation (line 33) | pub fn set_pending_activation( FILE: processor/src/key_gen.rs type KeyConfirmed (line 24) | pub struct KeyConfirmed { method read_keys (line 47) | fn read_keys( method save_keys (line 65) | fn save_keys( method confirm_keys (line 88) | fn confirm_keys( method keys (line 113) | fn keys( method substrate_keys_by_session (line 123) | pub fn substrate_keys_by_session( type SecretShareMachines (line 132) | type SecretShareMachines = type KeyMachines (line 134) | type KeyMachines = Vec<(KeyMachine, KeyMachine< { function new (line 148) | pub fn new(db: D, entropy: Zeroizing<[u8; 32]>) -> KeyGen { function in_set (line 152) | pub fn in_set(&self, session: &Session) -> bool { function keys (line 161) | pub fn keys( function substrate_keys_by_session (line 170) | pub fn substrate_keys_by_session( function handle (line 177) | pub fn handle( function confirm (line 570) | pub fn confirm( FILE: processor/src/main.rs type TributaryMutable (line 76) | struct TributaryMutable { type SubstrateMutable (line 137) | type SubstrateMutable = MultisigManager; function handle_coordinator_msg (line 139) | async fn handle_coordinator_msg( function boot (line 483) | async fn boot( function run (line 582) | async fn run(mut raw_db: D, network:... function main (line 700) | async fn main() { FILE: processor/src/multisigs/db.rs type PlanFromScanning (line 19) | pub enum PlanFromScanning { function read (line 25) | fn read(reader: &mut R) -> io::Result { function write (line 49) | fn write(&self, writer: &mut W) -> io::Result<()> { method save_active_plan (line 82) | pub fn save_active_plan( method active_plans (line 114) | pub fn active_plans(getter: &impl Get, key: &[u8]) -> Vec<(u... method plan_by_key_with_self_change (line 132) | pub fn plan_by_key_with_self_change( method take_operating_costs (line 148) | pub fn take_operating_costs(txn: &mut impl DbTxn) -> u64 { method set_operating_costs (line 153) | pub fn set_operating_costs(txn: &mut impl DbTxn, amount: u64) { method resolve_plan (line 161) | pub fn resolve_plan( method set_plans_from_scanning (line 190) | pub fn set_plans_from_scanning( method take_plans_from_scanning (line 202) | pub fn take_plans_from_scanning( method save_forwarded_output (line 223) | pub fn save_forwarded_output(txn: &mut impl DbTxn, instruction: &InInstr... method take_forwarded_output (line 229) | pub fn take_forwarded_output( method save_delayed_output (line 247) | pub fn save_delayed_output(txn: &mut impl DbTxn, instruction: &InInstruc... method take_delayed_outputs (line 253) | pub fn take_delayed_outputs(txn: &mut impl DbTxn) -> Vec( type RotationStep (line 96) | enum RotationStep { function prepare_send (line 110) | async fn prepare_send( type MultisigViewer (line 134) | pub struct MultisigViewer { type MultisigEvent (line 142) | pub enum MultisigEvent { type MultisigManager (line 149) | pub struct MultisigManager { function new (line 156) | pub async fn new( function block_number (line 221) | pub async fn block_number( function add_key (line 237) | pub async fn add_key( function current_rotation_step (line 257) | fn current_rotation_step(&self, block_number: usize) -> RotationStep { function burns_to_payments (line 295) | fn burns_to_payments( function split_outputs_by_key (line 326) | fn split_outputs_by_key(&self, outputs: Vec) -> (Vec, output: &N::Out... function filter_outputs_due_to_closing (line 374) | fn filter_outputs_due_to_closing( function plans_from_block (line 558) | async fn plans_from_block( function substrate_block (line 693) | pub async fn substrate_block( function release_scanner_lock (line 800) | pub async fn release_scanner_lock(&mut self) { function scanner_event_to_multisig_event (line 804) | pub async fn scanner_event_to_multisig_event( function next_scanner_event (line 1065) | pub async fn next_scanner_event(&mut self) -> ScannerEvent { FILE: processor/src/multisigs/scanner.rs type ScannerEvent (line 24) | pub enum ScannerEvent { type ScannerEventChannel (line 42) | pub type ScannerEventChannel = mpsc::UnboundedReceiver>; type ScannerDb (line 45) | struct ScannerDb(PhantomData, PhantomData); function scanner_key (line 47) | fn scanner_key(dst: &'static [u8], key: impl AsRef<[u8]>) -> Vec { function block_key (line 51) | fn block_key(number: usize) -> Vec { function block_number_key (line 54) | fn block_number_key(id: &>::Id) -> Vec { function save_block (line 57) | fn save_block(txn: &mut D::Transaction<'_>, number: usize, id: &(getter: &G, number: usize) -> Option<(getter: &G, id: &>::Id) -> ... function keys_key (line 74) | fn keys_key() -> Vec { function register_key (line 77) | fn register_key( function keys (line 102) | fn keys(getter: &G) -> Vec<(usize, ::G)> { function retire_key (line 120) | fn retire_key(txn: &mut D::Transaction<'_>) { function seen_key (line 127) | fn seen_key(id: &>::Id) -> Vec { function seen (line 130) | fn seen(getter: &G, id: &>::Id) -> bool { function outputs_key (line 134) | fn outputs_key(block: &>::Id) -> Vec { function save_outputs (line 137) | fn save_outputs( function outputs (line 148) | fn outputs( function scanned_block_key (line 162) | fn scanned_block_key() -> Vec { function save_scanned_block (line 166) | fn save_scanned_block(txn: &mut D::Transaction<'_>, block: usize) -> Vec... function latest_scanned_block (line 181) | fn latest_scanned_block(getter: &G) -> Option { function retirement_block_key (line 187) | fn retirement_block_key(key: &::G) -> Vec { function save_retirement_block (line 190) | fn save_retirement_block( function retirement_block (line 197) | fn retirement_block(getter: &G, key: &:... type Scanner (line 210) | pub struct Scanner { type ScannerHold (line 226) | struct ScannerHold { function read (line 230) | async fn read(&self) -> RwLockReadGuard<'_, Option>> { function write (line 241) | async fn write(&self) -> RwLockWriteGuard<'_, Option>> { function long_term_acquire (line 254) | async fn long_term_acquire(&self) -> Scanner { function restore (line 257) | async fn restore(&self, scanner: Scanner) { type ScannerHandle (line 263) | pub struct ScannerHandle { function ram_scanned (line 271) | pub async fn ram_scanned(&self) -> usize { function register_key (line 276) | pub async fn register_key( function db_scanned (line 305) | pub fn db_scanned(getter: &G) -> Option { function block_number (line 312) | pub fn block_number(getter: &G, id: &>::Id)... function ack_block (line 322) | pub async fn ack_block( function register_eventuality (line 357) | pub async fn register_eventuality( function release_lock (line 378) | pub async fn release_lock(&mut self) { function new (line 385) | pub fn new( function emit (line 429) | fn emit(&mut self, event: ScannerEvent) -> bool { function run (line 438) | async fn run( FILE: processor/src/multisigs/scheduler/mod.rs type SchedulerAddendum (line 13) | pub trait SchedulerAddendum: Send + Clone + PartialEq + Debug { method read (line 14) | fn read(reader: &mut R) -> io::Result; method write (line 15) | fn write(&self, writer: &mut W) -> io::Result<()>; method read (line 19) | fn read(_: &mut R) -> io::Result { method write (line 22) | fn write(&self, _: &mut W) -> io::Result<()> { type Scheduler (line 27) | pub trait Scheduler: Sized + Clone + PartialEq + Debug { method empty (line 31) | fn empty(&self) -> bool; method new (line 34) | fn new( method from_db (line 41) | fn from_db( method can_use_branch (line 48) | fn can_use_branch(&self, balance: ExternalBalance) -> bool; method schedule (line 51) | fn schedule( method consume_payments (line 62) | fn consume_payments(&mut self, txn: &mut D::Transaction<'_>) ->... method created_output (line 66) | fn created_output( method refund_plan (line 74) | fn refund_plan( method shim_forward_plan (line 85) | fn shim_forward_plan(output: N::Output, to: :... method forward_plan (line 90) | fn forward_plan( FILE: processor/src/multisigs/scheduler/smart_contract.rs type Scheduler (line 14) | pub struct Scheduler { type Addendum (line 21) | pub enum Addendum { method read (line 27) | fn read(reader: &mut R) -> io::Result { method write (line 47) | fn write(&self, writer: &mut W) -> io::Result<()> { type Addendum (line 70) | type Addendum = Addendum; function empty (line 73) | fn empty(&self) -> bool { function new (line 78) | fn new( function from_db (line 91) | fn from_db( function can_use_branch (line 103) | fn can_use_branch(&self, _balance: ExternalBalance) -> bool { function schedule (line 107) | fn schedule( function consume_payments (line 158) | fn consume_payments(&mut self, _txn: &mut D::Transaction<'_>) -> ... function created_output (line 162) | fn created_output( function refund_plan (line 172) | fn refund_plan( function shim_forward_plan (line 193) | fn shim_forward_plan(_output: N::Output, _to: :... function forward_plan (line 200) | fn forward_plan( FILE: processor/src/multisigs/scheduler/utxo.rs type Scheduler (line 18) | pub struct Scheduler { function scheduler_key (line 46) | fn scheduler_key(key: &G) -> Vec { function empty (line 51) | pub fn empty(&self) -> bool { function read (line 58) | fn read( function serialize (line 112) | fn serialize(&self) -> Vec { function new (line 145) | pub fn new( function from_db (line 173) | pub fn from_db( function can_use_branch (line 193) | pub fn can_use_branch(&self, balance: ExternalBalance) -> bool { function execute (line 198) | fn execute( function add_outputs (line 266) | fn add_outputs( function schedule (line 303) | pub fn schedule( function consume_payments (line 453) | pub fn consume_payments(&mut self, txn: &mut D::Transaction<'_>) ... function created_output (line 463) | pub fn created_output( type Addendum (line 528) | type Addendum = (); function empty (line 531) | fn empty(&self) -> bool { function new (line 536) | fn new( function from_db (line 545) | fn from_db( function can_use_branch (line 554) | fn can_use_branch(&self, balance: ExternalBalance) -> bool { function schedule (line 559) | fn schedule( function consume_payments (line 571) | fn consume_payments(&mut self, txn: &mut D::Transaction<'_>) -> V... function created_output (line 578) | fn created_output( function refund_plan (line 587) | fn refund_plan( function shim_forward_plan (line 607) | fn shim_forward_plan(output: N::Output, to: ::G... function forward_plan (line 621) | fn forward_plan( FILE: processor/src/networks/bitcoin.rs type OutputId (line 60) | pub struct OutputId(pub [u8; 36]); method as_ref (line 67) | fn as_ref(&self) -> &[u8] { method as_mut (line 72) | fn as_mut(&mut self) -> &mut [u8] { method default (line 62) | fn default() -> Self { type Output (line 78) | pub struct Output { type Id (line 86) | type Id = OutputId; method kind (line 88) | fn kind(&self) -> OutputType { method id (line 92) | fn id(&self) -> Self::Id { method tx_id (line 106) | fn tx_id(&self) -> [u8; 32] { method key (line 112) | fn key(&self) -> ProjectivePoint { method presumed_origin (line 124) | fn presumed_origin(&self) -> Option
{ method balance (line 128) | fn balance(&self) -> ExternalBalance { method data (line 132) | fn data(&self) -> &[u8] { method write (line 136) | fn write(&self, writer: &mut W) -> io::Result<()> { method read (line 145) | fn read(mut reader: &mut R) -> io::Result { type Fee (line 170) | pub struct Fee(u64); type Id (line 174) | type Id = [u8; 32]; method id (line 175) | fn id(&self) -> Self::Id { method fee (line 182) | async fn fee(&self, network: &Bitcoin) -> u64 { type Eventuality (line 201) | pub struct Eventuality([u8; 32]); type EmptyClaim (line 204) | pub struct EmptyClaim; method as_ref (line 206) | fn as_ref(&self) -> &[u8] { method as_mut (line 211) | fn as_mut(&mut self) -> &mut [u8] { type Claim (line 217) | type Claim = EmptyClaim; type Completion (line 218) | type Completion = Transaction; method lookup (line 220) | fn lookup(&self) -> Vec { method read (line 224) | fn read(reader: &mut R) -> io::Result { method serialize (line 231) | fn serialize(&self) -> Vec { method claim (line 235) | fn claim(_: &Transaction) -> EmptyClaim { method serialize_completion (line 238) | fn serialize_completion(completion: &Transaction) -> Vec { method read_completion (line 243) | fn read_completion(reader: &mut R) -> io::Result bool { method fee (line 260) | fn fee(&self) -> u64 { type Id (line 267) | type Id = [u8; 32]; method id (line 268) | fn id(&self) -> Self::Id { method parent (line 274) | fn parent(&self) -> Self::Id { method time (line 280) | async fn time(&self, rpc: &Bitcoin) -> u64 { constant KEY_DST (line 308) | const KEY_DST: &[u8] = b"Serai Bitcoin Output Offset"; function scanner (line 314) | fn scanner( type Bitcoin (line 350) | pub struct Bitcoin { method new (line 363) | pub async fn new(url: String) -> Bitcoin { method fresh_chain (line 374) | pub async fn fresh_chain(&self) { method median_fee (line 388) | async fn median_fee(&self, block: &Block) -> Result { method make_signable_transaction (line 417) | async fn make_signable_transaction( method segwit_data_pattern (line 474) | fn segwit_data_pattern(script: &ScriptBuf) -> Option { method extract_serai_data (line 493) | fn extract_serai_data(tx: &Transaction) -> Vec { method sign_btc_input_for_p2pkh (line 527) | pub fn sign_btc_input_for_p2pkh( method eq (line 356) | fn eq(&self, _: &Self) -> bool { constant MAX_INPUTS (line 575) | const MAX_INPUTS: usize = 520; constant MAX_OUTPUTS (line 576) | const MAX_OUTPUTS: usize = 520; function address_from_key (line 578) | fn address_from_key(key: ProjectivePoint) -> Address { type Curve (line 587) | type Curve = Secp256k1; type Transaction (line 589) | type Transaction = Transaction; type Block (line 590) | type Block = Block; type Output (line 592) | type Output = Output; type SignableTransaction (line 593) | type SignableTransaction = SignableTransaction; type Eventuality (line 594) | type Eventuality = Eventuality; type TransactionMachine (line 595) | type TransactionMachine = TransactionMachine; type Scheduler (line 597) | type Scheduler = Scheduler; type Address (line 599) | type Address = Address; constant NETWORK (line 601) | const NETWORK: ExternalNetworkId = ExternalNetworkId::Bitcoin; constant ID (line 602) | const ID: &'static str = "Bitcoin"; constant ESTIMATED_BLOCK_TIME_IN_SECONDS (line 603) | const ESTIMATED_BLOCK_TIME_IN_SECONDS: usize = 600; constant CONFIRMATIONS (line 604) | const CONFIRMATIONS: usize = 6; constant DUST (line 638) | const DUST: u64 = 10_000; constant COST_TO_AGGREGATE (line 646) | const COST_TO_AGGREGATE: u64 = 800; constant MAX_OUTPUTS (line 648) | const MAX_OUTPUTS: usize = MAX_OUTPUTS; method tweak_keys (line 650) | fn tweak_keys(keys: &mut ThresholdKeys) { method external_address (line 657) | async fn external_address(&self, key: ProjectivePoint) -> Address { method branch_address (line 661) | fn branch_address(key: ProjectivePoint) -> Option
{ method change_address (line 666) | fn change_address(key: ProjectivePoint) -> Option
{ method forward_address (line 671) | fn forward_address(key: ProjectivePoint) -> Option
{ method get_latest_block_number (line 676) | async fn get_latest_block_number(&self) -> Result { method get_block (line 680) | async fn get_block(&self, number: usize) -> Result Result<(), Netwo... method confirm_completion (line 855) | async fn confirm_completion( method get_block_number (line 866) | async fn get_block_number(&self, id: &[u8; 32]) -> usize { method check_eventuality_by_claim (line 871) | async fn check_eventuality_by_claim( method get_transaction_by_eventuality (line 880) | async fn get_transaction_by_eventuality(&self, _: usize, id: &Eventualit... method mine_block (line 885) | async fn mine_block(&self) { method test_send (line 899) | async fn test_send(&self, address: Address) -> Block { constant MAX_INPUTS (line 941) | const MAX_INPUTS: usize = MAX_INPUTS; FILE: processor/src/networks/ethereum.rs constant DAI (line 62) | const DAI: [u8; 20] = constant DAI (line 68) | const DAI: [u8; 20] = function coin_to_serai_coin (line 74) | fn coin_to_serai_coin(coin: &EthereumCoin) -> Option { function amount_to_serai_amount (line 86) | fn amount_to_serai_amount(coin: ExternalCoin, amount: U256) -> Amount { function balance_to_ethereum_amount (line 95) | fn balance_to_ethereum_amount(balance: ExternalBalance) -> U256 { type Address (line 104) | pub struct Address(pub [u8; 20]); type Error (line 106) | type Error = (); method try_from (line 107) | fn try_from(bytes: Vec) -> Result { type Error (line 117) | type Error = (); method try_into (line 118) | fn try_into(self) -> Result, ()> { method fmt (line 124) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fee (line 130) | fn fee(&self) -> u64 { type Id (line 138) | type Id = [u8; 32]; method id (line 139) | fn id(&self) -> Self::Id { method fee (line 144) | async fn fee(&self, _network: &Ethereum) -> u64 { type Epoch (line 152) | pub struct Epoch { method end (line 164) | fn end(&self) -> u64 { type Id (line 171) | type Id = [u8; 32]; method id (line 172) | fn id(&self) -> [u8; 32] { method parent (line 175) | fn parent(&self) -> [u8; 32] { method time (line 178) | async fn time(&self, _: &Ethereum) -> u64 { type Id (line 184) | type Id = [u8; 32]; method kind (line 186) | fn kind(&self) -> OutputType { method id (line 190) | fn id(&self) -> Self::Id { method tx_id (line 196) | fn tx_id(&self) -> [u8; 32] { method key (line 199) | fn key(&self) -> ::G { method presumed_origin (line 203) | fn presumed_origin(&self) -> Option
{ method balance (line 207) | fn balance(&self) -> ExternalBalance { method data (line 216) | fn data(&self) -> &[u8] { method write (line 220) | fn write(&self, writer: &mut W) -> io::Result<()> { method read (line 223) | fn read(reader: &mut R) -> io::Result { type Claim (line 229) | pub struct Claim { method as_ref (line 233) | fn as_ref(&self) -> &[u8] { method as_mut (line 238) | fn as_mut(&mut self) -> &mut [u8] { method from (line 248) | fn from(sig: &Signature) -> Self { method default (line 243) | fn default() -> Self { type Eventuality (line 254) | pub struct Eventuality(PublicKey, RouterCommand); type Claim (line 256) | type Claim = Claim; type Completion (line 257) | type Completion = SignedRouterCommand; method lookup (line 259) | fn lookup(&self) -> Vec { method read (line 267) | fn read(reader: &mut R) -> io::Result { method serialize (line 275) | fn serialize(&self) -> Vec { method claim (line 282) | fn claim(completion: &Self::Completion) -> Self::Claim { method serialize_completion (line 285) | fn serialize_completion(completion: &Self::Completion) -> Vec { method read_completion (line 290) | fn read_completion(reader: &mut R) -> io::Result { method eq (line 308) | fn eq(&self, _other: &Ethereum) -> bool { function fmt (line 313) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { function new (line 322) | pub async fn new(db: D, daemon_url: String, relayer_url: String) -> Self { function router (line 342) | pub async fn router(&self) -> RwLockReadGuard<'_, Option> { type Curve (line 386) | type Curve = Secp256k1; type Transaction (line 388) | type Transaction = Transaction; type Block (line 389) | type Block = Epoch; type Output (line 391) | type Output = EthereumInInstruction; type SignableTransaction (line 392) | type SignableTransaction = RouterCommand; type Eventuality (line 393) | type Eventuality = Eventuality; type TransactionMachine (line 394) | type TransactionMachine = RouterCommandMachine; type Scheduler (line 396) | type Scheduler = Scheduler; type Address (line 398) | type Address = Address; constant NETWORK (line 400) | const NETWORK: ExternalNetworkId = ExternalNetworkId::Ethereum; constant ID (line 401) | const ID: &'static str = "Ethereum"; constant ESTIMATED_BLOCK_TIME_IN_SECONDS (line 402) | const ESTIMATED_BLOCK_TIME_IN_SECONDS: usize = 32 * 12; constant CONFIRMATIONS (line 403) | const CONFIRMATIONS: usize = 1; constant DUST (line 405) | const DUST: u64 = 0; constant COST_TO_AGGREGATE (line 407) | const COST_TO_AGGREGATE: u64 = 0; constant MAX_OUTPUTS (line 410) | const MAX_OUTPUTS: usize = 256; method tweak_keys (line 412) | fn tweak_keys(keys: &mut ThresholdKeys) { method external_address (line 419) | async fn external_address(&self, _key: ::G) ->... method branch_address (line 423) | fn branch_address(_key: ::G) -> Option
{ method change_address (line 427) | fn change_address(_key: ::G) -> Option
{ method forward_address (line 431) | fn forward_address(_key: ::G) -> Option Result { method get_block (line 453) | async fn get_block(&self, number: usize) -> Result>::Id) ... method check_eventuality_by_claim (line 822) | async fn check_eventuality_by_claim( method get_transaction_by_eventuality (line 831) | async fn get_transaction_by_eventuality( method mine_block (line 883) | async fn mine_block(&self) { method test_send (line 888) | async fn test_send(&self, send_to: Self::Address) -> Self::Block { FILE: processor/src/networks/mod.rs type NetworkError (line 37) | pub enum NetworkError { type Id (line 42) | pub trait Id: type OutputType (line 49) | pub enum OutputType { method write (line 85) | fn write(&self, writer: &mut W) -> io::Result<()> { method read (line 94) | fn read(reader: &mut R) -> io::Result { type Output (line 107) | pub trait Output: Send + Sync + Sized + Clone + PartialEq + ... method kind (line 110) | fn kind(&self) -> OutputType; method id (line 112) | fn id(&self) -> Self::Id; method tx_id (line 113) | fn tx_id(&self) -> >::Id; method key (line 114) | fn key(&self) -> ::G; method presumed_origin (line 116) | fn presumed_origin(&self) -> Option; method balance (line 118) | fn balance(&self) -> ExternalBalance; method data (line 119) | fn data(&self) -> &[u8]; method write (line 121) | fn write(&self, writer: &mut W) -> io::Result<()>; method read (line 122) | fn read(reader: &mut R) -> io::Result; type Transaction (line 126) | pub trait Transaction: Send + Sync + Sized + Clone + Partial... method id (line 128) | fn id(&self) -> Self::Id; method fee (line 131) | async fn fee(&self, network: &N) -> u64; type SignableTransaction (line 134) | pub trait SignableTransaction: Send + Sync + Clone + Debug { method fee (line 136) | fn fee(&self) -> u64; type Eventuality (line 139) | pub trait Eventuality: Send + Sync + Clone + PartialEq + Debug { method lookup (line 143) | fn lookup(&self) -> Vec; method read (line 145) | fn read(reader: &mut R) -> io::Result; method serialize (line 146) | fn serialize(&self) -> Vec; method claim (line 148) | fn claim(completion: &Self::Completion) -> Self::Claim; method serialize_completion (line 151) | fn serialize_completion(completion: &Self::Completion) -> Vec; method read_completion (line 152) | fn read_completion(reader: &mut R) -> io::Result { function new (line 164) | pub fn new() -> Self { function register (line 168) | pub fn register(&mut self, block_number: usize, id: [u8; 32], eventualit... function drop (line 180) | pub fn drop(&mut self, id: [u8; 32]) { method default (line 197) | fn default() -> Self { type Block (line 203) | pub trait Block: Send + Sync + Sized + Clone + Debug { method id (line 206) | fn id(&self) -> Self::Id; method parent (line 207) | fn parent(&self) -> Self::Id; method time (line 211) | async fn time(&self, rpc: &N) -> u64; type PostFeeBranch (line 215) | pub struct PostFeeBranch { function drop_branches (line 221) | fn drop_branches( type PreparedSend (line 234) | pub struct PreparedSend { type Network (line 243) | pub trait Network: 'static + Send + Sync + Clone + PartialEq + Debug { constant NETWORK (line 283) | const NETWORK: ExternalNetworkId; constant ID (line 285) | const ID: &'static str; constant ESTIMATED_BLOCK_TIME_IN_SECONDS (line 287) | const ESTIMATED_BLOCK_TIME_IN_SECONDS: usize; constant CONFIRMATIONS (line 289) | const CONFIRMATIONS: usize; constant MAX_OUTPUTS (line 293) | const MAX_OUTPUTS: usize; constant DUST (line 301) | const DUST: u64; constant COST_TO_AGGREGATE (line 304) | const COST_TO_AGGREGATE: u64; method tweak_keys (line 307) | fn tweak_keys(key: &mut ThresholdKeys); method external_address (line 311) | async fn external_address(&self, key: ::G)... method branch_address (line 313) | fn branch_address(key: ::G) -> Option::G) -> Option::G) -> Option Result; method get_block (line 324) | async fn get_block(&self, number: usize) -> Result usize { method get_block_with_retries (line 344) | async fn get_block_with_retries(&self, block_number: usize) -> Self::B... method get_outputs (line 359) | async fn get_outputs( method get_eventuality_completions (line 375) | async fn get_eventuality_completions( method needed_fee (line 391) | async fn needed_fee( method signable_transaction (line 410) | async fn signable_transaction( method prepare_send (line 424) | async fn prepare_send( method attempt_sign (line 598) | async fn attempt_sign( method publish_completion (line 605) | async fn publish_completion( method confirm_completion (line 615) | async fn confirm_completion( method get_block_number (line 623) | async fn get_block_number(&self, id: &>::Id... method check_eventuality_by_claim (line 627) | async fn check_eventuality_by_claim( method get_transaction_by_eventuality (line 635) | async fn get_transaction_by_eventuality( method mine_block (line 642) | async fn mine_block(&self); method test_send (line 647) | async fn test_send(&self, key: Self::Address) -> Self::Block; type UtxoNetwork (line 650) | pub trait UtxoNetwork: Network { constant MAX_INPUTS (line 654) | const MAX_INPUTS: usize; FILE: processor/src/networks/monero.rs type Output (line 49) | pub struct Output(WalletOutput); type Id (line 60) | type Id = [u8; 32]; method kind (line 62) | fn kind(&self) -> OutputType { method id (line 72) | fn id(&self) -> Self::Id { method tx_id (line 76) | fn tx_id(&self) -> [u8; 32] { method key (line 80) | fn key(&self) -> EdwardsPoint { method presumed_origin (line 84) | fn presumed_origin(&self) -> Option
{ method balance (line 88) | fn balance(&self) -> ExternalBalance { method data (line 92) | fn data(&self) -> &[u8] { method write (line 102) | fn write(&self, writer: &mut W) -> io::Result<()> { method read (line 107) | fn read(reader: &mut R) -> io::Result { constant EXTERNAL_SUBADDRESS (line 51) | const EXTERNAL_SUBADDRESS: Option = SubaddressIndex::ne... constant BRANCH_SUBADDRESS (line 52) | const BRANCH_SUBADDRESS: Option = SubaddressIndex::new(... constant CHANGE_SUBADDRESS (line 53) | const CHANGE_SUBADDRESS: Option = SubaddressIndex::new(... constant FORWARD_SUBADDRESS (line 54) | const FORWARD_SUBADDRESS: Option = SubaddressIndex::new... type Id (line 115) | type Id = [u8; 32]; method id (line 116) | fn id(&self) -> Self::Id { method fee (line 121) | async fn fee(&self, _: &Monero) -> u64 { type Claim (line 130) | type Claim = [u8; 32]; type Completion (line 131) | type Completion = Transaction; method lookup (line 137) | fn lookup(&self) -> Vec { method read (line 141) | fn read(reader: &mut R) -> io::Result { method serialize (line 144) | fn serialize(&self) -> Vec { method claim (line 148) | fn claim(tx: &Transaction) -> [u8; 32] { method serialize_completion (line 151) | fn serialize_completion(completion: &Transaction) -> Vec { method read_completion (line 154) | fn read_completion(reader: &mut R) -> io::Result u64 { type Id (line 169) | type Id = [u8; 32]; method id (line 170) | fn id(&self) -> Self::Id { method parent (line 174) | fn parent(&self) -> Self::Id { method time (line 178) | async fn time(&self, rpc: &Monero) -> u64 { type Monero (line 226) | pub struct Monero { method new (line 254) | pub async fn new(url: String) -> Monero { method view_pair (line 264) | fn view_pair(spend: EdwardsPoint) -> GuaranteedViewPair { method address_internal (line 268) | fn address_internal(spend: EdwardsPoint, subaddress: Option GuaranteedScanner { method median_fee (line 281) | async fn median_fee(&self, block: &Block) -> Result ViewPair { method test_scanner (line 450) | fn test_scanner() -> Scanner { method test_address (line 455) | fn test_address() -> Address { method eq (line 232) | fn eq(&self, _: &Self) -> bool { function map_rpc_err (line 239) | fn map_rpc_err(err: RpcError) -> NetworkError { type MakeSignableTransactionResult (line 248) | enum MakeSignableTransactionResult { type Curve (line 462) | type Curve = Ed25519; type Transaction (line 464) | type Transaction = Transaction; type Block (line 465) | type Block = Block; type Output (line 467) | type Output = Output; type SignableTransaction (line 468) | type SignableTransaction = SignableTransaction; type Eventuality (line 469) | type Eventuality = Eventuality; type TransactionMachine (line 470) | type TransactionMachine = TransactionMachine; type Scheduler (line 472) | type Scheduler = Scheduler; type Address (line 474) | type Address = Address; constant NETWORK (line 476) | const NETWORK: ExternalNetworkId = ExternalNetworkId::Monero; constant ID (line 477) | const ID: &'static str = "Monero"; constant ESTIMATED_BLOCK_TIME_IN_SECONDS (line 478) | const ESTIMATED_BLOCK_TIME_IN_SECONDS: usize = 120; constant CONFIRMATIONS (line 479) | const CONFIRMATIONS: usize = 10; constant MAX_OUTPUTS (line 481) | const MAX_OUTPUTS: usize = 16; constant DUST (line 484) | const DUST: u64 = 10000000000; constant COST_TO_AGGREGATE (line 487) | const COST_TO_AGGREGATE: u64 = 0; method tweak_keys (line 490) | fn tweak_keys(_: &mut ThresholdKeys) {} method external_address (line 493) | async fn external_address(&self, key: EdwardsPoint) -> Address { method branch_address (line 497) | fn branch_address(key: EdwardsPoint) -> Option
{ method change_address (line 501) | fn change_address(key: EdwardsPoint) -> Option
{ method forward_address (line 505) | fn forward_address(key: EdwardsPoint) -> Option
{ method get_latest_block_number (line 509) | async fn get_latest_block_number(&self) -> Result { method get_block (line 514) | async fn get_block(&self, number: usize) -> Result Vec Result<(), Netwo... method confirm_completion (line 688) | async fn confirm_completion( method get_block_number (line 702) | async fn get_block_number(&self, id: &[u8; 32]) -> usize { method check_eventuality_by_claim (line 707) | async fn check_eventuality_by_claim( method get_transaction_by_eventuality (line 716) | async fn get_transaction_by_eventuality( method mine_block (line 732) | async fn mine_block(&self) { method test_send (line 739) | async fn test_send(&self, address: Address) -> Block { constant MAX_INPUTS (line 809) | const MAX_INPUTS: usize = 120; FILE: processor/src/plan.rs type Payment (line 17) | pub struct Payment { function transcript (line 24) | pub fn transcript(&self, transcript: &mut T) { function write (line 34) | pub fn write(&self, writer: &mut W) -> io::Result<()> { function read (line 53) | pub fn read(reader: &mut R) -> io::Result { type Plan (line 80) | pub struct Plan { function fmt (line 103) | fn fmt(&self, fmt: &mut core::fmt::Formatter<'_>) -> Result<(), core::fm... function transcript (line 116) | pub fn transcript(&self) -> RecommendedTranscript { function id (line 143) | pub fn id(&self) -> [u8; 32] { function write (line 150) | pub fn write(&self, writer: &mut W) -> io::Result<()> { function read (line 180) | pub fn read(reader: &mut R) -> io::Result { FILE: processor/src/signer.rs method add_active_sign (line 34) | fn add_active_sign(txn: &mut impl DbTxn, id: &[u8; 32]) { method complete_on_chain (line 45) | fn complete_on_chain(txn: &mut impl DbTxn, id: &[u8; 32]) { method completions (line 58) | fn completions( method complete (line 83) | fn complete( method save_eventuality (line 119) | fn save_eventuality( method eventuality (line 127) | fn eventuality(getter: &impl Get, id: [u8; 32]) -> Option( method completion (line 142) | fn completion( type PreprocessFor (line 151) | type PreprocessFor = <::TransactionMachine as Preproces... type SignMachineFor (line 152) | type SignMachineFor = <::TransactionMachine as Preproce... type SignatureShareFor (line 153) | type SignatureShareFor = as SignMachine< type SignatureMachineFor (line 156) | type SignatureMachineFor = as SignMachine< type Signer (line 160) | pub struct Signer { function fmt (line 177) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { function rebroadcast_task (line 190) | pub async fn rebroadcast_task(db: D, network: N) { function new (line 206) | pub fn new(network: N, session: Session, keys: Vec Result<(), ()> { function already_completed (line 254) | fn already_completed(txn: &mut D::Transaction<'_>, id: [u8; 32]) -> bool { function complete (line 268) | fn complete( function completed (line 289) | pub fn completed( function claimed_eventuality_completion (line 311) | async fn claimed_eventuality_completion( function attempt (line 365) | async fn attempt( function sign_transaction (line 456) | pub async fn sign_transaction( function handle (line 478) | pub async fn handle( FILE: processor/src/slash_report_signer.rs type Preprocess (line 35) | type Preprocess = as Preprocess... type SignatureShare (line 36) | type SignatureShare = as Si... type SlashReportSigner (line 40) | pub struct SlashReportSigner { method fmt (line 54) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { method new (line 67) | pub fn new( method handle (line 119) | pub fn handle( FILE: processor/src/tests/addresses.rs function spend (line 24) | async fn spend( function test_addresses (line 85) | pub async fn test_addresses( FILE: processor/src/tests/batch_signer.rs function test_batch_signer (line 27) | fn test_batch_signer() { FILE: processor/src/tests/cosigner.rs function test_cosigner (line 22) | fn test_cosigner() { FILE: processor/src/tests/key_gen.rs constant ID (line 21) | const ID: KeyGenId = KeyGenId { session: Session(1), attempt: 3 }; function test_key_gen (line 23) | pub fn test_key_gen() { FILE: processor/src/tests/literal/mod.rs function test_dust_constant (line 46) | fn test_dust_constant() { function test_receive_data_from_input (line 57) | fn test_receive_data_from_input() { function spawn_bitcoin (line 194) | fn spawn_bitcoin() -> DockerTest { function bitcoin (line 213) | async fn bitcoin( function spawn_monero (line 241) | fn spawn_monero() -> DockerTest { function monero (line 260) | async fn monero( function spawn_ethereum (line 296) | fn spawn_ethereum() -> DockerTest { function ethereum (line 315) | async fn ethereum( FILE: processor/src/tests/mod.rs function init_logger (line 19) | fn init_logger() { FILE: processor/src/tests/scanner.rs function new_scanner (line 20) | pub async fn new_scanner( function test_scanner (line 45) | pub async fn test_scanner( function test_no_deadlock_in_multisig_completed (line 115) | pub async fn test_no_deadlock_in_multisig_completed( FILE: processor/src/tests/signer.rs function sign (line 29) | pub async fn sign( function test_signer (line 159) | pub async fn test_signer( FILE: processor/src/tests/wallet.rs function test_wallet (line 30) | pub async fn test_wallet( FILE: substrate/abi/src/babe.rs type ReportEquivocation (line 8) | pub struct ReportEquivocation { type Call (line 18) | pub enum Call { FILE: substrate/abi/src/coins.rs type Call (line 12) | pub enum Call { type Event (line 24) | pub enum Event { FILE: substrate/abi/src/dex.rs type PoolId (line 5) | type PoolId = ExternalCoin; type MaxSwapPathLength (line 6) | type MaxSwapPathLength = sp_core::ConstU32<3>; type Call (line 13) | pub enum Call { type Event (line 48) | pub enum Event { FILE: substrate/abi/src/economic_security.rs type Event (line 8) | pub enum Event { FILE: substrate/abi/src/genesis_liquidity.rs type Call (line 10) | pub enum Call { type Event (line 20) | pub enum Event { FILE: substrate/abi/src/grandpa.rs type ReportEquivocation (line 8) | pub struct ReportEquivocation { type Call (line 16) | pub enum Call { type Event (line 26) | pub enum Event { FILE: substrate/abi/src/in_instructions.rs type Call (line 12) | pub enum Call { type Event (line 22) | pub enum Event { FILE: substrate/abi/src/lib.rs type Call (line 38) | pub enum Call { type TransactionPaymentEvent (line 65) | pub enum TransactionPaymentEvent { type Event (line 72) | pub enum Event { type Extra (line 102) | pub struct Extra { type SignedPayloadExtra (line 116) | pub struct SignedPayloadExtra { type Transaction (line 123) | pub type Transaction = tx::Transaction; FILE: substrate/abi/src/liquidity_tokens.rs type Call (line 8) | pub enum Call { type Event (line 18) | pub enum Event { FILE: substrate/abi/src/signals.rs type Call (line 14) | pub enum Call { type Event (line 28) | pub enum Event { FILE: substrate/abi/src/system.rs type Event (line 9) | pub enum Event { FILE: substrate/abi/src/timestamp.rs type Call (line 6) | pub enum Call { FILE: substrate/abi/src/tx.rs type TransactionMember (line 12) | pub trait TransactionMember: type TransactionEncodeAs (line 21) | type TransactionEncodeAs<'a, Extra> = type TransactionDecodeAs (line 23) | type TransactionDecodeAs = (crate::Call, Option<(SeraiAddress, Si... type Transaction (line 29) | pub struct Transaction< function new (line 41) | pub fn new(call: crate::Call, signature: Option<(SeraiAddress, Signature... function call (line 45) | pub fn call(&self) -> &crate::Call { function signer (line 49) | pub fn signer(&self) -> Option { function using_encoded (line 57) | fn using_encoded R>(&self, f: F) -> R { function decode (line 65) | fn decode(input: &mut I) -> Result { method serialize (line 80) | fn serialize(&self, serializer: S) -> Result>(de: D) -> Result { type Call (line 108) | type Call = Call; type SignaturePayload (line 109) | type SignaturePayload = (SeraiAddress, Signature, Extra); function is_signed (line 110) | fn is_signed(&self) -> Option { function new (line 113) | fn new(call: Call, signature: Option) -> Option<... type Call (line 123) | type Call = Call; function call (line 124) | fn call(&self) -> &Call { method get_dispatch_info (line 134) | fn get_dispatch_info(&self) -> frame_support::dispatch::DispatchInfo { type Checked (line 145) | type Checked = sp_runtime::generic::CheckedExtrinsic; function check (line 147) | fn check( function new_inherent (line 178) | fn new_inherent(call: Self::Call) -> Self { FILE: substrate/abi/src/validator_sets.rs type Call (line 13) | pub enum Call { type Event (line 45) | pub enum Event { FILE: substrate/client/src/networks/bitcoin.rs type Address (line 14) | pub struct Address(ScriptBuf); method fmt (line 45) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Error (line 63) | type Error = (); method try_from (line 64) | fn try_from(data: Vec) -> Result { method new (line 125) | pub fn new(address: ScriptBuf) -> Option { method eq (line 17) | fn eq(&self, other: &Self) -> bool { method from (line 25) | fn from(addr: Address) -> ScriptBuf { type Err (line 31) | type Err = (); method from_str (line 32) | fn from_str(str: &str) -> Result { type EncodedAddress (line 54) | enum EncodedAddress { function try_to_vec (line 85) | fn try_to_vec(addr: &Address) -> Result, ()> { function from (line 118) | fn from(addr: Address) -> Vec { FILE: substrate/client/src/networks/monero.rs type Address (line 11) | pub struct Address(MoneroAddress); method new (line 13) | pub fn new(address: MoneroAddress) -> Option
{ method fmt (line 29) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Error (line 50) | type Error = (); method try_from (line 51) | fn try_from(data: Vec) -> Result { method into (line 78) | fn into(self) -> MoneroAddress { method into (line 85) | fn into(self) -> Vec { type Err (line 22) | type Err = AddressError; method from_str (line 23) | fn from_str(str: &str) -> Result { type EncodedAddressType (line 36) | enum EncodedAddressType { type EncodedAddress (line 43) | struct EncodedAddress { FILE: substrate/client/src/serai/coins.rs constant PALLET (line 9) | const PALLET: &str = "Coins"; type CoinsEvent (line 11) | pub type CoinsEvent = serai_abi::coins::Event; type SeraiCoins (line 14) | pub struct SeraiCoins<'a>(pub(crate) &'a TemporalSerai<'a>); function mint_events (line 16) | pub async fn mint_events(&self) -> Result, SeraiError> { function burn_with_instruction_events (line 33) | pub async fn burn_with_instruction_events(&self) -> Result Result { function coin_balance (line 54) | pub async fn coin_balance( function transfer (line 72) | pub fn transfer(to: SeraiAddress, balance: Balance) -> serai_abi::Call { function burn (line 76) | pub fn burn(balance: Balance) -> serai_abi::Call { function burn_with_instruction (line 80) | pub fn burn_with_instruction(instruction: OutInstructionWithBalance) -> ... FILE: substrate/client/src/serai/dex.rs type DexEvent (line 6) | pub type DexEvent = serai_abi::dex::Event; constant PALLET (line 8) | const PALLET: &str = "Dex"; type SeraiDex (line 11) | pub struct SeraiDex<'a>(pub(crate) &'a TemporalSerai<'a>); function events (line 13) | pub async fn events(&self) -> Result, SeraiError> { function add_liquidity (line 22) | pub fn add_liquidity( function swap (line 40) | pub fn swap( function get_reserves (line 64) | pub async fn get_reserves( function oracle_value (line 71) | pub async fn oracle_value(&self, coin: ExternalCoin) -> Result(pub(crate) &'a TemporalSerai<'a>); function events (line 19) | pub async fn events(&self) -> Result, SeraiEr... function oraclize_values (line 32) | pub fn oraclize_values(values: Values, signature: Signature) -> Transact... function remove_coin_liquidity (line 38) | pub fn remove_coin_liquidity(balance: ExternalBalance) -> serai_abi::Call { function liquidity (line 44) | pub async fn liquidity( function supply (line 62) | pub async fn supply(&self, coin: ExternalCoin) -> Result Result, SeraiE... FILE: substrate/client/src/serai/in_instructions.rs type InInstructionsEvent (line 9) | pub type InInstructionsEvent = serai_abi::in_instructions::Event; constant PALLET (line 11) | const PALLET: &str = "InInstructions"; type SeraiInInstructions (line 14) | pub struct SeraiInInstructions<'a>(pub(crate) &'a TemporalSerai<'a>); function latest_block_for_network (line 16) | pub async fn latest_block_for_network( function last_batch_for_network (line 23) | pub async fn last_batch_for_network( function batch_events (line 30) | pub async fn batch_events(&self) -> Result, Ser... function execute_batch (line 47) | pub fn execute_batch(batch: SignedBatch) -> Transaction { FILE: substrate/client/src/serai/liquidity_tokens.rs constant PALLET (line 7) | const PALLET: &str = "LiquidityTokens"; type SeraiLiquidityTokens (line 10) | pub struct SeraiLiquidityTokens<'a>(pub(crate) &'a TemporalSerai<'a>); function token_supply (line 12) | pub async fn token_supply(&self, coin: ExternalCoin) -> Result serai_abi... function burn (line 41) | pub fn burn(balance: ExternalBalance) -> serai_abi::Call { FILE: substrate/client/src/serai/mod.rs type Block (line 35) | pub struct Block { method hash (line 40) | pub fn hash(&self) -> [u8; 32] { method number (line 43) | pub fn number(&self) -> u64 { method time (line 48) | pub fn time(&self) -> Result { type SeraiError (line 59) | pub enum SeraiError { type Serai (line 71) | pub struct Serai { method call (line 90) | pub async fn call( method hex_decode (line 141) | fn hex_decode(str: String) -> Result, SeraiError> { method block_hash (line 150) | pub async fn block_hash(&self, number: u64) -> Result... method new (line 159) | pub async fn new(url: String) -> Result { method unsigned (line 168) | fn unsigned(call: Call) -> Transaction { method sign (line 172) | pub fn sign(&self, signer: &Pair, call: Call, nonce: u32, tip: u64) ->... method publish (line 193) | pub async fn publish(&self, tx: &Transaction) -> Result<(), SeraiError> { method latest_finalized_block_hash (line 201) | pub async fn latest_finalized_block_hash(&self) -> Result<[u8; 32], Se... method header (line 208) | pub async fn header(&self, hash: [u8; 32]) -> Result, S... method block (line 212) | pub async fn block(&self, hash: [u8; 32]) -> Result, Ser... method latest_finalized_block (line 224) | pub async fn latest_finalized_block(&self) -> Result { method is_finalized (line 234) | pub async fn is_finalized(&self, header: &Header) -> Result Result Result TemporalSerai { method p2p_validators (line 314) | pub async fn p2p_validators( type EventsInBlock (line 77) | type EventsInBlock = Vec>; type TemporalSerai (line 78) | pub struct TemporalSerai<'a> { method clone (line 84) | fn clone(&self) -> Self { function events (line 323) | async fn events( function storage (line 347) | async fn storage( function runtime_api (line 370) | async fn runtime_api( function coins (line 392) | pub fn coins(&'a self) -> SeraiCoins<'a> { function dex (line 396) | pub fn dex(&'a self) -> SeraiDex<'a> { function in_instructions (line 400) | pub fn in_instructions(&'a self) -> SeraiInInstructions<'a> { function validator_sets (line 404) | pub fn validator_sets(&'a self) -> SeraiValidatorSets<'a> { function genesis_liquidity (line 408) | pub fn genesis_liquidity(&'a self) -> SeraiGenesisLiquidity { function liquidity_tokens (line 412) | pub fn liquidity_tokens(&'a self) -> SeraiLiquidityTokens { FILE: substrate/client/src/serai/validator_sets.rs constant PALLET (line 14) | const PALLET: &str = "ValidatorSets"; type ValidatorSetsEvent (line 16) | pub type ValidatorSetsEvent = serai_abi::validator_sets::Event; type SeraiValidatorSets (line 19) | pub struct SeraiValidatorSets<'a>(pub(crate) &'a TemporalSerai<'a>); function new_set_events (line 21) | pub async fn new_set_events(&self) -> Result, Se... function participant_removed_events (line 38) | pub async fn participant_removed_events(&self) -> Result Result, Se... function accepted_handover_events (line 72) | pub async fn accepted_handover_events(&self) -> Result Result... function session (line 106) | pub async fn session(&self, network: NetworkId) -> Result Result serai_abi::Call { function deallocate (line 210) | pub fn deallocate(network: NetworkId, amount: Amount) -> serai_abi::Call { function report_slashes (line 214) | pub fn report_slashes( FILE: substrate/client/tests/common/dex.rs function add_liquidity (line 9) | pub async fn add_liquidity( function swap (line 30) | pub async fn swap( FILE: substrate/client/tests/common/genesis_liquidity.rs function set_up_genesis (line 28) | pub async fn set_up_genesis( function set_values (line 88) | async fn set_values(serai: &Serai, values: &Values) { FILE: substrate/client/tests/common/in_instructions.rs function provide_batch (line 24) | pub async fn provide_batch(serai: &Serai, batch: Batch) -> [u8; 32] { function mint_coin (line 66) | pub async fn mint_coin( FILE: substrate/client/tests/common/tx.rs function publish_tx (line 8) | pub async fn publish_tx(serai: &Serai, tx: &Transaction) -> [u8; 32] { FILE: substrate/client/tests/common/validator_sets.rs function set_keys (line 25) | pub async fn set_keys( function allocate_stake (line 84) | pub async fn allocate_stake( function deallocate_stake (line 97) | pub async fn deallocate_stake( FILE: substrate/client/tests/dht.rs function dht (line 4) | async fn dht() { FILE: substrate/client/tests/emissions.rs function send_batches (line 27) | async fn send_batches(serai: &Serai, ids: &mut HashMap, balance: ExternalBala... function wait_for_session_change (line 162) | async fn wait_for_session_change(serai: &Serai) -> u32 { function get_distances (line 201) | async fn get_distances( function get_session_blocks (line 235) | async fn get_session_blocks(serai: &TemporalSerai<'_>, session: u32) -> ... FILE: substrate/client/tests/genesis_liquidity.rs function test_genesis_liquidity (line 20) | pub async fn test_genesis_liquidity(serai: Serai) { FILE: substrate/client/tests/validator_sets.rs function get_random_key_pair (line 30) | fn get_random_key_pair() -> KeyPair { function get_ordered_keys (line 38) | async fn get_ordered_keys(serai: &Serai, network: NetworkId, accounts: &... function validator_set_rotation (line 118) | async fn validator_set_rotation() { function session_for_block (line 329) | async fn session_for_block(serai: &Serai, block: [u8; 32], network: Netw... function verify_session_and_active_validators (line 333) | async fn verify_session_and_active_validators( function get_session_at_which_changes_activate (line 387) | async fn get_session_at_which_changes_activate( FILE: substrate/coins/pallet/src/lib.rs type AllowMint (line 11) | pub trait AllowMint { method is_allowed (line 12) | fn is_allowed(balance: &ExternalBalance) -> bool; method is_allowed (line 16) | fn is_allowed(_: &ExternalBalance) -> bool { type LiquidityTokensInstance (line 42) | type LiquidityTokensInstance = crate::Instance1; type Config (line 45) | pub trait Config: frame_system::Config, I: 'static = ()> { method default (line 57) | fn default() -> Self { type Error (line 63) | pub enum Error { type Event (line 72) | pub enum Event, I: 'static = ()> { type Pallet (line 80) | pub struct Pallet(_); type Balances (line 87) | pub type Balances, I: 'static = ()> = type Supply (line 94) | pub type Supply, I: 'static = ()> = method build (line 99) | fn build(&self) { function on_initialize (line 115) | fn on_initialize(_: BlockNumberFor) -> Weight { function balance (line 129) | pub fn balance(of: Public, coin: Coin) -> Amount { function decrease_balance_internal (line 133) | fn decrease_balance_internal(from: Public, balance: Balance) -> Result<(... function increase_balance_internal (line 150) | fn increase_balance_internal(to: Public, balance: Balance) -> Result<(),... function mint (line 166) | pub fn mint(to: Public, balance: Balance) -> Result<(), Error> { function burn_internal (line 190) | fn burn_internal(from: Public, balance: Balance) -> Result<(), Error, to: Public, balance: Balance) -> D... function burn (line 233) | pub fn burn(origin: OriginFor, balance: Balance) -> DispatchResult { function burn_with_instruction (line 243) | pub fn burn_with_instruction( type Balance (line 262) | type Balance = SubstrateAmount; type LiquidityInfo (line 263) | type LiquidityInfo = Option; function withdraw_fee (line 265) | fn withdraw_fee( function can_withdraw_fee (line 283) | fn can_withdraw_fee( function correct_and_deposit_fee (line 299) | fn correct_and_deposit_fee( FILE: substrate/coins/pallet/src/mock.rs type Block (line 12) | type Block = frame_system::mocking::MockBlock; type AccountId (line 24) | type AccountId = Public; type Lookup (line 25) | type Lookup = IdentityLookup; type Block (line 26) | type Block = Block; type AllowMint (line 30) | type AllowMint = (); function new_test_ext (line 33) | pub(crate) fn new_test_ext() -> sp_io::TestExternalities { FILE: substrate/coins/pallet/src/tests.rs type CoinsEvent (line 8) | pub type CoinsEvent = crate::Event; function mint (line 11) | fn mint() { function burn_with_instruction (line 48) | fn burn_with_instruction() { function transfer (line 99) | fn transfer() { FILE: substrate/coins/primitives/src/lib.rs constant FEE_ACCOUNT (line 18) | pub const FEE_ACCOUNT: SeraiAddress = system_address(b"Coins-fees"); type OutInstruction (line 24) | pub struct OutInstruction { type OutInstructionWithBalance (line 33) | pub struct OutInstructionWithBalance { type Destination (line 42) | pub enum Destination { function address (line 48) | fn address() { FILE: substrate/dex/pallet/src/benchmarking.rs constant INITIAL_COIN_BALANCE (line 36) | const INITIAL_COIN_BALANCE: u64 = 1_000_000_000; type AccountIdLookupOf (line 37) | type AccountIdLookupOf = <::Lookup as Stat... type LiquidityTokens (line 39) | type LiquidityTokens = coins_pallet::Pallet; function create_coin (line 41) | fn create_coin(coin: &ExternalCoin) -> (T::AccountId, Account... function create_coin_and_pool (line 55) | fn create_coin_and_pool( FILE: substrate/dex/pallet/src/lib.rs type PoolId (line 120) | pub type PoolId = ExternalCoin; type LiquidityTokens (line 123) | pub type LiquidityTokens = coins_pallet::Pallet(_); type Config (line 132) | pub trait Config: type Pools (line 160) | pub type Pools = StorageMap<_, Blake2_128Concat, PoolId, (), ... type SpotPriceForBlock (line 164) | pub type SpotPriceForBlock = type SpotPrices (line 173) | pub type SpotPrices = type ReverseSpotPrices (line 178) | pub type ReverseSpotPrices = type SpotPricesLength (line 183) | pub type SpotPricesLength = StorageMap<_, Identity, ExternalC... type CurrentMedianPosition (line 187) | pub type CurrentMedianPosition = type MedianPrice (line 193) | pub type MedianPrice = StorageMap<_, Identity, ExternalCoin, ... type SecurityOracleValue (line 198) | pub type SecurityOracleValue = type SwapVolume (line 204) | pub type SwapVolume = StorageMap<_, Identity, PoolId, u64, Op... function restore_median (line 207) | fn restore_median( function insert_into_median (line 259) | pub(crate) fn insert_into_median(coin: ExternalCoin, amount: Amount) { function remove_from_median (line 289) | pub(crate) fn remove_from_median(coin: ExternalCoin, amount: Amount) { type Event (line 326) | pub enum Event { type Error (line 386) | pub enum Error { function on_finalize (line 442) | fn on_finalize(n: BlockNumberFor) { function create_pool (line 496) | pub(crate) fn create_pool(coin: ExternalCoin) -> DispatchResult { function on_new_session (line 510) | pub fn on_new_session(network: NetworkId) { function add_liquidity (line 535) | pub fn add_liquidity( function remove_liquidity (line 636) | pub fn remove_liquidity( function swap_exact_tokens_for_tokens (line 712) | pub fn swap_exact_tokens_for_tokens( function swap_tokens_for_exact_tokens (line 738) | pub fn swap_tokens_for_exact_tokens( function do_swap_exact_tokens_for_tokens (line 765) | pub fn do_swap_exact_tokens_for_tokens( function do_swap_tokens_for_exact_tokens (line 798) | pub fn do_swap_tokens_for_exact_tokens( function transfer (line 825) | fn transfer( function convert_hpb_to_coin_balance (line 835) | pub(crate) fn convert_hpb_to_coin_balance( function do_swap (line 842) | pub(crate) fn do_swap( function get_pool_account (line 919) | pub fn get_pool_account(pool_id: PoolId) -> T::AccountId { function get_balance (line 928) | fn get_balance(owner: &T::AccountId, coin: Coin) -> SubstrateAmount { function get_pool_id (line 935) | pub fn get_pool_id(coin1: Coin, coin2: Coin) -> Result> { function get_reserves (line 945) | pub fn get_reserves( function get_amounts_in (line 963) | pub(crate) fn get_amounts_in( function get_amounts_out (line 983) | pub(crate) fn get_amounts_out( function quote_price_exact_tokens_for_tokens (line 1002) | pub fn quote_price_exact_tokens_for_tokens( function quote_price_tokens_for_exact_tokens (line 1025) | pub fn quote_price_tokens_for_exact_tokens( function quote (line 1048) | pub fn quote( function calc_lp_amount_for_zero_supply (line 1057) | pub(super) fn calc_lp_amount_for_zero_supply( function mul_div (line 1074) | fn mul_div( function get_amount_out (line 1093) | pub fn get_amount_out( function get_amount_in (line 1129) | pub fn get_amount_in( function validate_swap_path (line 1170) | fn validate_swap_path( function swap_exact_tokens_for_tokens (line 1192) | fn swap_exact_tokens_for_tokens( function swap_tokens_for_exact_tokens (line 1211) | fn swap_tokens_for_exact_tokens( FILE: substrate/dex/pallet/src/mock.rs type Block (line 38) | type Block = frame_system::mocking::MockBlock; constant MEDIAN_PRICE_WINDOW_LENGTH (line 40) | pub const MEDIAN_PRICE_WINDOW_LENGTH: u16 = 10; type AccountId (line 54) | type AccountId = Public; type Lookup (line 55) | type Lookup = IdentityLookup; type Block (line 56) | type Block = Block; type AllowMint (line 60) | type AllowMint = (); type AllowMint (line 64) | type AllowMint = (); type WeightInfo (line 68) | type WeightInfo = (); type LPFee (line 69) | type LPFee = ConstU32<3>; type MaxSwapPathLength (line 70) | type MaxSwapPathLength = ConstU32<4>; type MedianPriceWindowLength (line 72) | type MedianPriceWindowLength = ConstU16<{ MEDIAN_PRICE_WINDOW_LENGTH }>; type MintMinLiquidity (line 75) | type MintMinLiquidity = ConstU64<100>; function new_test_ext (line 78) | pub(crate) fn new_test_ext() -> sp_io::TestExternalities { FILE: substrate/dex/pallet/src/tests.rs type LiquidityTokens (line 33) | type LiquidityTokens = coins_pallet::Pallet; type LiquidityTokensError (line 34) | type LiquidityTokensError = coins_pallet::Error; function events (line 36) | fn events() -> Vec> { function pools (line 48) | fn pools() -> Vec { function coins (line 54) | fn coins() -> Vec { function balance (line 58) | fn balance(owner: PublicKey, coin: Coin) -> u64 { function pool_balance (line 62) | fn pool_balance(owner: PublicKey, token_id: Coin) -> u64 { function check_pool_accounts_dont_collide (line 73) | fn check_pool_accounts_dont_collide() { function check_max_numbers (line 89) | fn check_max_numbers() { function can_create_pool (line 101) | fn can_create_pool() { function create_same_pool_twice_should_fail (line 123) | fn create_same_pool_twice_should_fail() { function different_pools_should_have_different_lp_tokens (line 132) | fn different_pools_should_have_different_lp_tokens() { function can_add_liquidity (line 166) | fn can_add_liquidity() { function add_tiny_liquidity_leads_to_insufficient_liquidity_minted_error (line 241) | fn add_tiny_liquidity_leads_to_insufficient_liquidity_minted_error() { function add_tiny_liquidity_directly_to_pool_address (line 263) | fn add_tiny_liquidity_directly_to_pool_address() { function can_remove_liquidity (line 313) | fn can_remove_liquidity() { function can_not_redeem_more_lp_tokens_than_were_minted (line 371) | fn can_not_redeem_more_lp_tokens_than_were_minted() { function can_quote_price (line 411) | fn can_quote_price() { function quote_price_exact_tokens_for_tokens_matches_execution (line 533) | fn quote_price_exact_tokens_for_tokens_matches_execution() { function quote_price_tokens_for_exact_tokens_matches_execution (line 578) | fn quote_price_tokens_for_exact_tokens_matches_execution() { function can_swap_with_native (line 626) | fn can_swap_with_native() { function can_swap_with_realistic_values (line 671) | fn can_swap_with_realistic_values() { function can_not_swap_in_pool_with_no_liquidity_added_yet (line 722) | fn can_not_swap_in_pool_with_no_liquidity_added_yet() { function check_no_panic_when_try_swap_close_to_empty_pool (line 745) | fn check_no_panic_when_try_swap_close_to_empty_pool() { function swap_should_not_work_if_too_much_slippage (line 856) | fn swap_should_not_work_if_too_much_slippage() { function can_swap_tokens_for_exact_tokens (line 896) | fn can_swap_tokens_for_exact_tokens() { function can_swap_tokens_for_exact_tokens_when_not_liquidity_provider (line 950) | fn can_swap_tokens_for_exact_tokens_when_not_liquidity_provider() { function swap_tokens_for_exact_tokens_should_not_work_if_too_much_slippage (line 1030) | fn swap_tokens_for_exact_tokens_should_not_work_if_too_much_slippage() { function swap_exact_tokens_for_tokens_in_multi_hops (line 1070) | fn swap_exact_tokens_for_tokens_in_multi_hops() { function swap_tokens_for_exact_tokens_in_multi_hops (line 1158) | fn swap_tokens_for_exact_tokens_in_multi_hops() { function can_not_swap_same_coin (line 1224) | fn can_not_swap_same_coin() { function validate_pool_id_sorting (line 1256) | fn validate_pool_id_sorting() { function cannot_block_pool_creation (line 1275) | fn cannot_block_pool_creation() { function test_median_price (line 1342) | fn test_median_price() { FILE: substrate/dex/pallet/src/types.rs type Swap (line 24) | pub trait Swap { method swap_exact_tokens_for_tokens (line 32) | fn swap_exact_tokens_for_tokens( method swap_tokens_for_exact_tokens (line 47) | fn swap_tokens_for_exact_tokens( FILE: substrate/dex/pallet/src/weights.rs type WeightInfo (line 54) | pub trait WeightInfo { method create_pool (line 55) | fn create_pool() -> Weight; method add_liquidity (line 56) | fn add_liquidity() -> Weight; method remove_liquidity (line 57) | fn remove_liquidity() -> Weight; method swap_exact_tokens_for_tokens (line 58) | fn swap_exact_tokens_for_tokens() -> Weight; method swap_tokens_for_exact_tokens (line 59) | fn swap_tokens_for_exact_tokens() -> Weight; method create_pool (line 79) | fn create_pool() -> Weight { method add_liquidity (line 100) | fn add_liquidity() -> Weight { method remove_liquidity (line 121) | fn remove_liquidity() -> Weight { method swap_exact_tokens_for_tokens (line 136) | fn swap_exact_tokens_for_tokens() -> Weight { method swap_tokens_for_exact_tokens (line 151) | fn swap_tokens_for_exact_tokens() -> Weight { method create_pool (line 178) | fn create_pool() -> Weight { method add_liquidity (line 199) | fn add_liquidity() -> Weight { method remove_liquidity (line 220) | fn remove_liquidity() -> Weight { method swap_exact_tokens_for_tokens (line 235) | fn swap_exact_tokens_for_tokens() -> Weight { method swap_tokens_for_exact_tokens (line 250) | fn swap_tokens_for_exact_tokens() -> Weight { type SubstrateWeight (line 63) | pub struct SubstrateWeight(PhantomData); FILE: substrate/economic-security/pallet/src/lib.rs type Config (line 20) | pub trait Config: frame_system::Config + CoinsConfig + DexConfig {} type Event (line 24) | pub enum Event { type Pallet (line 29) | pub struct Pallet(PhantomData); type EconomicSecurityBlock (line 33) | pub(crate) type EconomicSecurityBlock = function on_initialize (line 38) | fn on_initialize(n: BlockNumberFor) -> Weight { FILE: substrate/emissions/pallet/src/lib.rs type Config (line 31) | pub trait Config: type GenesisConfig (line 43) | pub struct GenesisConfig { method default (line 51) | fn default() -> Self { type Error (line 57) | pub enum Error { type Event (line 64) | pub enum Event {} type Pallet (line 67) | pub struct Pallet(PhantomData); type Participants (line 72) | pub(crate) type Participants = StorageMap< type CurrentSession (line 83) | pub type CurrentSession = StorageMap<_, Identity, NetworkId, ... type LastSwapVolume (line 86) | pub(crate) type LastSwapVolume = method build (line 91) | fn build(&self) { function on_initialize (line 105) | fn on_initialize(n: BlockNumberFor) -> Weight { function blocks_until (line 304) | fn blocks_until(block: u64) -> u64 { function initial_period (line 309) | fn initial_period(n: BlockNumberFor) -> bool { function pre_ec_security (line 322) | fn pre_ec_security() -> bool { function distribute_to_validators (line 333) | fn distribute_to_validators(n: NetworkId, reward: u64) { function swap_to_staked_sri (line 360) | pub fn swap_to_staked_sri( function update_participants (line 430) | fn update_participants() { FILE: substrate/emissions/primitives/src/lib.rs constant POL_ACCOUNT (line 8) | pub const POL_ACCOUNT: SeraiAddress = system_address(b"Serai-protocol_ow... constant INITIAL_REWARD_PER_BLOCK (line 11) | pub const INITIAL_REWARD_PER_BLOCK: u64 = (100_000 * 10u64.pow(8)) / DAYS; constant REWARD_PER_BLOCK (line 14) | pub const REWARD_PER_BLOCK: u64 = (20_000_000 * 10u64.pow(8)) / YEARS; constant SERAI_VALIDATORS_DESIRED_PERCENTAGE (line 17) | pub const SERAI_VALIDATORS_DESIRED_PERCENTAGE: u64 = 20; constant DESIRED_DISTRIBUTION (line 20) | pub const DESIRED_DISTRIBUTION: u64 = 1_000; constant ACCURACY_MULTIPLIER (line 23) | pub const ACCURACY_MULTIPLIER: u64 = 10_000; constant SECURE_BY (line 26) | pub const SECURE_BY: u64 = YEARS; FILE: substrate/genesis-liquidity/pallet/src/lib.rs type LiquidityTokens (line 32) | pub type LiquidityTokens = coins_pallet::Pallet { type Event (line 55) | pub enum Event { type Pallet (line 62) | pub struct Pallet(PhantomData); type Liquidity (line 66) | pub(crate) type Liquidity = StorageDoubleMap< type Supply (line 78) | pub(crate) type Supply = type Oracle (line 82) | pub(crate) type Oracle = StorageMap<_, Identity, ExternalCoin... type GenesisCompleteBlock (line 86) | pub(crate) type GenesisCompleteBlock = StorageValue<_, u64, O... function on_initialize (line 90) | fn on_initialize(n: BlockNumberFor) -> Weight { function add_coin_liquidity (line 186) | pub fn add_coin_liquidity(account: PublicKey, balance: ExternalBalance) ... function blocks_since_ec_security (line 231) | fn blocks_since_ec_security() -> Option { function genesis_ended (line 243) | fn genesis_ended() -> bool { function oraclization_is_done (line 248) | fn oraclization_is_done() -> bool { function mul_div (line 258) | fn mul_div(a: u64, b: u64, c: u64) -> Result> { function remove_coin_liquidity (line 278) | pub fn remove_coin_liquidity(origin: OriginFor, balance: ExternalBala... function oraclize_values (line 399) | pub fn oraclize_values( type Call (line 417) | type Call = Call; method validate_unsigned (line 419) | fn validate_unsigned(_: TransactionSource, call: &Self::Call) -> Transac... FILE: substrate/genesis-liquidity/primitives/src/lib.rs constant INITIAL_GENESIS_LP_SHARES (line 20) | pub const INITIAL_GENESIS_LP_SHARES: u64 = 10_000; constant GENESIS_LIQUIDITY_ACCOUNT (line 23) | pub const GENESIS_LIQUIDITY_ACCOUNT: SeraiAddress = system_address(b"Gen... type Values (line 31) | pub struct Values { type LiquidityAmount (line 43) | pub struct LiquidityAmount { method zero (line 49) | pub fn zero() -> Self { function oraclize_values_message (line 55) | pub fn oraclize_values_message(set: &ValidatorSet, values: &Values) -> V... FILE: substrate/in-instructions/pallet/src/lib.rs type Config (line 46) | pub trait Config: type Event (line 58) | pub enum Event { type Error (line 65) | pub enum Error { type Pallet (line 71) | pub struct Pallet(PhantomData); type LastBatch (line 76) | pub(crate) type LastBatch = type LastBatchBlock (line 82) | pub(crate) type LastBatchBlock = type Halted (line 87) | pub(crate) type Halted = StorageMap<_, Identity, ExternalNetw... type LatestNetworkBlock (line 92) | pub(crate) type LatestNetworkBlock = function execute (line 99) | fn execute(instruction: InInstructionWithBalance) -> Result<(), Dispatch... function halt (line 232) | pub fn halt(network: ExternalNetworkId) -> Result<(), DispatchError> { function keys_for_network (line 239) | fn keys_for_network( function execute_batch (line 264) | pub fn execute_batch(origin: OriginFor, batch: SignedBatch) -> Dispat... type Call (line 292) | type Call = Call; method validate_unsigned (line 294) | fn validate_unsigned(_: TransactionSource, call: &Self::Call) -> Transac... method pre_dispatch (line 382) | fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityErro... FILE: substrate/in-instructions/primitives/src/lib.rs constant MAX_BATCH_SIZE (line 27) | pub const MAX_BATCH_SIZE: usize = 25_000; constant IN_INSTRUCTION_EXECUTOR (line 30) | pub const IN_INSTRUCTION_EXECUTOR: SeraiAddress = system_address(b"InIns... type OutAddress (line 36) | pub enum OutAddress { method is_native (line 42) | pub fn is_native(&self) -> bool { method as_native (line 46) | pub fn as_native(self) -> Option { method as_external (line 53) | pub fn as_external(self) -> Option { type DexCall (line 65) | pub enum DexCall { type InInstruction (line 77) | pub enum InInstruction { type RefundableInInstruction (line 88) | pub struct RefundableInInstruction { type InInstructionWithBalance (line 97) | pub struct InInstructionWithBalance { type Batch (line 106) | pub struct Batch { type SignedBatch (line 116) | pub struct SignedBatch { method zeroize (line 130) | fn zeroize(&mut self) { function batch_message (line 139) | pub fn batch_message(batch: &Batch) -> Vec { FILE: substrate/in-instructions/primitives/src/shorthand.rs type Shorthand (line 23) | pub enum Shorthand { method transfer (line 41) | pub fn transfer(origin: Option, address: SeraiAddress... type Error (line 47) | type Error = &'static str; method try_from (line 48) | fn try_from(shorthand: Shorthand) -> Result PublicKey { function wasm_binary (line 19) | fn wasm_binary() -> Vec { function devnet_genesis (line 30) | fn devnet_genesis( function testnet_genesis (line 82) | fn testnet_genesis(validators: Vec<&'static str>) -> RuntimeGenesisConfig { function genesis (line 136) | fn genesis( function development_config (line 180) | pub fn development_config() -> ChainSpec { function local_config (line 200) | pub fn local_config() -> ChainSpec { function testnet_config (line 221) | pub fn testnet_config() -> ChainSpec { function bootnode_multiaddrs (line 234) | pub fn bootnode_multiaddrs(id: &str) -> Vec { FILE: substrate/node/src/cli.rs type Cli (line 4) | pub struct Cli { type Subcommand (line 14) | pub enum Subcommand { FILE: substrate/node/src/command.rs method impl_name (line 16) | fn impl_name() -> String { method impl_version (line 20) | fn impl_version() -> String { method description (line 24) | fn description() -> String { method author (line 28) | fn author() -> String { method support_url (line 32) | fn support_url() -> String { method copyright_start_year (line 36) | fn copyright_start_year() -> i32 { method load_spec (line 40) | fn load_spec(&self, id: &str) -> Result, ... function run (line 50) | pub fn run() -> sc_cli::Result<()> { FILE: substrate/node/src/keystore.rs type Keystore (line 6) | pub struct Keystore(sr25519::Pair); method from_env (line 9) | pub fn from_env() -> Option { method sr25519_public_keys (line 27) | fn sr25519_public_keys(&self, _: KeyTypeId) -> Vec { method sr25519_generate_new (line 31) | fn sr25519_generate_new(&self, _: KeyTypeId, _: Option<&str>) -> Resul... method sr25519_sign (line 35) | fn sr25519_sign( method sr25519_vrf_sign (line 48) | fn sr25519_vrf_sign( method sr25519_vrf_pre_output (line 61) | fn sr25519_vrf_pre_output( method insert (line 74) | fn insert(&self, _: KeyTypeId, _: &str, _: &[u8]) -> Result<(), ()> { method keys (line 78) | fn keys(&self, _: KeyTypeId) -> Result>, Error> { method has_keys (line 82) | fn has_keys(&self, public_keys: &[(Vec, KeyTypeId)]) -> bool { FILE: substrate/node/src/main.rs function main (line 11) | fn main() -> sc_cli::Result<()> { FILE: substrate/node/src/rpc.rs type FullDeps (line 22) | pub struct FullDeps { function create_full (line 29) | pub fn create_full< FILE: substrate/node/src/service.rs type Executor (line 25) | pub type Executor = WasmExecutor; type FullClient (line 32) | pub type FullClient = TFullClient; type SelectChain (line 34) | type SelectChain = sc_consensus::LongestChain; type GrandpaBlockImport (line 35) | type GrandpaBlockImport = grandpa::GrandpaBlockImport Result PublicKey { function borsh_serialize_public (line 21) | pub fn borsh_serialize_public( function borsh_deserialize_public (line 29) | pub fn borsh_deserialize_public( function borsh_serialize_signature (line 37) | pub fn borsh_serialize_signature( function borsh_deserialize_signature (line 45) | pub fn borsh_deserialize_signature( type SeraiAddress (line 69) | pub struct SeraiAddress(pub [u8; 32]); method new (line 71) | pub fn new(key: [u8; 32]) -> SeraiAddress { method from (line 77) | fn from(key: [u8; 32]) -> SeraiAddress { method from (line 83) | fn from(key: PublicKey) -> SeraiAddress { method fmt (line 96) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function insecure_pair_from_name (line 103) | pub fn insecure_pair_from_name(name: &str) -> Pair { type AccountLookup (line 107) | pub struct AccountLookup; type Source (line 109) | type Source = SeraiAddress; type Target (line 110) | type Target = PublicKey; method lookup (line 111) | fn lookup(&self, source: SeraiAddress) -> Result { type Source (line 116) | type Source = SeraiAddress; type Target (line 117) | type Target = PublicKey; method lookup (line 118) | fn lookup(source: SeraiAddress) -> Result { method unlookup (line 121) | fn unlookup(source: PublicKey) -> SeraiAddress { function system_address (line 126) | pub const fn system_address(pallet: &'static [u8]) -> SeraiAddress { FILE: substrate/primitives/src/amount.rs type SubstrateAmount (line 21) | pub type SubstrateAmount = u64; type Amount (line 38) | pub struct Amount(pub SubstrateAmount); type Output (line 43) | type Output = Amount; method add (line 44) | fn add(self, other: Amount) -> Amount { type Output (line 51) | type Output = Amount; method sub (line 52) | fn sub(self, other: Amount) -> Amount { type Output (line 58) | type Output = Amount; method mul (line 59) | fn mul(self, other: Amount) -> Amount { FILE: substrate/primitives/src/balance.rs type Balance (line 22) | pub struct Balance { method from (line 40) | fn from(balance: ExternalBalance) -> Self { type Output (line 58) | type Output = Balance; method add (line 59) | fn add(self, other: Amount) -> Balance { type Output (line 65) | type Output = Balance; method sub (line 66) | fn sub(self, other: Amount) -> Balance { type Output (line 72) | type Output = Balance; method mul (line 73) | fn mul(self, other: Amount) -> Balance { type ExternalBalance (line 34) | pub struct ExternalBalance { type Error (line 46) | type Error = (); method try_from (line 48) | fn try_from(balance: Balance) -> Result { FILE: substrate/primitives/src/block.rs type BlockNumber (line 30) | pub struct BlockNumber(pub u64); method from (line 32) | fn from(number: u64) -> BlockNumber { type BlockHash (line 48) | pub struct BlockHash(pub [u8; 32]); method as_ref (line 51) | fn as_ref(&self) -> &[u8] { method from (line 57) | fn from(hash: [u8; 32]) -> BlockHash { method from (line 63) | fn from(hash: H256) -> BlockHash { FILE: substrate/primitives/src/constants.rs constant BLOCK_SIZE (line 4) | pub const BLOCK_SIZE: u32 = 1024 * 1024; constant TARGET_BLOCK_TIME (line 6) | pub const TARGET_BLOCK_TIME: u64 = 6; constant MINUTES (line 9) | pub const MINUTES: BlockNumber = 60 / TARGET_BLOCK_TIME; constant HOURS (line 10) | pub const HOURS: BlockNumber = 60 * MINUTES; constant DAYS (line 11) | pub const DAYS: BlockNumber = 24 * HOURS; constant WEEKS (line 12) | pub const WEEKS: BlockNumber = 7 * DAYS; constant MONTHS (line 14) | pub const MONTHS: BlockNumber = 30 * DAYS; constant YEARS (line 16) | pub const YEARS: BlockNumber = 12 * MONTHS; constant GENESIS_SRI_TRICKLE_FEED (line 19) | pub const GENESIS_SRI_TRICKLE_FEED: u64 = 6 * MONTHS; constant GENESIS_SRI (line 22) | pub const GENESIS_SRI: u64 = 100_000_000 * 10_u64.pow(8); constant ARBITRAGE_TIME (line 27) | pub const ARBITRAGE_TIME: u16 = (2 * HOURS) as u16; constant MEDIAN_PRICE_WINDOW_LENGTH (line 32) | pub const MEDIAN_PRICE_WINDOW_LENGTH: u16 = (2 * ARBITRAGE_TIME) + 1; constant FAST_EPOCH_DURATION (line 35) | pub const FAST_EPOCH_DURATION: u64 = 2 * MINUTES; constant FAST_EPOCH_INITIAL_PERIOD (line 38) | pub const FAST_EPOCH_INITIAL_PERIOD: u64 = 2 * FAST_EPOCH_DURATION; FILE: substrate/primitives/src/lib.rs type BlockNumber (line 42) | pub type BlockNumber = u64; type Header (line 43) | pub type Header = sp_runtime::generic::Header) -> Result { method address (line 92) | pub fn address(&self) -> &[u8] { method consume (line 97) | pub fn consume(self) -> Vec { method as_ref (line 103) | fn as_ref(&self) -> &[u8] { method zeroize (line 81) | fn zeroize(&mut self) { constant MAX_DATA_LEN (line 109) | pub const MAX_DATA_LEN: u32 = 512; type Data (line 113) | pub struct Data( method new (line 133) | pub fn new(data: Vec) -> Result { method data (line 137) | pub fn data(&self) -> &[u8] { method consume (line 142) | pub fn consume(self) -> Vec { method as_ref (line 148) | fn as_ref(&self) -> &[u8] { method zeroize (line 126) | fn zeroize(&mut self) { function reverse_lexicographic_order (line 154) | pub fn reverse_lexicographic_order(bytes: [u8; N]) -> [u... function test_reverse_lexicographic_order (line 163) | fn test_reverse_lexicographic_order() { FILE: substrate/primitives/src/networks.rs type ExternalNetworkId (line 21) | pub enum ExternalNetworkId { method coins (line 131) | pub fn coins(&self) -> Vec { type Error (line 158) | type Error = (); method try_from (line 160) | fn try_from(network: NetworkId) -> Result { method encode (line 28) | fn encode(&self) -> Vec { method decode (line 38) | fn decode(input: &mut I) -> Result { method max_encoded_len (line 52) | fn max_encoded_len() -> usize { method serialize (line 61) | fn serialize(&self, writer: &mut W) -> std::io::Resul... method deserialize_reader (line 68) | fn deserialize_reader(reader: &mut R) -> std::io::Resu... type NetworkId (line 80) | pub enum NetworkId { method coins (line 141) | pub fn coins(&self) -> Vec { method from (line 152) | fn from(network: ExternalNetworkId) -> Self { method encode (line 86) | fn encode(&self) -> Vec { method decode (line 95) | fn decode(input: &mut I) -> Result { method max_encoded_len (line 107) | fn max_encoded_len() -> usize { method serialize (line 116) | fn serialize(&self, writer: &mut W) -> std::io::Resul... method deserialize_reader (line 123) | fn deserialize_reader(reader: &mut R) -> std::io::Resu... constant EXTERNAL_NETWORKS (line 168) | pub const EXTERNAL_NETWORKS: [ExternalNetworkId; 3] = constant NETWORKS (line 171) | pub const NETWORKS: [NetworkId; 4] = [ constant EXTERNAL_COINS (line 178) | pub const EXTERNAL_COINS: [ExternalCoin; 4] = constant COINS (line 181) | pub const COINS: [Coin; 5] = [ type ExternalCoin (line 193) | pub enum ExternalCoin { type Error (line 311) | type Error = (); method try_from (line 313) | fn try_from(coin: Coin) -> Result { method network (line 322) | pub fn network(&self) -> ExternalNetworkId { method name (line 330) | pub fn name(&self) -> &'static str { method symbol (line 339) | pub fn symbol(&self) -> &'static str { method decimals (line 348) | pub fn decimals(&self) -> u32 { method encode (line 201) | fn encode(&self) -> Vec { method decode (line 212) | fn decode(input: &mut I) -> Result { method max_encoded_len (line 227) | fn max_encoded_len() -> usize { method serialize (line 236) | fn serialize(&self, writer: &mut W) -> std::io::Resul... method deserialize_reader (line 243) | fn deserialize_reader(reader: &mut R) -> std::io::Resu... type Coin (line 254) | pub enum Coin { method from (line 305) | fn from(coin: ExternalCoin) -> Self { method native (line 358) | pub fn native() -> Coin { method network (line 362) | pub fn network(&self) -> NetworkId { method name (line 369) | pub fn name(&self) -> &'static str { method symbol (line 376) | pub fn symbol(&self) -> &'static str { method decimals (line 383) | pub fn decimals(&self) -> u32 { method is_native (line 390) | pub fn is_native(&self) -> bool { method encode (line 260) | fn encode(&self) -> Vec { method decode (line 269) | fn decode(input: &mut I) -> Result { method max_encoded_len (line 281) | fn max_encoded_len() -> usize { method serialize (line 290) | fn serialize(&self, writer: &mut W) -> std::io::Resul... method deserialize_reader (line 297) | fn deserialize_reader(reader: &mut R) -> std::io::Resu... constant MAX_COINS_PER_NETWORK (line 402) | pub const MAX_COINS_PER_NETWORK: u32 = 8; type Network (line 408) | pub struct Network { method new (line 431) | pub fn new(coins: Vec) -> Result { method coins (line 448) | pub fn coins(&self) -> &[Coin] { method zeroize (line 421) | fn zeroize(&mut self) { FILE: substrate/runtime/build.rs function main (line 1) | fn main() { FILE: substrate/runtime/src/abi.rs method from (line 16) | fn from(call: Call) -> RuntimeCall { type Error (line 204) | type Error = (); method try_into (line 206) | fn try_into(self) -> Result { FILE: substrate/runtime/src/lib.rs type Nonce (line 76) | pub type Nonce = u32; type Hash (line 79) | pub type Hash = sp_core::H256; type SignedExtra (line 81) | pub type SignedExtra = ( type Transaction (line 92) | pub type Transaction = serai_abi::tx::Transaction; type BlockId (line 94) | pub type BlockId = generic::BlockId; constant VERSION (line 108) | pub const VERSION: RuntimeVersion = RuntimeVersion { constant PRIMARY_PROBABILITY (line 119) | pub const PRIMARY_PROBABILITY: (u64, u64) = (1, 4); constant BABE_GENESIS_EPOCH_CONFIG (line 120) | pub const BABE_GENESIS_EPOCH_CONFIG: sp_consensus_babe::BabeEpochConfigu... constant NORMAL_DISPATCH_RATIO (line 126) | const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75); type CallFilter (line 142) | pub struct CallFilter; method contains (line 144) | fn contains(call: &RuntimeCall) -> bool { type BaseCallFilter (line 152) | type BaseCallFilter = CallFilter; type BlockWeights (line 153) | type BlockWeights = BlockWeights; type BlockLength (line 154) | type BlockLength = BlockLength; type AccountId (line 155) | type AccountId = PublicKey; type RuntimeCall (line 156) | type RuntimeCall = RuntimeCall; type Lookup (line 157) | type Lookup = AccountLookup; type Hash (line 158) | type Hash = Hash; type Hashing (line 159) | type Hashing = BlakeTwo256; type Nonce (line 160) | type Nonce = Nonce; type Block (line 161) | type Block = Block; type RuntimeOrigin (line 162) | type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent (line 163) | type RuntimeEvent = RuntimeEvent; type BlockHashCount (line 164) | type BlockHashCount = BlockHashCount; type DbWeight (line 165) | type DbWeight = RocksDbWeight; type Version (line 166) | type Version = Version; type PalletInfo (line 167) | type PalletInfo = PalletInfo; type OnNewAccount (line 169) | type OnNewAccount = (); type OnKilledAccount (line 170) | type OnKilledAccount = (); type OnSetCode (line 171) | type OnSetCode = (); type AccountData (line 173) | type AccountData = (); type SystemWeightInfo (line 174) | type SystemWeightInfo = (); type MaxConsumers (line 176) | type MaxConsumers = support::traits::ConstU32<16>; type RuntimeTask (line 178) | type RuntimeTask = (); type ExtensionsWeightInfo (line 179) | type ExtensionsWeightInfo = (); type SingleBlockMigrations (line 180) | type SingleBlockMigrations = (); type MultiBlockMigrator (line 181) | type MultiBlockMigrator = (); type PreInherents (line 182) | type PreInherents = (); type PostInherents (line 183) | type PostInherents = (); type PostTransactions (line 184) | type PostTransactions = (); type Moment (line 188) | type Moment = u64; type OnTimestampSet (line 189) | type OnTimestampSet = Babe; type MinimumPeriod (line 190) | type MinimumPeriod = ConstU64<{ (TARGET_BLOCK_TIME * 1000) / 2 }>; type WeightInfo (line 191) | type WeightInfo = (); type RuntimeEvent (line 195) | type RuntimeEvent = RuntimeEvent; type OnChargeTransaction (line 196) | type OnChargeTransaction = Coins; type OperationalFeeMultiplier (line 197) | type OperationalFeeMultiplier = ConstU8<5>; type WeightToFee (line 198) | type WeightToFee = IdentityFee; type LengthToFee (line 199) | type LengthToFee = IdentityFee; type FeeMultiplierUpdate (line 200) | type FeeMultiplierUpdate = (); type WeightInfo (line 201) | type WeightInfo = (); type AllowMint (line 205) | type AllowMint = ValidatorSets; type AllowMint (line 209) | type AllowMint = (); type LPFee (line 213) | type LPFee = ConstU32<3>; type MintMinLiquidity (line 214) | type MintMinLiquidity = ConstU64<10000>; type MaxSwapPathLength (line 216) | type MaxSwapPathLength = ConstU32<3>; type MedianPriceWindowLength (line 218) | type MedianPriceWindowLength = ConstU16<{ MEDIAN_PRICE_WINDOW_LENGTH }>; type WeightInfo (line 220) | type WeightInfo = dex::weights::SubstrateWeight; type ShouldEndSession (line 224) | type ShouldEndSession = Babe; type IdentityValidatorIdOf (line 227) | pub struct IdentityValidatorIdOf; method convert (line 229) | fn convert(key: PublicKey) -> Option { type RetirementValidityDuration (line 237) | type RetirementValidityDuration = ConstU32<{ (7 * 24 * 60 * 60) / (TARGE... type RetirementLockInDuration (line 240) | type RetirementLockInDuration = ConstU32<{ (2 * 7 * 24 * 60 * 60) / (TAR... type FindAuthor (line 256) | type FindAuthor = ValidatorSets; type EventHandler (line 257) | type EventHandler = (); type MaxAuthorities (line 261) | pub type MaxAuthorities = ConstU32<{ validator_sets::primitives::MAX_KEY... type ReportLongevity (line 264) | pub type ReportLongevity = ::EpochDuration; type EpochDuration (line 268) | type EpochDuration = ConstU64<{ FAST_EPOCH_DURATION }>; type EpochDuration (line 271) | type EpochDuration = ConstU64<{ 4 * 7 * DAYS }>; type ExpectedBlockTime (line 273) | type ExpectedBlockTime = ConstU64<{ TARGET_BLOCK_TIME * 1000 }>; type EpochChangeTrigger (line 274) | type EpochChangeTrigger = babe::ExternalTrigger; type DisabledValidators (line 275) | type DisabledValidators = ValidatorSets; type WeightInfo (line 277) | type WeightInfo = (); type MaxAuthorities (line 278) | type MaxAuthorities = MaxAuthorities; type MaxNominators (line 279) | type MaxNominators = ConstU32<1>; type KeyOwnerProof (line 281) | type KeyOwnerProof = MembershipProof; type EquivocationReportSystem (line 282) | type EquivocationReportSystem = type RuntimeEvent (line 287) | type RuntimeEvent = RuntimeEvent; type WeightInfo (line 289) | type WeightInfo = (); type MaxAuthorities (line 290) | type MaxAuthorities = MaxAuthorities; type MaxNominators (line 291) | type MaxNominators = ConstU32<1>; type MaxSetIdSessionEntries (line 293) | type MaxSetIdSessionEntries = ConstU64<0>; type KeyOwnerProof (line 294) | type KeyOwnerProof = MembershipProof; type EquivocationReportSystem (line 295) | type EquivocationReportSystem = type GetCurrentSessionForSubstrate (line 300) | pub struct GetCurrentSessionForSubstrate; method get (line 302) | fn get() -> u32 { type Session (line 307) | type Session = GetCurrentSessionForSubstrate; type Executive (line 310) | pub type Executive = frame_executive::Executive< type Extrinsic (line 650) | type Extrinsic = ::Extrinsic; type RuntimeCall (line 651) | type RuntimeCall = RuntimeCall; method create_bare (line 658) | fn create_bare(call: RuntimeCall) -> ::Extrinsic { FILE: substrate/signals/pallet/src/lib.rs type Config (line 26) | pub trait Config: frame_system::Config + VsConfig + ... type GenesisConfig (line 33) | pub struct GenesisConfig { method default (line 37) | fn default() -> Self { method build (line 43) | fn build(&self) { type Pallet (line 51) | pub struct Pallet(PhantomData); type RegisteredRetirementSignal (line 54) | pub struct RegisteredRetirementSignal { function id (line 61) | fn id(&self) -> [u8; 32] { type RegisteredRetirementSignals (line 69) | type RegisteredRetirementSignals = type Favors (line 73) | pub type Favors = StorageDoubleMap< type SetsInFavor (line 84) | pub type SetsInFavor = type LockedInRetirement (line 88) | pub type LockedInRetirement = type Event (line 93) | pub enum Event { type Error (line 131) | pub enum Error { constant REQUIREMENT_NUMERATOR (line 143) | const REQUIREMENT_NUMERATOR: u64 = 4; constant REQUIREMENT_DIVISOR (line 144) | const REQUIREMENT_DIVISOR: u64 = 5; function tally_for_network (line 150) | fn tally_for_network(signal_id: SignalId, network: NetworkId) -> bool { function tally_for_all_networks (line 209) | fn tally_for_all_networks(signal_id: SignalId) -> bool { function revoke_favor_internal (line 231) | fn revoke_favor_internal( function register_retirement_signal (line 259) | pub fn register_retirement_signal( function revoke_retirement_signal (line 295) | pub fn revoke_retirement_signal( function favor (line 324) | pub fn favor( function revoke_favor (line 409) | pub fn revoke_favor( function stand_against (line 432) | pub fn stand_against( function on_initialize (line 463) | fn on_initialize(current_number: BlockNumberFor) -> Weight { FILE: substrate/signals/primitives/src/lib.rs type SignalId (line 16) | pub enum SignalId { FILE: substrate/validator-sets/pallet/src/lib.rs type MembershipProof (line 39) | pub struct MembershipProof(pub Public, pub PhantomDat... method session (line 41) | fn session(&self) -> u32 { method validator_count (line 56) | fn validator_count(&self) -> u32 { type Config (line 73) | pub trait Config: type GenesisConfig (line 86) | pub struct GenesisConfig { method default (line 97) | fn default() -> Self { type Pallet (line 103) | pub struct Pallet(PhantomData); type CurrentSession (line 109) | pub type CurrentSession = StorageMap<_, Identity, NetworkId, ... function latest_decided_session (line 111) | pub fn latest_decided_session(network: NetworkId) -> Option { type AllocationPerKeyShare (line 125) | pub type AllocationPerKeyShare = type Participants (line 132) | pub(crate) type Participants = StorageMap< type InSet (line 145) | pub(crate) type InSet = function in_active_serai_set (line 152) | fn in_active_serai_set(account: Public) -> bool { function in_active_set (line 160) | pub fn in_active_set(network: NetworkId, account: Public) -> bool { function in_set (line 171) | pub fn in_set(network: NetworkId, account: Public) -> bool { function in_latest_decided_set (line 187) | pub fn in_latest_decided_set(network: NetworkId, account: Public) -> bool { type TotalAllocatedStake (line 195) | pub type TotalAllocatedStake = StorageMap<_, Identity, Networ... type Allocations (line 200) | pub type Allocations = type SortedAllocations (line 220) | type SortedAllocations = function sorted_allocation_key (line 224) | fn sorted_allocation_key( function recover_amount_from_sorted_allocation_key (line 233) | fn recover_amount_from_sorted_allocation_key(key: &[u8]) -> Amount { function recover_key_from_sorted_allocation_key (line 242) | fn recover_key_from_sorted_allocation_key(key: &[u8]) -> Public { function set_allocation (line 247) | fn set_allocation(network: NetworkId, key: Public, amount: Amount) -> bo... type SortedAllocationsIter (line 262) | struct SortedAllocationsIter { function new (line 269) | fn new(network: NetworkId) -> Self { type Item (line 283) | type Item = (Public, Amount); method next (line 284) | fn next(&mut self) -> Option { type PendingDeallocations (line 305) | type PendingDeallocations = StorageDoubleMap< type Keys (line 318) | pub type Keys = type PendingSlashReport (line 323) | pub type PendingSlashReport = type SeraiDisabledIndices (line 328) | pub type SeraiDisabledIndices = StorageMap<_, Identity, u32, ... type SessionBeginBlock (line 333) | pub type SessionBeginBlock = type Event (line 338) | pub enum Event { function new_set (line 375) | fn new_set(network: NetworkId) { type Error (line 427) | pub enum Error { function on_initialize (line 457) | fn on_initialize(n: BlockNumberFor) -> Weight { method build (line 470) | fn build(&self) { function account (line 484) | fn account() -> T::AccountId { function is_bft (line 489) | fn is_bft(network: NetworkId) -> bool { function increase_allocation (line 518) | fn increase_allocation( function session_to_unlock_on_for_current_set (line 573) | fn session_to_unlock_on_for_current_set(network: NetworkId) -> Option bool { function new_session (line 715) | fn new_session() { function set_total_allocated_stake (line 730) | fn set_total_allocated_stake(network: NetworkId) { function retire_set (line 741) | pub fn retire_set(set: ValidatorSet) { function take_deallocatable_amount (line 773) | fn take_deallocatable_amount( function rotate_session (line 785) | fn rotate_session() { function required_stake (line 833) | pub fn required_stake(balance: &ExternalBalance) -> SubstrateAmount { function required_stake_for_network (line 856) | pub fn required_stake_for_network(network: ExternalNetworkId) -> Substra... function distribute_block_rewards (line 865) | pub fn distribute_block_rewards( function can_slash_serai_validator (line 880) | fn can_slash_serai_validator(validator: Public) -> bool { function slash_serai_validator (line 889) | fn slash_serai_validator(validator: Public) { function disable_serai_validator (line 931) | fn disable_serai_validator(validator: Public) -> bool { function set_keys (line 954) | pub fn set_keys( function report_slashes (line 995) | pub fn report_slashes( function allocate (line 1023) | pub fn allocate(origin: OriginFor, network: NetworkId, amount: Amount... function deallocate (line 1035) | pub fn deallocate(origin: OriginFor, network: NetworkId, amount: Amou... function claim_deallocation (line 1052) | pub fn claim_deallocation( type Call (line 1073) | type Call = Call; method validate_unsigned (line 1075) | fn validate_unsigned(_: TransactionSource, call: &Self::Call) -> Transac... method pre_dispatch (line 1180) | fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityErro... method is_allowed (line 1186) | fn is_allowed(balance: &ExternalBalance) -> bool { type Proof (line 1200) | type Proof = MembershipProof; type IdentificationTuple (line 1201) | type IdentificationTuple = Public; function prove (line 1203) | fn prove(key: (KeyTypeId, V)) -> Option { function check_proof (line 1207) | fn check_proof(key: (KeyTypeId, V), proof: Self::Proof) -> Option(digests: I) -> Option method is_disabled (line 1294) | fn is_disabled(index: u32) -> bool { method disabled_validators (line 1297) | fn disabled_validators() -> Vec { FILE: substrate/validator-sets/primitives/src/lib.rs constant MAX_KEY_SHARES_PER_SET (line 23) | pub const MAX_KEY_SHARES_PER_SET: u32 = 150; constant MAX_KEY_LEN (line 25) | pub const MAX_KEY_LEN: u32 = 96; type Session (line 44) | pub struct Session(pub u32); type ValidatorSet (line 53) | pub struct ValidatorSet { method from (line 71) | fn from(set: ExternalValidatorSet) -> Self { type ExternalValidatorSet (line 65) | pub struct ExternalValidatorSet { type Error (line 77) | type Error = (); method try_from (line 79) | fn try_from(set: ValidatorSet) -> Result { type MaxKeyLen (line 87) | type MaxKeyLen = ConstU32; type ExternalKey (line 89) | pub type ExternalKey = BoundedVec; type KeyPair (line 97) | pub struct KeyPair( method zeroize (line 117) | fn zeroize(&mut self) { function musig_context (line 124) | pub fn musig_context(set: ValidatorSet) -> [u8; 32] { function musig_key (line 136) | pub fn musig_key(set: ValidatorSet, set_keys: &[Public]) -> Public { function set_keys_message (line 148) | pub fn set_keys_message( function report_slashes_message (line 156) | pub fn report_slashes_message(set: &ExternalValidatorSet, slashes: &[(Pu... function amortize_excess_key_shares (line 164) | pub fn amortize_excess_key_shares(validators: &mut [(Public, u64)]) { function post_amortization_key_shares_for_top_validator (line 176) | pub fn post_amortization_key_shares_for_top_validator( FILE: tests/coordinator/src/lib.rs function coordinator_instance (line 38) | pub fn coordinator_instance( function serai_composition (line 64) | pub fn serai_composition(name: &str, fast_epoch: bool) -> TestBodySpecif... function is_cosign_message (line 82) | fn is_cosign_message(msg: &CoordinatorMessage) -> bool { type Handles (line 106) | pub struct Handles { type Processor (line 111) | pub struct Processor { method new (line 134) | pub async fn new( method serai (line 329) | pub async fn serai(&self) -> Serai { method send_message (line 334) | pub async fn send_message(&mut self, msg: impl Into) { method recv_message (line 351) | pub async fn recv_message(&mut self) -> CoordinatorMessage { method set_substrate_key (line 357) | pub async fn set_substrate_key( method drop (line 126) | fn drop(&mut self) { FILE: tests/coordinator/src/tests/batch.rs function batch (line 36) | pub async fn batch( function batch_test (line 264) | async fn batch_test() { FILE: tests/coordinator/src/tests/key_gen.rs function key_gen (line 22) | pub async fn key_gen( function key_gen_test (line 222) | async fn key_gen_test() { FILE: tests/coordinator/src/tests/mod.rs constant COORDINATORS (line 27) | pub(crate) const COORDINATORS: usize = 4; constant THRESHOLD (line 28) | pub(crate) const THRESHOLD: usize = ((COORDINATORS * 2) / 3) + 1; type TestBody (line 34) | pub(crate) trait TestBody: 'static + Send + Sync { method body (line 35) | async fn body(&self, processors: Vec); method body (line 39) | async fn body(&self, processors: Vec) { function new_test (line 44) | pub(crate) async fn new_test(test_body: impl TestBody, fast_epoch: bool) { function wait_for_tributary (line 220) | pub(crate) async fn wait_for_tributary() { FILE: tests/coordinator/src/tests/rotation.rs function publish_tx (line 18) | async fn publish_tx(serai: &Serai, tx: &Transaction) -> [u8; 32] { function allocate_stake (line 59) | async fn allocate_stake( function deallocate_stake (line 73) | async fn deallocate_stake( function get_session (line 86) | async fn get_session(serai: &Serai, network: NetworkId) -> Session { function wait_till_session_1 (line 98) | async fn wait_till_session_1(serai: &Serai, network: NetworkId) { function most_recent_new_set_event (line 107) | async fn most_recent_new_set_event(serai: &Serai, network: NetworkId) ->... function set_rotation_test (line 126) | async fn set_rotation_test() { FILE: tests/coordinator/src/tests/sign.rs function sign (line 29) | pub async fn sign( function sign_test (line 169) | async fn sign_test() { FILE: tests/docker/src/lib.rs function fresh_logs_folder (line 10) | pub fn fresh_logs_folder(first: bool, label: &str) -> String { function build (line 27) | pub fn build(name: String) { FILE: tests/full-stack/src/lib.rs type Handles (line 14) | pub struct Handles { method serai (line 24) | pub async fn serai(&self, ops: &DockerOperations) -> Serai { method bitcoin (line 40) | pub async fn bitcoin(&self, ops: &DockerOperations) -> bitcoin_serai::... method monero (line 53) | pub async fn monero( FILE: tests/full-stack/src/tests/mint_and_burn.rs function mint_and_burn_test (line 27) | async fn mint_and_burn_test() { FILE: tests/full-stack/src/tests/mod.rs constant VALIDATORS (line 22) | pub(crate) const VALIDATORS: usize = 4; type TestBody (line 28) | pub(crate) trait TestBody: 'static + Send + Sync { method body (line 29) | async fn body(&self, ops: DockerOperations, handles: Vec); method body (line 35) | async fn body(&self, ops: DockerOperations, handles: Vec) { function new_test (line 40) | pub(crate) async fn new_test(test_body: impl TestBody) { FILE: tests/message-queue/src/lib.rs type MessageQueuePrivateKey (line 17) | pub type MessageQueuePrivateKey = ::F; function instance (line 18) | pub fn instance() -> ( function basic_functionality (line 65) | fn basic_functionality() { FILE: tests/processor/src/lib.rs function processor_instance (line 28) | pub fn processor_instance( type Handles (line 81) | pub type Handles = (String, String, String, String); function processor_stack (line 82) | pub fn processor_stack( type Coordinator (line 162) | pub struct Coordinator { method new (line 178) | pub fn new( method send_message (line 304) | pub async fn send_message(&mut self, msg: impl Into ProcessorMessage { method add_block (line 335) | pub async fn add_block(&self, ops: &DockerOperations) -> ([u8; 32], Ve... method sync (line 419) | pub async fn sync(&self, ops: &DockerOperations, others: &[Coordinator... method publish_transaction (line 537) | pub async fn publish_transaction(&self, ops: &DockerOperations, tx: &[... method publish_eventuality_completion (line 575) | pub async fn publish_eventuality_completion(&self, ops: &DockerOperati... method get_published_transaction (line 584) | pub async fn get_published_transaction( FILE: tests/processor/src/networks.rs constant RPC_USER (line 18) | pub const RPC_USER: &str = "serai"; constant RPC_PASS (line 19) | pub const RPC_PASS: &str = "seraidex"; constant BTC_PORT (line 21) | pub const BTC_PORT: u32 = 8332; constant ETH_PORT (line 22) | pub const ETH_PORT: u32 = 8545; constant XMR_PORT (line 23) | pub const XMR_PORT: u32 = 18081; function bitcoin_instance (line 25) | pub fn bitcoin_instance() -> (TestBodySpecification, u32) { function ethereum_instance (line 35) | pub fn ethereum_instance() -> (TestBodySpecification, u32) { function monero_instance (line 46) | pub fn monero_instance() -> (TestBodySpecification, u32) { function network_instance (line 57) | pub fn network_instance(network: ExternalNetworkId) -> (TestBodySpecific... function network_rpc (line 65) | pub fn network_rpc(network: ExternalNetworkId, ops: &DockerOperations, h... function confirmations (line 77) | pub fn confirmations(network: ExternalNetworkId) -> usize { type Wallet (line 87) | pub enum Wallet { method new (line 108) | pub async fn new(network: ExternalNetworkId, ops: &DockerOperations, h... method send_to_address (line 214) | pub async fn send_to_address( method address (line 494) | pub fn address(&self) -> ExternalAddress { FILE: tests/processor/src/tests/batch.rs function recv_batch_preprocesses (line 26) | pub(crate) async fn recv_batch_preprocesses( function sign_batch (line 84) | pub(crate) async fn sign_batch( function substrate_block (line 165) | pub(crate) async fn substrate_block( function batch_test (line 192) | fn batch_test() { FILE: tests/processor/src/tests/key_gen.rs function key_gen (line 14) | pub(crate) async fn key_gen(coordinators: &mut [Coordinator]) -> KeyPair { function key_gen_test (line 146) | fn key_gen_test() { FILE: tests/processor/src/tests/mod.rs constant COORDINATORS (line 18) | pub(crate) const COORDINATORS: usize = 4; constant THRESHOLD (line 19) | pub(crate) const THRESHOLD: usize = ((COORDINATORS * 2) / 3) + 1; function clone_without (line 21) | fn clone_without( function new_test (line 30) | fn new_test( FILE: tests/processor/src/tests/send.rs function recv_sign_preprocesses (line 23) | pub(crate) async fn recv_sign_preprocesses( function sign_tx (line 67) | pub(crate) async fn sign_tx( function send_test (line 149) | fn send_test() { FILE: tests/reproducible-runtime/src/lib.rs function reproducibly_builds (line 2) | pub fn reproducibly_builds() {