MCPcopy Create free account

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

Functions923 in github.com/256foundation/mujina

↓ 2 callersMethodslinear11_to_float
(&self, value: u16)
mujina-miner/src/peripheral/tps546.rs:1218
↓ 2 callersFunctionspawn_blink
( mut led: Box<dyn RgbLed>, color: RgbColor, phase: Duration, epoch: Instant, )
mujina-miner/src/peripheral/led/animation/blink.rs:24
↓ 2 callersFunctionspawn_breathe
( mut led: Box<dyn RgbLed>, color: RgbColor, period: Duration, epoch: Instant, )
mujina-miner/src/peripheral/led/animation/breathe.rs:29
↓ 2 callersFunctionspawn_flash
(mut led: Box<dyn RgbLed>, color: RgbColor, remaining: Duration)
mujina-miner/src/peripheral/led/animation/flash.rs:22
↓ 2 callersMethodspecificity
Calculate specificity score for this matcher type.
mujina-miner/src/board/pattern.rs:112
↓ 2 callersMethodsplit
Split this range into `n` non-overlapping sub-ranges. Each sub-range will have approximately the same size, with any remainder distributed among the
mujina-miner/src/job_source/extranonce2.rs:173
↓ 2 callersMethodstart_board
Route a board connection's parts to where they belong.
mujina-miner/src/backplane.rs:137
↓ 2 callersMethodtake_led
Cancel the current animation and return the LED.
mujina-miner/src/peripheral/led/status_led.rs:69
↓ 2 callersMethodto_difficulty
Compute the difficulty needed to achieve this share rate at the given hashrate. Convenience for `Difficulty::from_target(self.to_target(..))`.
mujina-miner/src/types/share_rate.rs:91
↓ 2 callersMethodto_target
Compute the target needed to achieve this share rate at the given hashrate. A hash is valid if hash < target. With hashes uniform over [0, 2^256), ex
mujina-miner/src/types/share_rate.rs:78
↓ 2 callersMethodto_work
Expected work per nonce at this difficulty. A nonce that passes the ASIC's difficulty filter represents this many hashes of work on average.
mujina-miner/src/asic/bm13xx/protocol.rs:310
↓ 2 callersMethodtry_open
(&mut self)
mujina-miner/src/scheduler.rs:1128
↓ 2 callersMethodupdate_task
(&mut self, new_task: HashTask)
mujina-miner/src/cpu_miner/thread.rs:142
↓ 1 callersMethodaddress
Get the register address for this register
mujina-miner/src/asic/bm13xx/protocol.rs:621
↓ 1 callersMethodallocated_hashrate
Expected hashrate allocated to one source. Degenerate today: the source gets the full aggregate. The signature takes a source so a proportional split
mujina-miner/src/scheduler.rs:254
↓ 1 callersMethodapply_gp_bits
Apply general purpose bits with validation. # Errors Returns `GpBitsExceedMask` if GP bits have any bits set outside the allowed mask.
mujina-miner/src/job_source/version.rs:166
↓ 1 callersMethodas_bytes
Get the raw bytes for testing
mujina-miner/src/asic/bm13xx/protocol.rs:462
↓ 1 callersMethodas_megahashes
Get value as megahashes per second
mujina-miner/src/types/hash_rate.rs:40
↓ 1 callersMethodas_per_minute
Get the rate as shares per minute.
mujina-miner/src/types/share_rate.rs:58
↓ 1 callersMethodassign_cached_jobs_to_thread
Assign each source's cached job to a newly-eligible thread. Called from the thread's first ExpectedHashRate report. The thread takes the full EN2 ran
mujina-miner/src/scheduler.rs:712
↓ 1 callersMethodauthorize
Authorize with the pool. Sends `mining.authorize` with username and password. Uses the message router to handle interleaved notifications.
mujina-miner/src/stratum_v1/client.rs:360
↓ 1 callersMethodbackoff_wait
Wait for the given duration, draining commands in the meantime. Returns `true` if shutdown was requested during the wait.
mujina-miner/src/job_source/stratum_v1.rs:687
↓ 1 callersFunctionbm13xx_thread_actor
Internal actor task for BM13xxThread. This runs as an independent Tokio task and handles: - Commands from scheduler (update/replace work, go idle, sh
mujina-miner/src/asic/bm13xx/thread.rs:605
↓ 1 callersFunctionbuild_device_info
Build a `UsbDeviceInfo` from an nusb `DeviceInfo`.
mujina-miner/src/transport/usb.rs:237
↓ 1 callersMethodcheck_status
Check and report status
mujina-miner/src/peripheral/tps546.rs:599
↓ 1 callersFunctioncmd_api
Make a raw API call and pretty-print the JSON response.
mujina-miner/src/bin/cli.rs:55
↓ 1 callersFunctioncmd_status
Print a summary of the current miner state.
mujina-miner/src/bin/cli.rs:69
↓ 1 callersMethodcmp
(&self, other: &Self)
mujina-miner/src/types/difficulty.rs:175
↓ 1 callersMethodcollect_hashrate_updates
Pairs every source's command sender with its current hashrate allocation. Collected up front so the caller can send without holding `&self` across aw
mujina-miner/src/scheduler.rs:314
↓ 1 callersMethodcompute_merkle_root
Compute merkle root for a specific extranonce2 value. Builds the complete coinbase transaction by concatenating parts with the given extranonce2, com
mujina-miner/src/job_source/merkle.rs:77
↓ 1 callersMethodconfigure
(&mut self)
mujina-miner/src/cpu_miner/thread.rs:128
↓ 1 callersMethodconfigure_domains
(&self, chain_length: usize, chips_per_domain: usize)
mujina-miner/src/asic/bm13xx/protocol.rs:2573
↓ 1 callersMethodconfigure_version_rolling
Configure version rolling support. Sends `mining.configure` to request version rolling capability. Must be called before subscribe. Returns the mask
mujina-miner/src/stratum_v1/client.rs:215
↓ 1 callersMethodconnect_and_run
Run a single connection attempt through its full lifecycle. Creates channels, spawns the client task, runs the event loop until disconnect or shutdow
mujina-miner/src/job_source/stratum_v1.rs:563
↓ 1 callersFunctioncrc5_is_valid
Validates data integrity using the CRC-5-USB algorithm. This function checks if the data passes CRC validation by calculating the CRC-5 and verifying
mujina-miner/src/asic/bm13xx/crc.rs:25
↓ 1 callersMethodcurrent_data_bits
Get the current data bits configuration.
mujina-miner/src/transport/serial.rs:477
↓ 1 callersMethodcurrent_parity
Get the current parity configuration.
mujina-miner/src/transport/serial.rs:487
↓ 1 callersMethodcurrent_stop_bits
Get the current stop bits configuration.
mujina-miner/src/transport/serial.rs:482
↓ 1 callersFunctiondevice_path
(device: &DeviceInfo)
mujina-miner/src/transport/usb.rs:47
↓ 1 callersFunctiondiscover_chips
( reader: &mut FramedRead<TracingReader<SerialReader>, bm13xx::FrameCodec>, writer: &mut FramedWrite<S
mujina-miner/src/board/bitaxe.rs:545
↓ 1 callersMethoddump_configuration
Dump the complete TPS546 configuration for debugging
mujina-miner/src/peripheral/tps546.rs:786
↓ 1 callersMethodeligible_thread_ids
Threads eligible for work: those that have reported an expected hashrate.
mujina-miner/src/scheduler.rs:259
↓ 1 callersMethodenable
(&mut self)
mujina-miner/src/board/bitaxe.rs:621
↓ 1 callersMethodenabled_since
When the ASIC was last taken out of reset, or `None` if it is currently in reset. Safe to call from another task.
mujina-miner/src/board/bitaxe.rs:611
↓ 1 callersMethodencode_data
Encode the register data (not the address)
mujina-miner/src/asic/bm13xx/protocol.rs:641
↓ 1 callersMethoderror
Get error details if this is an error response
mujina-miner/src/mgmt_protocol/bitaxe_raw/mod.rs:314
↓ 1 callersMethodexponent
The log2 of the difficulty (e.g., 8 for difficulty 256).
mujina-miner/src/asic/bm13xx/protocol.rs:302
↓ 1 callersMethodextend_vec
Extend a vector with the serialized bytes of this extranonce2.
mujina-miner/src/job_source/extranonce2.rs:89
↓ 1 callersMethodfind_descriptor
Find the best matching board descriptor for this USB device. Uses pattern matching with specificity scoring to select the most appropriate board hand
mujina-miner/src/backplane.rs:38
↓ 1 callersFunctionfind_emberone00
Find a connected emberOne/00 board via udev and return its control serial port path and bcdDevice, or None if no board is connected.
mujina-miner/src/board/emberone00/integration_tests.rs:14
↓ 1 callersFunctionfind_serial_ports_blocking
(device_path: &str)
mujina-miner/src/transport/usb/macos.rs:77
↓ 1 callersMethodfirmware_minor
Firmware minor version (`M` field).
mujina-miner/src/mgmt_protocol/bitaxe_raw/version.rs:35
↓ 1 callersMethodformat_time
(&self, w: &mut FmtWriter<'_>)
mujina-miner/src/tracing.rs:282
↓ 1 callersMethodget_external_temperature
Read external temperature in Celsius This is typically connected to the ASIC's temperature diode
mujina-miner/src/peripheral/emc2101.rs:216
↓ 1 callersMethodget_fan_speed
Get fan speed
mujina-miner/src/peripheral/emc2101.rs:208
↓ 1 callersMethodget_json
GET a v0 API endpoint and deserialize the JSON response.
mujina-miner/src/api_client/mod.rs:47
↓ 1 callersMethodget_miner
Fetch the current miner state snapshot.
mujina-miner/src/api_client/mod.rs:42
↓ 1 callersMethodget_power
Calculate power in milliwatts
mujina-miner/src/peripheral/tps546.rs:591
↓ 1 callersMethodget_raw
GET a v0 API endpoint and return the raw response body.
mujina-miner/src/api_client/mod.rs:66
↓ 1 callersMethodget_rpm
Get fan RPM Uses the simplified formula from esp-miner: RPM = 5400000 / TACH_count
mujina-miner/src/peripheral/emc2101.rs:277
↓ 1 callersFunctionget_serial_ports
(_device_path: &str, _expected: usize)
mujina-miner/src/transport/usb.rs:51
↓ 1 callersFunctionget_string_property
Read a string property from an IORegistry entry.
mujina-miner/src/transport/usb/macos.rs:168
↓ 1 callersMethodget_tach_count
Read TACH count (fan speed measurement) Returns raw TACH count - convert to RPM based on fan specs
mujina-miner/src/peripheral/emc2101.rs:260
↓ 1 callersMethodhandle_cpu_event
Handle CPU miner transport events.
mujina-miner/src/backplane.rs:255
↓ 1 callersMethodhandle_mining_notify
Handle mining.notify notification.
mujina-miner/src/stratum_v1/client.rs:561
↓ 1 callersMethodhandle_thread_disconnections
Detect and handle thread disconnections.
mujina-miner/src/scheduler.rs:778
↓ 1 callersMethodhandle_usb_event
Handle USB transport events.
mujina-miner/src/backplane.rs:194
↓ 1 callersMethodhashes_in
Expected number of hashes in the given duration. Returns a fractional count because this is a statistical expectation (e.g., 0.5 hashes in 100 ms at
mujina-miner/src/types/hash_rate.rs:65
↓ 1 callersMethodin_cooldown
Whether the suggest cooldown is still active at `now`.
mujina-miner/src/job_source/stratum_v1.rs:483
↓ 1 callersFunctioninit
Initialize logging. If running under systemd, use journald; otherwise fall back to stdout.
mujina-miner/src/tracing.rs:34
↓ 1 callersFunctioninit_fan_controller
(i2c: BitaxeRawI2c)
mujina-miner/src/board/bitaxe.rs:464
↓ 1 callersFunctioninit_power_controller
(i2c: BitaxeRawI2c)
mujina-miner/src/board/bitaxe.rs:474
↓ 1 callersFunctioninit_stdout
()
mujina-miner/src/tracing.rs:137
↓ 1 callersFunctionis_difficulty_too_high
Check whether job difficulty is unreasonably high for our hashrate.
mujina-miner/src/scheduler.rs:1014
↓ 1 callersMethodis_fatal
Whether this error is unrecoverable and should not be retried. Authorization failures and invalid URLs are fatal---wrong credentials and malformed ad
mujina-miner/src/stratum_v1/error.rs:64
↓ 1 callersMethodis_settled
Whether the estimate has settled enough to trust. Returns true once at least `min_samples` have been recorded in the current window. Before this poin
mujina-miner/src/types/hashrate_estimator.rs:109
↓ 1 callersMethodis_tps546_format
Check if this is TPS546D24A format (REL bit + restricted mode)
mujina-miner/src/peripheral/pmbus/pmbus_types.rs:52
↓ 1 callersMethodleading_zeros
Number of leading zero bits.
mujina-miner/src/u256.rs:72
↓ 1 callersMethodlog_summary
(&self, hashrate: HashRate)
mujina-miner/src/scheduler.rs:1152
↓ 1 callersFunctionmonitor
Enumerate existing devices, then watch for hotplug events. The `hotplug` watch is created before enumeration begins so that devices connected during
mujina-miner/src/transport/usb.rs:144
↓ 1 callersMethodname
(&self)
mujina-miner/src/cpu_miner/thread.rs:120
↓ 1 callersMethodnext_id
Get next message ID and increment counter.
mujina-miner/src/stratum_v1/client.rs:129
↓ 1 callersMethodof
Calculate this percentage of a value
mujina-miner/src/peripheral/emc2101.rs:43
↓ 1 callersFunctionparent_has_location_id
Check whether any parent of `entry` has the given IOKit location ID. Uses IORegistryEntrySearchCFProperty to find the nearest ancestor with a locatio
mujina-miner/src/transport/usb/macos.rs:140
↓ 1 callersFunctionparse_merkle_node
Parse a merkle node from Stratum hex string.
mujina-miner/src/stratum_v1/messages.rs:255
↓ 1 callersMethodpoll_flush
(self: Pin<&mut Self>, _cx: &mut Context<'_>)
mujina-miner/src/transport/serial.rs:408
↓ 1 callersMethodread_block
(&mut self, command: PmbusCommand, length: usize)
mujina-miner/src/peripheral/tps546.rs:1196
↓ 1 callersMethodread_local
Read the local (on-die) temperature.
mujina-miner/src/peripheral/tmp451.rs:106
↓ 1 callersMethodread_remote
Read the remote (external diode) temperature. Returns `Error::RemoteDiodeOpen` if the diode is disconnected or faulted.
mujina-miner/src/peripheral/tmp451.rs:116
↓ 1 callersFunctionreboot
Reboot the board. Sends a reboot command and returns immediately without waiting for a response; the firmware resets before it can reply. The host ca
mujina-miner/src/mgmt_protocol/bitaxe_raw/system.rs:13
↓ 1 callersMethodreplace_task
(&mut self, new_task: HashTask)
mujina-miner/src/cpu_miner/thread.rs:157
↓ 1 callersMethodreset
Reset to the beginning of the range.
mujina-miner/src/job_source/extranonce2.rs:232
↓ 1 callersMethodreset_stats
Reset the statistics counters to zero.
mujina-miner/src/transport/serial.rs:516
↓ 1 callersFunctionresponse_format
Select response format based on firmware version. Firmware minor >= 1 uses v1 response format with explicit status byte. Older firmware uses v0.
mujina-miner/src/board/emberone00.rs:76
↓ 1 callersMethodresume
(self: Box<Self>, led: Box<dyn RgbLed>)
mujina-miner/src/peripheral/led/animation/flash.rs:55
↓ 1 callersMethodresume
(self: Box<Self>, led: Box<dyn RgbLed>)
mujina-miner/src/peripheral/led/animation/off.rs:33
↓ 1 callersFunctionroutes
Build the v0 API routes with OpenAPI metadata.
mujina-miner/src/api/v0.rs:23
↓ 1 callersMethodrun
Main scheduler loop.
mujina-miner/src/scheduler.rs:834
↓ 1 callersMethodrun
Connect to the pool and run the client. Establishes a TCP connection then delegates to [`run_with_transport`](Self::run_with_transport).
mujina-miner/src/stratum_v1/client.rs:653
↓ 1 callersFunctionrun_mining_loop
Run the CPU mining loop. This function runs in a dedicated `std::thread`. It receives commands via an `mpsc` channel and hashes using the current tas
mujina-miner/src/cpu_miner/hasher.rs:77
← previousnext →201–300 of 923, ranked by callers