MCPcopy Create free account

hub / github.com/256foundation/mujina / functions

Functions923 in github.com/256foundation/mujina

↓ 1 callersMethodrun_monitor
( mut self, telemetry_tx: watch::Sender<BoardTelemetry>, cancel: CancellationToken,
mujina-miner/src/board/bitaxe.rs:252
↓ 1 callersFunctionsend_hashrate_updates
Sends each source its hashrate allocation. Takes pre-collected (sender, hashrate) pairs to avoid capturing Scheduler across await points (it contains
mujina-miner/src/scheduler.rs:994
↓ 1 callersFunctionserve
Start the API server. This function starts the HTTP API server and runs until the provided cancellation token is triggered. It binds to localhost onl
mujina-miner/src/api/server.rs:62
↓ 1 callersMethodset
(&mut self, color: RgbColor, brightness: f32)
mujina-miner/src/peripheral/led/animation/flash.rs:78
↓ 1 callersMethodset
(&mut self, color: RgbColor, brightness: f32)
mujina-miner/src/peripheral/led/animation/breathe.rs:129
↓ 1 callersMethodset_frequency
(&mut self, hz: u32)
mujina-miner/src/mgmt_protocol/bitaxe_raw/i2c.rs:90
↓ 1 callersMethodset_remote_offset
Set the remote temperature offset (high byte, 1 C/LSB). The offset is added to every remote ADC conversion result. Use a negative value to reduce a r
mujina-miner/src/peripheral/tmp451.rs:131
↓ 1 callersMethodshutdown
(&mut self)
mujina-miner/src/board/emberone00.rs:259
↓ 1 callersMethodshutdown
Signal the mining thread to shut down.
mujina-miner/src/cpu_miner/thread.rs:106
↓ 1 callersMethodshutdown_all_boards
Shutdown all boards managed by this backplane.
mujina-miner/src/backplane.rs:121
↓ 1 callersMethodsize
Get the size in bytes.
mujina-miner/src/job_source/extranonce2.rs:75
↓ 1 callersMethodsize_hint
(&self)
mujina-miner/src/job_source/extranonce2.rs:249
↓ 1 callersMethodslinear11_to_int
(&self, value: u16)
mujina-miner/src/peripheral/tps546.rs:1222
↓ 1 callersFunctionspawn_monitor
Spawn a task that periodically reads sensors and publishes telemetry.
mujina-miner/src/board/emberone00.rs:179
↓ 1 callersMethodstart_discovery
Start discovery and monitoring. Creates the hotplug watch synchronously so setup errors propagate to the caller, then spawns an async task for enumer
mujina-miner/src/transport/usb.rs:123
↓ 1 callersFunctionstderr_is_journal_stream
Check if stderr is connected to systemd journal by validating JOURNAL_STREAM. Per systemd documentation, programs should parse the device and inode n
mujina-miner/src/tracing.rs:95
↓ 1 callersMethodsubscribe
Subscribe to mining notifications. Sends `mining.subscribe` and waits for response containing extranonce1 and extranonce2_size. Uses the message rout
mujina-miner/src/stratum_v1/client.rs:295
↓ 1 callersMethodsuggest_difficulty
Suggest a difficulty to the pool. Sends `mining.suggest_difficulty` as a JSON-RPC request (with id) rather than a notification. Semantically this is
mujina-miner/src/stratum_v1/client.rs:410
↓ 1 callersMethodtake_event_receiver
(&mut self)
mujina-miner/src/cpu_miner/thread.rs:184
↓ 1 callersMethodtarget
Get the target difficulty as a Target type.
mujina-miner/src/job_source/job.rs:49
↓ 1 callersFunctiontask
Run the scheduler task, receiving hash threads and job sources.
mujina-miner/src/scheduler.rs:1024
↓ 1 callersFunctiontask_to_job_full
Convert HashTask to JobFullFormat for chip hardware. Extracts or computes the merkle root, then builds a JobFullFormat with all block header fields.
mujina-miner/src/asic/bm13xx/thread.rs:502
↓ 1 callersMethodto_human_readable
Format as human-readable string with appropriate units
mujina-miner/src/types/hash_rate.rs:70
↓ 1 callersFunctiontry_init
If running under systemd journal, install a journald subscriber and return `true`. Otherwise return `false`.
mujina-miner/src/tracing.rs:69
↓ 1 callersMethodverify_device_id
Verify the device ID
mujina-miner/src/peripheral/tps546.rs:465
↓ 1 callersFunctionwrap
Wrap `text` into `indent`-prefixed lines no wider than `width`, breaking on spaces. Words longer than the available width are kept whole rather than s
mujina-miner/src/env_help.rs:40
↓ 1 callersMethodwrite_byte
(&mut self, reg: Register, value: u8)
mujina-miner/src/peripheral/tmp451.rs:145
↓ 1 callersMethodwrite_config
Write all configuration parameters from the config struct
mujina-miner/src/peripheral/tps546.rs:208
Functionactive_does_not_retrigger_after_another_window
()
mujina-miner/src/types/debounced_alarm.rs:203
Functionadd
()
mujina-miner/src/types/hash_rate.rs:145
Methodadd
(self, rhs: Self)
mujina-miner/src/types/hash_rate.rs:104
Methodadd_assign
(&mut self, rhs: Self)
mujina-miner/src/u256.rs:182
Functionall_samples_expired
()
mujina-miner/src/types/hashrate_estimator.rs:224
Methodas_degrees_c
Temperature in degrees Celsius.
mujina-miner/src/peripheral/tmp1075.rs:60
Methodas_degrees_c
Temperature in degrees Celsius.
mujina-miner/src/peripheral/tmp451.rs:77
Methodas_gigahashes
Get value as gigahashes per second
mujina-miner/src/types/hash_rate.rs:45
Functionas_hex
(bytes: &[u8])
mujina-miner/src/asic/bm13xx/protocol.rs:1772
Methodas_per_second
Get the rate as shares per second.
mujina-miner/src/types/share_rate.rs:53
Methodas_terahashes
Get value as terahashes per second
mujina-miner/src/types/hash_rate.rs:50
Methodassign_job_to_threads
Assign or replace work on all threads from a job template.
mujina-miner/src/scheduler.rs:385
Functionbackoff_caps_at_max
()
mujina-miner/src/job_source/stratum_v1.rs:1470
Functionbackoff_doubles_each_step
()
mujina-miner/src/job_source/stratum_v1.rs:1450
Functionbackoff_escalates_across_disconnects
()
mujina-miner/src/job_source/stratum_v1.rs:1665
Functionbackoff_reset_restores_initial
()
mujina-miner/src/job_source/stratum_v1.rs:1486
Functionbits_bytes
Get bits bytes
mujina-miner/src/job_source/test_blocks.rs:129
Functionboard_by_name_returns_404_when_missing
()
mujina-miner/src/api/server.rs:277
Functionboard_by_name_returns_match
()
mujina-miner/src/api/server.rs:259
Functionboards_returns_list
()
mujina-miner/src/api/server.rs:234
Functionbreathe_brightness_wraps_out_of_range
()
mujina-miner/src/peripheral/led/animation/breathe.rs:151
Functionbreathe_curve_at_known_points
()
mujina-miner/src/peripheral/led/animation/breathe.rs:136
Functionbrightness_scaling
()
mujina-miner/src/mgmt_protocol/bitaxe_raw/led.rs:66
Methodbuild_flags
(typ: CommandFlagsType, broadcast: bool, cmd: CommandFlagsCmd)
mujina-miner/src/asic/bm13xx/protocol.rs:857
Functioncalculate
(frame: &[u8])
mujina-miner/src/asic/bm13xx/crc.rs:84
Methodcapabilities
(&self)
mujina-miner/src/asic/bm13xx/thread.rs:176
Methodcapabilities
(&self)
mujina-miner/src/cpu_miner/thread.rs:124
Functioncapacity_enforced
()
mujina-miner/src/types/hashrate_estimator.rs:279
Functionchain_inactive_from_capture
()
mujina-miner/src/asic/bm13xx/protocol.rs:1552
Functionchannel_applies_brightness
()
mujina-miner/src/peripheral/led/calibrated.rs:112
Functionchannel_identity
()
mujina-miner/src/peripheral/led/calibrated.rs:98
Functionchannel_scales_linearly
()
mujina-miner/src/peripheral/led/calibrated.rs:105
Methodcompute_scheduler_target
Compute the per-thread scheduler target for HashTask. Clamps the source's pool difficulty between a measurement floor (1 share/sec) and a flood ceili
mujina-miner/src/scheduler.rs:299
Methodcompute_suggested_difficulty
Compute the suggested difficulty for the given hashrate. Returns `None` for zero hashrate (nothing to suggest yet). The value is fractional below 1,
mujina-miner/src/job_source/stratum_v1.rs:404
Methodconfigure
(&mut self)
mujina-miner/src/asic/bm13xx/thread.rs:180
Methodconnect
Connect to a Stratum pool. Parses the URL, establishes TCP connection, and wraps it in a buffered connection. Supports both `stratum+tcp://` and plai
mujina-miner/src/stratum_v1/connection.rs:65
Methodconnect
(&mut self)
mujina-miner/src/job_source/stratum_v1.rs:735
Methodcore_count
Get expected hash engine count for this chip type, if known
mujina-miner/src/asic/bm13xx/protocol.rs:192
Functioncrc16_matches_esp_miner_job
()
mujina-miner/src/asic/bm13xx/crc.rs:96
Functioncreate_cpu_board
()
mujina-miner/src/board/cpu.rs:24
Functioncreate_from_usb
(device: UsbDeviceInfo)
mujina-miner/src/board/emberone00.rs:84
Functioncreate_from_usb
Create a Bitaxe board from USB device info.
mujina-miner/src/board/bitaxe.rs:75
Methodcurrent
Get the current value without advancing.
mujina-miner/src/job_source/extranonce2.rs:227
Methodcurrent_config
Get the current serial port configuration.
mujina-miner/src/transport/serial.rs:497
Methoddecode
(&mut self, src: &mut BytesMut)
mujina-miner/src/mgmt_protocol/bitaxe_raw/mod.rs:338
Methoddecode_capability
(value: u8)
mujina-miner/src/peripheral/pmbus.rs:851
Methoddecode_compensation_config
(data: &[u8])
mujina-miner/src/peripheral/pmbus.rs:924
Methoddecode_device_id
(data: &[u8])
mujina-miner/src/peripheral/pmbus.rs:768
Methoddecode_fault_response
(response: u8)
mujina-miner/src/peripheral/pmbus.rs:709
Methoddecode_interleave
(value: u16)
mujina-miner/src/peripheral/pmbus.rs:894
Functiondecode_multiple_nonce_responses
()
mujina-miner/src/asic/bm13xx/protocol.rs:1921
Functiondecode_nonce_response_from_capture
()
mujina-miner/src/asic/bm13xx/protocol.rs:1886
Functiondecode_nonce_response_from_esp_miner_capture
()
mujina-miner/src/asic/bm13xx/protocol.rs:2223
Methoddecode_on_off_config
(value: u8)
mujina-miner/src/peripheral/pmbus.rs:757
Methoddecode_operation
(value: u8)
mujina-miner/src/peripheral/pmbus.rs:744
Methoddecode_page
(value: u8)
mujina-miner/src/peripheral/pmbus.rs:811
Methoddecode_phase
(value: u8)
mujina-miner/src/peripheral/pmbus.rs:803
Methoddecode_pin_detect_override
(value: u16)
mujina-miner/src/peripheral/pmbus.rs:943
Methoddecode_stack_config
(value: u16)
mujina-miner/src/peripheral/pmbus.rs:881
Methoddecode_status_cml
(status: u8)
mujina-miner/src/peripheral/pmbus.rs:696
Methoddecode_status_input
(status: u8)
mujina-miner/src/peripheral/pmbus.rs:672
Methoddecode_status_iout
(status: u8)
mujina-miner/src/peripheral/pmbus.rs:658
Methoddecode_status_temp
(status: u8)
mujina-miner/src/peripheral/pmbus.rs:686
Methoddecode_status_vout
(status: u8)
mujina-miner/src/peripheral/pmbus.rs:645
Methoddecode_status_word
(status: u16)
mujina-miner/src/peripheral/pmbus.rs:619
Methoddecode_sync_config
(value: u8)
mujina-miner/src/peripheral/pmbus.rs:905
Methoddecode_vout_mode
(value: u8)
mujina-miner/src/peripheral/pmbus.rs:819
Functiondecoder_finds_frame_after_garbage
()
mujina-miner/src/asic/bm13xx/protocol.rs:2015
Functiondecoder_handles_back_to_back_frames
()
mujina-miner/src/asic/bm13xx/protocol.rs:2077
Functiondecoder_handles_corrupted_crc
()
mujina-miner/src/asic/bm13xx/protocol.rs:1996
Functiondecoder_handles_false_start
()
mujina-miner/src/asic/bm13xx/protocol.rs:2037
Functiondecoder_handles_mid_frame_start
()
mujina-miner/src/asic/bm13xx/protocol.rs:2161
← previousnext →301–400 of 923, ranked by callers