Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

SettlementEngine::create_batch

cre8_app_compute::settlement::SettlementEngine::create_batch

method · cre8-app-compute · crates/cre8-app-compute/src/settlement.rs:422 pub documented

30lines
3cyclomatic
1max nesting
11statements
0? exits
1params
3callers
3callees
1.8 (p94)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (3 direct callers, 3 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

method · 1 sitemethod · 1 sitemethod · 1 sitemethod · 1 sitemethod · 1 sitemethod · 2 sitesmethod · 1 sitemethod · 1 sitemethod · 1 sitemethod · 1 siteself · 1 sitemethod · 1 sitemethod · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 siteref · 1 sitename · 1 sitename · 2 sitesref · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 2 sitespersist_new_batchapp-compute · cc 3cre8_app_compute::settlement_loop::persist_new_batchtest_recover_pending_queues…app-compute · cc 1cre8_app_compute::settlement::tests::test_recover_pending_queues_for_batch_without_submittest_create_batch_builds_me…app-compute · cc 3cre8_app_compute::settlement::tests::test_create_batch_builds_merkle_treetest_merkle_proof_verifiesapp-compute · cc 3cre8_app_compute::settlement::tests::test_merkle_proof_verifiestest_merkle_proof_rejects_w…app-compute · cc 2cre8_app_compute::settlement::tests::test_merkle_proof_rejects_wrong_leaftest_batch_size_limitsapp-compute · cc 2cre8_app_compute::settlement::tests::test_batch_size_limitsbatch_ids_name_the_attestat…app-compute · cc 2cre8_app_compute::settlement::tests::batch_ids_name_the_attestation_set_not_a_process_counterrecord_submission_keeps_the…app-compute · cc 1cre8_app_compute::settlement::tests::record_submission_keeps_the_batch_unsettledtest_mark_settledapp-compute · cc 1cre8_app_compute::settlement::tests::test_mark_settledtest_settlement_statsapp-compute · cc 3cre8_app_compute::settlement::tests::test_settlement_statsSettlementEngine::create_an…app-compute · cc 3cre8_app_compute::settlement::SettlementEngine::create_and_store_batchtest_empty_batch_returns_no…app-compute · cc 1cre8_app_compute::settlement::tests::test_empty_batch_returns_nonetest_zero_batch_config_does…app-compute · cc 1cre8_app_compute::settlement::tests::test_zero_batch_config_does_not_create_empty_batchesSettlementEngine::create_ba…app-compute · cc 3cre8_app_compute::settlement::SettlementEngine::create_batchnow_unixapp-compute · cc 1cre8_app_compute::settlement::now_unixbuild_dual_merkle_treeapp-compute · cc 1cre8_app_compute::settlement::build_dual_merkle_treebatch_id_for_rootapp-compute · cc 1cre8_app_compute::settlement::batch_id_for_rootnow_secsplatform-time · cc 1cre8_platform_time::now_secshex_encodeutil-crypto · cc 1cre8_util_crypto::hex_encodehash_attestationapp-compute · cc 1cre8_app_compute::settlement::hash_attestationhash_attestation_keccakapp-compute · cc 1cre8_app_compute::settlement::hash_attestation_keccakbuild_merkle_treeapp-compute · cc 6cre8_app_compute::settlement::build_merkle_treemerkle_proofapp-compute · cc 3cre8_app_compute::settlement::merkle_proofbuild_keccak_merkle_treeapp-compute · cc 3cre8_app_compute::settlement::build_keccak_merkle_tree

Control flow

Source not readable from this process.

Callees 3

Source not readable from this process.