1 viewer
rust 1,854,448 · typescript 233,181 · javascript 132,491 · python 19,572 · 6,381 files · digest 17250db9be6a · built in 2.2 s · crystals off
crates/cre8-runtime-kernel/src/context.rs
Items
type SharedProtocolStore enum EngineType enum ProofDepth struct BuildConfig struct ProtocolDescriptor const DEFAULT_NETWORK_ID static BROWSER_ID_COUNTER struct RuntimeContext impl RuntimeContext struct MockTruth impl RuntimeTruthInterface for MockTruth
Functions
By call-graph weight (PageRank; 1.0 is the average function). 17 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| browser_hash_hexsrc/context.rs:150 | fn | 5 | 1 | 4 | 1 | 2.1 | |
| RuntimeContext::newsrc/context.rs:79 | method | 36 | 1 | 8 | 6 | 1.7 | |
| generated_browser_peer_idsrc/context.rs:170 | fn | 11 | 2 | 2 | 1 | 1.2 | |
| runtime_entropy_noncesrc/context.rs:156 | fn | 3 | 1 | 3 | 1 | 1.1 | |
| runtime_unix_nanossrc/context.rs:160 | fn | 3 | 1 | 2 | 1 | 0.9 | |
| MockTruth::exec_sqlsrc/context.rs:206 | trait impl | 3 | 1 | 5 | 0 | 0.8 | |
| MockTruth::query_sqlsrc/context.rs:210 | trait impl | 3 | 1 | 5 | 0 | 0.8 | |
| MockTruth::backend_metadata_jsonsrc/context.rs:214 | trait impl | 3 | 1 | 5 | 0 | 0.8 | |
| generated_browser_peer_seedsrc/context.rs:164 | fn | 5 | 1 | 1 | 3 | 0.7 | |
| read_identity_envsrc/context.rs:182 | fn | 11 | 1 | 1 | 3 | 0.7 | |
| RuntimeContext::fork_sharedsrc/context.rs:116 | method | 20 | 1 | 1 | 0 | 0.6 | |
| RuntimeContext::emit_receiptsrc/context.rs:137 | method | 5 | 2 | 1 | 0 | 0.6 | |
| RuntimeContext::drain_pending_receiptssrc/context.rs:143 | method | 3 | 1 | 1 | 0 | 0.6 | |
| MockTruth::namesrc/context.rs:202 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| new_context_seeds_runtime_identity_and_servicessrc/context.rs:220 | fn | 19 | 1 | 0 | 4 | 0.5 | |
| fork_shared_reuses_shared_state_but_starts_fresh_receiptssrc/context.rs:241 | fn | 33 | 1 | 0 | 5 | 0.5 | |
| generated_peer_id_uses_net_slug_for_empty_networksrc/context.rs:276 | fn | 6 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.